[Webkit-unassigned] [Bug 97005] New: [Qt] force_static_libs_as_shared build is broken with older gold linker

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 18 06:03:34 PDT 2012


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

           Summary: [Qt] force_static_libs_as_shared build is broken with
                    older gold linker
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: Qt, QtTriaged
          Severity: Critical
          Priority: P1
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ossy at webkit.org
                CC: hausmann at webkit.org, vestbo at webkit.org


After https://trac.webkit.org/changeset/128617 and https://trac.webkit.org/changeset/128619
force_static_libs_as_shared became the default build configuration.

Unfortunately older gold linkers are buggy, and this configuration is broken on 
Debian 6.0 (Squeeze - latest stable), gold linker dies with the following error:

/usr/bin/gold: fatal error: out of file descriptors and couldn't close any
collect2: ld returned 1 exit status
make[3]: *** [../../lib/libWebCore.so.1.0.0] Error 1
make[3]: Leaving directory `/home/oszi/WebKit/WebKitBuild/Release/Source/WebCore'

I tried to disable using gold linker and the build works fine with it.

$ ld.gold -v
GNU gold (GNU Binutils for Debian 2.20.1-system.20100303) 1.9

$ ld -v
GNU ld (GNU Binutils for Debian) 2.20.1-system.20100303

-- 
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