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

Phil Blundell pb at pbcl.net
Wed Jun 15 16:42:28 UTC 2011


On Wed, 2011-06-15 at 09:35 -0700, Khem Raj wrote:
> This will work. Do you know what problems eglibc has linking with gold ?
> may be we can fix it

If I remember right, it relies on linker script functionality which gold
just doesn't have.  I suspect this would be hard to fix and, unless
there is a pressing need to fight that particular battle, I would be
inclined not to bother.

That said, though, I haven't checked recently and it's possible that
recent versions of gold will "just work".  If you wanted to give it a
try then I think it'd just be a question of h4x0ring eglibc's configure
script slightly to get it to accept gold as a valid linker version.

p.






More information about the Openembedded-core mailing list