Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH RFC] binutils: allow distro to select gold as default cross-linker
Date: Tue, 14 Jun 2011 19:44:33 -0700	[thread overview]
Message-ID: <4DF81C91.3050901@gmail.com> (raw)
In-Reply-To: <E934E895-3391-4437-A310-E5B99624AC38@dominion.thruhere.net>

On 06/14/2011 08:38 AM, Koen Kooi wrote:
>
> Op 14 jun 2011, om 17:30 heeft Phil Blundell het volgende geschreven:
>
>> This is not particularly pretty but I couldn't think of any obviously
>> better way of doing it.  Any suggestions?
>>
>> Signed-off-by: Phil Blundell<philb@gnu.org>
>> ---
>> meta/recipes-devtools/binutils/binutils-cross.inc |    3 ++-
>> 1 files changed, 2 insertions(+), 1 deletions(-)
>>
>> diff --git a/meta/recipes-devtools/binutils/binutils-cross.inc b/meta/recipes-devtools/binutils/binutils-cross.inc
>> index 4b90972..5a41970 100644
>> --- a/meta/recipes-devtools/binutils/binutils-cross.inc
>> +++ b/meta/recipes-devtools/binutils/binutils-cross.inc
>> @@ -5,7 +5,8 @@ EXTRA_OECONF = "--with-sysroot=${STAGING_DIR_TARGET} \
>>                  --program-prefix=${TARGET_PREFIX} \
>>                  --disable-install-libbfd \
>>                  --disable-werror \
>> -                --enable-poison-system-directories"
>> +                --enable-poison-system-directories \
>> +		${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default', '', d)}"
>
> Out of curiousity, how well does gold work nowadays? Last I remember hearing of it was in its x86-only days.
>

it works well on arm in fact link times are way better on some 
(especially C++) applications using gold. We can try to use gold for 
x86, x86_64 and arm to start with.

> regards,
>
> Koen
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core




  reply	other threads:[~2011-06-15  2:48 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-14 15:30 [PATCH RFC] binutils: allow distro to select gold as default cross-linker Phil Blundell
2011-06-14 15:38 ` Koen Kooi
2011-06-15  2:44   ` Khem Raj [this message]
2011-06-15  8:04   ` Phil Blundell
2011-06-15 14:32     ` Phil Blundell
2011-06-15 16:26       ` Khem Raj
2011-06-15 16:31         ` Phil Blundell
2011-06-15 16:35           ` Khem Raj
2011-06-15 16:42             ` Phil Blundell
2011-06-15 16:47               ` Khem Raj
2011-06-15 16:50                 ` Phil Blundell
2011-06-15  2:42 ` Khem Raj
2011-06-15 11:30   ` Phil Blundell

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=4DF81C91.3050901@gmail.com \
    --to=raj.khem@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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