[Webkit-unassigned] [Bug 146681] New: Bring back the GNU ar check to create thin archives on non-Linux systems

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 7 06:30:56 PDT 2015


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

            Bug ID: 146681
           Summary: Bring back the GNU ar check to create thin archives on
                    non-Linux systems
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Platform
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: lantw44 at gmail.com

We used 'ar -V' to check whether we are using GNU ar and add the T (thin archive) flag if GNU ar is used when we still had autotools build. It was added in https://bugs.webkit.org/show_bug.cgi?id=128596. However, autotools build was removed, and we use '${CMAKE_SYSTEM_NAME} STREQUAL "Linux"' to do the GNU ar check instead in cmake build, which means all non-Linux systems cannot use GNU ar thin archive feature.

This means getting debug build of WebKit on *BSD or other non-Linux systems can be hard because WebCore static archive can be larger than 4 GiB and cause error: https://bugs.webkit.org/show_bug.cgi?id=140384. GNU ar thin archive feature is really needed to prevent the error.

After applying the attached patch and modifying some environment variables, I can get a debug build of WebKitGTK+ on FreeBSD now.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150707/11e6ac80/attachment.html>


More information about the webkit-unassigned mailing list