[Webkit-unassigned] [Bug 97009] New: [Qt] Gold linker isn't used on Ubuntu
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 18 06:19:06 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=97009
Summary: [Qt] Gold linker isn't used on Ubuntu
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Keywords: Qt, QtTriaged
Severity: Normal
Priority: P2
Component: New Bugs
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: ossy at webkit.org
CC: hausmann at webkit.org, vestbo at webkit.org,
zarvai at inf.u-szeged.hu
Tools/qmake/mkspecs/features/unix/default_post.prf:
----------------------------------------------------
!scratchbox:!mac:exists(/usr/bin/ld.gold) {
# Upstream gcc 4.7 does not support the -fuse-ld=gold option ( see: http://sourceware.org/ml/binutils/2011-01/msg00178.html )
isEqual(QT_GCC_MAJOR_VERSION, 4):lessThan(QT_GCC_MINOR_VERSION, 7):QMAKE_LFLAGS += -fuse-ld=gold
}
It seems -fuse-ld=gold doesn't work on Ubuntu 11.10 (maybe other distros and other Ubuntus have same problem)
http://manpages.ubuntu.com/manpages/oneiric/man1/arm-linux-gnueabi-gcc-4.4.1.html
----------------------------------------------------------------------------------
-fuse-ld=gold
Use the gold linker instead of the default linker. This option is
only necessary if GCC has been configured with --enable-gold=both
or --enable-gold=both/ld. Note: Backported for Debian/Ubuntu from
GCC 4.5.
-fuse-ld=bfd
Use the ld.bfd linker instead of the default linker. This option
is only necessary if GCC has been configured with
--enable-gold=both/gold. Note: Backported for Debian/Ubuntu from
GCC 4.5.
But the manualt of gcc doesn't contain this options - http://manpages.ubuntu.com/manpages/oneiric/man1/gcc-4.6.1.html
It seems Ubuntu's GCC doesn't build with this option, so -fuse-ld=gold won't work at all,
we need better way to force using gold linker.
--
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