* [PATCH] binutils: Enable threaded linking with gold
@ 2012-08-07 21:26 Khem Raj
2012-08-08 13:17 ` Burton, Ross
0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2012-08-07 21:26 UTC (permalink / raw)
To: openembedded-core
This options will let gold spawn multiple
threads for linking and speeding up linking
on multicore build hosts.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta/recipes-devtools/binutils/binutils-2.22.inc | 2 +-
meta/recipes-devtools/binutils/binutils.inc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-devtools/binutils/binutils-2.22.inc b/meta/recipes-devtools/binutils/binutils-2.22.inc
index e3e179d..17950a2 100644
--- a/meta/recipes-devtools/binutils/binutils-2.22.inc
+++ b/meta/recipes-devtools/binutils/binutils-2.22.inc
@@ -1,4 +1,4 @@
-PR = "r13"
+PR = "r14"
LIC_FILES_CHKSUM="\
file://src-release;endline=17;md5=4830a9ef968f3b18dd5e9f2c00db2d35\
diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc
index cd923bd..ee748a4 100644
--- a/meta/recipes-devtools/binutils/binutils.inc
+++ b/meta/recipes-devtools/binutils/binutils.inc
@@ -53,7 +53,7 @@ B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \
--disable-werror \
--enable-plugins \
- ${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default', '', d)} \
+ ${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default --enable-threads', '', d)} \
${@base_contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)}"
# This is necessary due to a bug in the binutils Makefiles
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] binutils: Enable threaded linking with gold
2012-08-07 21:26 [PATCH] binutils: Enable threaded linking with gold Khem Raj
@ 2012-08-08 13:17 ` Burton, Ross
2012-08-08 14:48 ` Khem Raj
0 siblings, 1 reply; 3+ messages in thread
From: Burton, Ross @ 2012-08-08 13:17 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
Hi Khem,
On 7 August 2012 22:26, Khem Raj <raj.khem@gmail.com> wrote:
> This options will let gold spawn multiple
> threads for linking and speeding up linking
> on multicore build hosts.
I turned on the DISTRO_FEATURE ld-is-gold and rebuild my toolchain and
then webkit-gtk, but there was no improvement in build time (I'm
attributing a 20s difference in build time to noise considering the
build was 24 minutes). Is there something else I need to change, as I
was expecting WebKit would be a good winner with this.
Ross
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] binutils: Enable threaded linking with gold
2012-08-08 13:17 ` Burton, Ross
@ 2012-08-08 14:48 ` Khem Raj
0 siblings, 0 replies; 3+ messages in thread
From: Khem Raj @ 2012-08-08 14:48 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Wed, Aug 8, 2012 at 6:17 AM, Burton, Ross <ross.burton@intel.com> wrote:
> Hi Khem,
>
> On 7 August 2012 22:26, Khem Raj <raj.khem@gmail.com> wrote:
>> This options will let gold spawn multiple
>> threads for linking and speeding up linking
>> on multicore build hosts.
>
> I turned on the DISTRO_FEATURE ld-is-gold and rebuild my toolchain and
> then webkit-gtk, but there was no improvement in build time (I'm
> attributing a 20s difference in build time to noise considering the
> build was 24 minutes). Is there something else I need to change, as I
> was expecting WebKit would be a good winner with this.
>
hmm, yes I would think so too. My experiments were on a i386 box with
2G RAM I see considerable improvement on app linked with boost that I
tried. Can you recheck if ld is pointing to gold in
the cross toolchain install ?
> Ross
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-08-08 15:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-07 21:26 [PATCH] binutils: Enable threaded linking with gold Khem Raj
2012-08-08 13:17 ` Burton, Ross
2012-08-08 14:48 ` Khem Raj
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.