Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Florin Sarbu <florin.sarbu@windriver.com>
To: Khem Raj <raj.khem@gmail.com>
Cc: Patches,
	discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: binutils fails to set ld.gold as default
Date: Sun, 23 Sep 2012 10:51:09 +0300	[thread overview]
Message-ID: <505EBF6D.2020602@windriver.com> (raw)
In-Reply-To: <CAMKF1sqMtA1LhK98khoDAXAK83_gmTokfez8RpFC7gwRHdv=KA@mail.gmail.com>

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@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@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
>>




      reply	other threads:[~2012-09-23  8:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-21 13:32 binutils fails to set ld.gold as default Florin Sarbu
2012-09-21 13:58 ` Richard Purdie
2012-09-21 19:47   ` Florin Sarbu
2012-09-21 21:53     ` Khem Raj
2012-09-22  6:53       ` Florin Sarbu
2012-09-23  3:41         ` Khem Raj
2012-09-23  7:51           ` Florin Sarbu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=505EBF6D.2020602@windriver.com \
    --to=florin.sarbu@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=raj.khem@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox