[OE-core] [PATCH] matchbox-keyboard: Fix build failure with ld-is-gold
Phil Blundell
pb at pbcl.net
Fri Sep 11 14:51:17 UTC 2015
On Fri, 2015-09-11 at 14:49 +0200, Carlos Alberto Lopez Perez wrote:
> * When ld-is-gold is enabled in DISTRO_FEATURES, matchbox-keyboard
> will fail to build with this error:
>
> ld: error: matchbox-keyboard-image.o: requires unsupported dynamic
> reloc R_ARM_MOVW_ABS_NC; recompile with -fPIC
This is only an issue for ARM (and only for Thumb2 at that). I don't
think it's necessarily appropriate to force -fPIC on all targets.
Also, before adding this sort of hack it would be worth verifying
whether this is in fact a toolchain bug and, if it is, fixing it there.
p.
More information about the Openembedded-core
mailing list