[OE-core] [PATCH RFC] binutils: allow distro to select gold as default cross-linker

Phil Blundell pb at pbcl.net
Wed Jun 15 08:04:51 UTC 2011


On Tue, 2011-06-14 at 17:38 +0200, Koen Kooi wrote:
> Out of curiousity, how well does gold work nowadays? Last I remember hearing of it was in its x86-only days.

It works for arm, x86 and amd64 which are the only targets that I've
tried for myself.  I suspect it doesn't support some of the more obscure
architectures.  Obviously it doesn't (and isn't intended to) support non
ELF targets, though I can't think of any such in OE.

One slightly annoying thing is that (e)glibc isn't buildable with gold
because the linker scripts don't work.  So a little bit of patching is
going to be needed to have it use ld.bfd there.  There might be some
other packages with similar issues but I haven't come across any yet.

p.





More information about the Openembedded-core mailing list