From: Florin Sarbu <florin.sarbu@windriver.com>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: binutils fails to set ld.gold as default
Date: Fri, 21 Sep 2012 16:32:58 +0300 [thread overview]
Message-ID: <505C6C8A.9000800@windriver.com> (raw)
Hi all,
I am facing an issue trying to use ld.gold as the default ld on a poky
build. I've added to my build's conf/local.conf DISTRO_FEATURES_append =
"ld-is-gold" so I get in
tmp-eglibc-eglibc/sysroots/i686-linux/usr/bin/armv7a-vfp-neon-oe-linux-gnueabi
the following (amongst others):
arm-oe-linux-gnueabi-ld
arm-oe-linux-gnueabi-ld.bfd
arm-oe-linux-gnueabi-ld.gold
All good so far. But looking into
tmp-eglibc-eglibc/sysroots/i686-linux/usr/libexec/armv7a-vfp-neon-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.7.2
I see:
ld ->
../../../../../bin/armv7a-vfp-neon-oe-linux-gnueabi/arm-oe-linux-gnueabi-ld
From the binutils.inc recipe, in EXTRA_OECONF:
${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default
--enable-threads', '', d)}
Shouldn't that have made ld point to ld.gold?
Any thoughts/ideas on why this is happening?
Thank you,
Florin
next reply other threads:[~2012-09-21 13:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-21 13:32 Florin Sarbu [this message]
2012-09-21 13:58 ` binutils fails to set ld.gold as default 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
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=505C6C8A.9000800@windriver.com \
--to=florin.sarbu@windriver.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