[Buildroot] [PATCH v1] qt5base: disable gold linker
thomas.petazzoni at free-electrons.com
Sat Feb 14 07:58:13 UTC 2015
Dear Peter Korsgaard,
On Thu, 12 Feb 2015 11:03:56 +0100, Peter Korsgaard wrote:
> The problem is that the configure script is confused. While this is
> related to linking, -fuse-ld=gold is an argument to the compiler driver
> to tell it what linker to execute, NOT an option to tell the linker to
> behave differently. So it shouldn't get prefixed with -Wl when passed
> though the compiler driver.
> Qt does the right thing when it uses it, but the configure script does:
> if linkerSupportsFlag $TEST_COMPILER -fuse-ld=gold; then
> This should be compilerSupportsFlag instead.
> I'll create a patch and apply / send upstream.
Thanks. In the mean time, I've marked the original patch from Peter
Seiderer as Rejected in patchwork.
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
More information about the buildroot