On 04/27/2012 02:53 PM, Eric Bénard wrote:
Hi Ken,

Le Fri, 27 Apr 2012 12:59:17 +0200,
Ken Werner<ken.wer...@linaro.org>  a écrit :

This change introduces two new patches to Qt 4.8. One prevents the build
system from using the -fuse-ld=gold GCC flag as this isn't upstream and
therefore not supported by many toolchains out there. The second patch

ld-is-gold is a DISTRO_FEATURES wich enables gold (and thus reduce link
time especially in qt's build) : has this patch an effect on the
possibility to still use gold ?

Eric

No, the patch doesn't prevent the toolchain from linking using gold. Upstream GCC+binutils supports either gold or the classic ld - a decision you make at the configure time of your toolchain. However, Debian and Ubuntu have patched their toolchains to allow the user to pick the desired linker using the -fuse-ld option. Technically what they do is a patch to the binutils which installs both the ld.bfd and ls.gold plus a symlink that selects the default linker. And a GCC patch that changes collect2 to support the -fuse-ld switch.

Regards,
Ken

_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to