Bug 915411
Summary: | libWebCoreInternals.a: could not read symbols: No more archived files | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dan Horák <dan> | ||||
Component: | binutils | Assignee: | Nick Clifton <nickc> | ||||
Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 19 | CC: | jakub, nickc | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | s390x | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-02-18 13:50:44 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 467765 | ||||||
Attachments: |
|
Description
Dan Horák
2013-02-25 17:15:41 UTC
libWebCoreInternals.a library is surprisingly small, cca 70 KB, couldn't an 4GB overflow happen? Couldn't bug 835957 re-appear in some other form? Hi Dan, Please could you upload a copy of libWebCoreInternals.a for me ? Thanks. Cheers Nick Created attachment 702484 [details]
libWebCoreInternals.a
Hi Dan, Ah - this is a "thin" archive. Ie it does not contain the object files themselves. Instead it just contains the pathnames of the object files (relative to the archive) and a symbol table of their exported symbols. So, no, this is not a recurrence of 835957. The archive does appear to be corrupt however. Runnning "readelf -c" on it shows: Index of archive libWebCoreInternals.a: (0 entries, 0x123bc bytes in the symbol table) readelf: Error: libWebCoreInternals.a: symbols remain in the index symbol table, but without corresponding entries in the index table This *might* be an occurrence of PR 15140: http://sourceware.org/bugzilla/show_bug.cgi?id=15140 How is libWebCoreInternals.a built ? Is it just one ar command line, or is it built up with multiple invocations of ar ? If the latter, then the problem might be that sometimes the "t" ar option is being used and sometimes it is not. (This was the problem underlying PR 15140). Cheers Nick Hi Dan, Stop press - I was using an old version of readelf. The latest version tells me: ./readelf -c libWebCoreInternals.a Index of archive libWebCoreInternals.a: (870 entries, 0x10888 bytes in the symbol table) readelf: Error: libWebCoreInternals.a: failed to read archive header _ZNK7WebCore9InlineBox11isLineBreakEv _ZNK7WebCore9InlineBox15isInlineFlowBoxEv _ZNK7WebCore9InlineBox15isInlineTextBoxEv [...] And this carries on for a while. So the symbol table appears to be intact. I suspect, given the linker error message, that the problem might be that one of the object files referenced by libWebCoreInternals.a has been deleted or moved, so that it can no longer be found. Is this a possible scenario ? If you run "readelf -h libWebCoreInernals.a" for example, do you get to see the headers of all of the archive members or does readelf complain about some missing files ? Cheers Nick Hi Nick, I don't see any error when doing "readelf -h libWebCoreInternals.a". I can give you access to the whole chroot with the build so you can easily inspect the files yourself. Just ping me (dhorak) on #tools IRC if you are interested. Hi Nick, I have moved the chroot to /var/lib/mock/fedora-19-s390x.webkit/root so it doesn't clash with mock chroots I or other devels will create on the machine. Is there anything I can help you with? It's important for me to get webkit built as it blocks 1000s of other packages in the F-19 mass rebuild on s390. Hi Dan, Right - so the situation is this: Thin archives are broken on targets which also use 64-bit archives. (Ie s390, MIPS, IA64). The workaround is to just use ordinary archives not thin one. The bug itself is in the ar program when it creates the index table for the archive. For 64-bit archives it always assumes that a "fat" archive is being created and so all but the first index are off by huge amounts. I have an experimental patch to fix this problem which will be in binutils-2.23.52.0.1-2.fc19, once it has been built. Cheers Nick This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle. Changing version to '19'. (As we did not run this process for some time, it could affect also pre-Fedora 19 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19 This message is a notice that Fedora 19 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 19. It is Fedora's policy to close all bug reports from releases that are no longer maintained. Approximately 4 (four) weeks from now this bug will be closed as EOL if it remains open with a Fedora 'version' of '19'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 19 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |