[Webkit-unassigned] [Bug 140384] New: The debug build of WebCore static archive is too large

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 13 00:48:40 PST 2015


            Bug ID: 140384
           Summary: The debug build of WebCore static archive is too large
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: PC
                OS: Other
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: lantw44 at gmail.com

I tried to build WebKit using the command `./Tools/Scripts/build-webkit --gtk --debug', but it failed with linking error:
../../lib/libWebCoreGTK.a: could not read symbols: Malformed archive

The size of the file `libWebCoreGTK.a' is 6.3 GiB on FreeBSD, but the file format of GNU ar uses 32-bit interger to store the position of objects, which can only support 4 GiB. There is no problem on GNU/Linux because GNU ar supports thin archive, so the size of archives is smaller than 100 MiB. However, we uses ar from elftoolchain on FreeBSD, which does not support thin archive, causing the file to grow over 4 GiB and generate a wrong symbol table.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150113/dce4e17d/attachment-0002.html>

More information about the webkit-unassigned mailing list