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

Khem Raj raj.khem at gmail.com
Wed Jun 15 16:47:34 UTC 2011


On 06/15/2011 09:42 AM, Phil Blundell wrote:
> 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.
>

I remember now. Accepting gold would be easier but changing how ld.so is 
built where it asks ld to spit out default linker script and then munge 
it before reusing it is harder part. I think status is still same. It 
reminds me that we probably need ld.bfd for kernel too.


> p.
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core





More information about the Openembedded-core mailing list