Bug 97005
Summary: | [Qt] force_static_libs_as_shared build is broken with older gold linker | ||
---|---|---|---|
Product: | WebKit | Reporter: | Csaba Osztrogonác <ossy> |
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Critical | CC: | hausmann, ossy, vestbo |
Priority: | P1 | Keywords: | Qt, QtTriaged |
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All |
Csaba Osztrogonác
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
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Csaba Osztrogonác
I tried Ubuntu 11.10's gold linker, and it works fine without any problem.
$ ld -v
GNU gold (GNU Binutils for Ubuntu 2.21.53.20110810) 1.11
Is it possible to detect the version of the gold linker, and report warning or
error if its version is old and force_static_libs_as_shared is added to config?
(a simple mutual exclusion for force_static_libs_as_shared and old gold linker)
Jocelyn Turcotte
=== Bulk closing of Qt bugs ===
If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary.
If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.