[OE-core] [PATCH] syslinux: always use the BFD linker

André Draszik git at andred.net
Tue Dec 12 08:55:08 UTC 2017


On Mon, 2017-12-11 at 21:49 -0500, Allen Wild wrote:
> Syslinux compiles successfully with Gold, but at runtime Isolinux fails
> to boot, getting stuck at the version screen without loading the menu.
> Forcing the BFD linker fixes this.
> 
> To future-proof, use an inline python replace rather than duplicating
> the definition of LD in bitbake.conf

Hm, other recipes that have this need typically simply do:

LDFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}"

Would a similar approach work here, too? Instead of this big change.

Cheers,
Andre'
> 



More information about the Openembedded-core mailing list