[Buildroot] [PATCH v1] qt5base: disable gold linker

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Feb 11 14:32:32 UTC 2015

Dear Peter Seiderer,

On Wed, 11 Feb 2015 07:47:11 +0100, Peter Seiderer wrote:
> Fixes [1],[2]:
> powerpc-ctng_e500v2-linux-gnuspe-g++: error: unrecognized command line option '-fuse-ld=gold'
> Makefile:1192: recipe for target '../../lib/libQt5Core.so.5.4.0' failed

The Qt configure script has some logic to detect whether the compiler
supports -fuse-ld=gold or not. Do you know why this logic is not
properly working, and not detecting that this specific compiler doesn't
support this?

Disabling unconditionally this feature is maybe OK, but I'd like to
understand why the configure script logic to auto-detect this is not


Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering

More information about the buildroot mailing list