[OE-core] binutils fails to set ld.gold as default

Florin Sarbu florin.sarbu at windriver.com
Sun Sep 23 07:51:09 UTC 2012


You're right, the symbolic link pointing to this "regular" ld confused 
me. Looking at it's version, it clearly says gold.

Thank you.

On 09/23/2012 06:41 AM, Khem Raj wrote:
> On Fri, Sep 21, 2012 at 11:53 PM, Florin Sarbu
> <florin.sarbu at windriver.com> wrote:
>> What exactly do you wanna see in the output? I can post the variables you
>> are looking for.
> why cant you pastebin the whole file ? anyhow you are probably looking
> at a red herring
> build will create three linker binaries
>
> 1. Default linker - <cross>-ld
> 2. Gold linker - <cross>-ld.gold
> 3. GNU ld - <cross>-ld.bfd
>
> 1 above will be copy of either ld.gold or ld.bfd depending upon what
> you have chosen
> as default.
>
> run <cross>-ls -v
>
> to see the version of linker. If it is gold then it will say so
>
>
>
>> Florin
>>
>>
>> On 09/22/2012 12:53 AM, Khem Raj wrote:
>>> On Fri, Sep 21, 2012 at 12:47 PM, Florin Sarbu
>>> <florin.sarbu at windriver.com> wrote:
>>>> It is enabled. As I said earlier, ld.gold gets created, it's just that ld
>>>> is
>>>> not pointing to it even though the flag says --enable-gold=default. It
>>>> still
>>>> point to the regular cross ld. Another config option that creates ld.gold
>>>> is
>>>> --enable-ld=yes, so at this point default looks exactly like yes.
>>>> Just to be extra sure, I did try to add the extra space as you suggested
>>>> but
>>>> the behaviour is the same.
>>> post the output of
>>> bitbake -e binutils-cross
>>





More information about the Openembedded-core mailing list