WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
97005
[Qt] force_static_libs_as_shared build is broken with older gold linker
https://bugs.webkit.org/show_bug.cgi?id=97005
Summary
[Qt] force_static_libs_as_shared build is broken with older gold linker
Csaba Osztrogonác
Reported
2012-09-18 06:04:03 PDT
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
Comment 1
2012-09-18 06:42:51 PDT
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
Comment 2
2014-02-03 03:22:48 PST
=== 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.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug