[Webkit-unassigned] [Bug 91154] New: libWebCore.a: could not read symbols: Malformed archive while linking WebKitPluginProcess

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 12 15:23:40 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=91154

           Summary: libWebCore.a: could not read symbols: Malformed
                    archive while linking WebKitPluginProcess
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: prahal at yahoo.com


Created an attachment (id=152079)
 --> (https://bugs.webkit.org/attachment.cgi?id=152079&action=review)
split libWebCore into two archives to avoid the 4G ar format limit

I have (on debian sid that is binutils >= 2.22 but issue should apply before those releases too)
the same bug as on :
https://bugzilla.redhat.com/show_bug.cgi?id=835957
ie libWebCore.a: could not read symbols: Malformed archive while linking WebKitPluginProcess

comment 13:
"Nick Clifton 2012-07-03 11:17:15 EDT
Hi Jakub,

(In reply to comment #10)
> Isn't the ar format limitation 9.3GiB file size inside of the ar archive
> (above that it won't fit into 10 decimal digits reserved in the file header)?

There is also a 32-bit limit on the size of file offsets in symbol table at the start of the archive (if it has one).  This was the problem - the linker uses these file offsets to locate individual archive members and since these had been truncated when the archive symbol table was created, the linker failed to find the archive members that it wanted."

As libWebCore.a built with flags "-g -02" is 4.4G it goes beyond this limit.

I made a quick sample of how it could get fixed in attached patch (split libWebCore.a into libWebCoreA.a and libWebCoreB.a)
It is not ready to apply (the split is approximate , there is no changelog entry). It is there to open the discussion.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list