Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] libunwind: don't use gold for mips
@ 2015-04-22  2:22 Robert Yang
  2015-04-22  2:22 ` [PATCH 1/1] " Robert Yang
  0 siblings, 1 reply; 6+ messages in thread
From: Robert Yang @ 2015-04-22  2:22 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit 166f2587468ae71988c610858aad3f7ef67eccba:

  bison: don't depend on help2man (2015-04-21 11:29:30 +0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib rbt/libunwind
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/libunwind

Robert Yang (1):
  libunwind: don't use gold for mips

 meta/recipes-support/libunwind/libunwind.inc |    4 ++++
 1 file changed, 4 insertions(+)

-- 
1.7.9.5



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/1] libunwind: don't use gold for mips
  2015-04-22  2:22 [PATCH 0/1] libunwind: don't use gold for mips Robert Yang
@ 2015-04-22  2:22 ` Robert Yang
  2015-04-22  2:24   ` Khem Raj
  0 siblings, 1 reply; 6+ messages in thread
From: Robert Yang @ 2015-04-22  2:22 UTC (permalink / raw)
  To: openembedded-core

The gold doesn't work for mips or mips64:
configure:3867: checking whether the C compiler works
configure:3889: mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32r2 --sysroot=/buildarea/lyang1/test_uni/tmp/sysroots/qemumips  -O2 -pipe -g -feliminate-unused-debug-types   -Wl,-O1  -Wl,--as-needed  -fuse-ld=gold conftest.c  >&5
collect2: fatal error: cannot find 'ld'

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/recipes-support/libunwind/libunwind.inc |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-support/libunwind/libunwind.inc b/meta/recipes-support/libunwind/libunwind.inc
index c4a7b5e..5edeae8 100644
--- a/meta/recipes-support/libunwind/libunwind.inc
+++ b/meta/recipes-support/libunwind/libunwind.inc
@@ -24,6 +24,10 @@ LIBATOMICS_armv4 = "-latomic_ops"
 LIBATOMICS ?= ""
 
 LDFLAGS_append = " -fuse-ld=gold"
+# gold doesn't work for mips
+LDFLAGS_mips_append = ""
+LDFLAGS_mips64_append = ""
+LDFLAGS_mips64n32_append = ""
 
 DEPENDS += "${DEPLIBATOMICS}"
 DEPLIBATOMICS_armv5 = "libatomics-ops"
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/1] libunwind: don't use gold for mips
  2015-04-22  2:22 ` [PATCH 1/1] " Robert Yang
@ 2015-04-22  2:24   ` Khem Raj
  2015-04-22  2:27     ` Robert Yang
  0 siblings, 1 reply; 6+ messages in thread
From: Khem Raj @ 2015-04-22  2:24 UTC (permalink / raw)
  To: Robert Yang; +Cc: openembedded-core


> On Apr 21, 2015, at 7:22 PM, Robert Yang <liezhi.yang@windriver.com> wrote:
> 
> +# gold doesn't work for mips
> +LDFLAGS_mips_append = ""
> +LDFLAGS_mips64_append = ""
> +LDFLAGS_mips64n32_append = ""
> 

how about little-endian variants ?


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/1] libunwind: don't use gold for mips
  2015-04-22  2:24   ` Khem Raj
@ 2015-04-22  2:27     ` Robert Yang
  2015-04-22  2:38       ` Khem Raj
  0 siblings, 1 reply; 6+ messages in thread
From: Robert Yang @ 2015-04-22  2:27 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core



On 04/22/2015 10:24 AM, Khem Raj wrote:
>
>> On Apr 21, 2015, at 7:22 PM, Robert Yang <liezhi.yang@windriver.com> wrote:
>>
>> +# gold doesn't work for mips
>> +LDFLAGS_mips_append = ""
>> +LDFLAGS_mips64_append = ""
>> +LDFLAGS_mips64n32_append = ""
>>
>
> how about little-endian variants ?

Maybe we'd better set _86 _ppc and _arm one by one, please ?

// Robert

>
>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/1] libunwind: don't use gold for mips
  2015-04-22  2:27     ` Robert Yang
@ 2015-04-22  2:38       ` Khem Raj
  0 siblings, 0 replies; 6+ messages in thread
From: Khem Raj @ 2015-04-22  2:38 UTC (permalink / raw)
  To: Robert Yang; +Cc: openembedded-core


> On Apr 21, 2015, at 7:27 PM, Robert Yang <liezhi.yang@windriver.com> wrote:
> 
> 
> 
> On 04/22/2015 10:24 AM, Khem Raj wrote:
>> 
>>> On Apr 21, 2015, at 7:22 PM, Robert Yang <liezhi.yang@windriver.com> wrote:
>>> 
>>> +# gold doesn't work for mips
>>> +LDFLAGS_mips_append = ""
>>> +LDFLAGS_mips64_append = ""
>>> +LDFLAGS_mips64n32_append = ""
>>> 
>> 
>> how about little-endian variants ?
> 
> Maybe we'd better set _86 _ppc and _arm one by one, please ?

yes thats what I was alluding to

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/1] libunwind: don't use gold for mips
  2015-04-22  6:59 [PATCH 0/1 V2] " Robert Yang
@ 2015-04-22  6:59 ` Robert Yang
  0 siblings, 0 replies; 6+ messages in thread
From: Robert Yang @ 2015-04-22  6:59 UTC (permalink / raw)
  To: openembedded-core

The gold doesn't work for mips or mips64:
configure:3867: checking whether the C compiler works
configure:3889: mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32r2 --sysroot=/buildarea/lyang1/test_uni/tmp/sysroots/qemumips  -O2 -pipe -g -feliminate-unused-debug-types   -Wl,-O1  -Wl,--as-needed  -fuse-ld=gold conftest.c  >&5
collect2: fatal error: cannot find 'ld'

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/recipes-support/libunwind/libunwind.inc |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-support/libunwind/libunwind.inc b/meta/recipes-support/libunwind/libunwind.inc
index c4a7b5e..406bbe4 100644
--- a/meta/recipes-support/libunwind/libunwind.inc
+++ b/meta/recipes-support/libunwind/libunwind.inc
@@ -23,7 +23,14 @@ LIBATOMICS_armv5 = "-latomic_ops"
 LIBATOMICS_armv4 = "-latomic_ops"
 LIBATOMICS ?= ""
 
-LDFLAGS_append = " -fuse-ld=gold"
+LDFLAGS_append_x86 = " -fuse-ld=gold"
+LDFLAGS_append_x86-64 = " -fuse-ld=gold"
+
+LDFLAGS_append_arm = " -fuse-ld=gold"
+LDFLAGS_append_aarch64 = " -fuse-ld=gold"
+
+LDFLAGS_append_powerpc = " -fuse-ld=gold"
+LDFLAGS_append_powerpc64 = " -fuse-ld=gold"
 
 DEPENDS += "${DEPLIBATOMICS}"
 DEPLIBATOMICS_armv5 = "libatomics-ops"
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-04-22  6:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-22  2:22 [PATCH 0/1] libunwind: don't use gold for mips Robert Yang
2015-04-22  2:22 ` [PATCH 1/1] " Robert Yang
2015-04-22  2:24   ` Khem Raj
2015-04-22  2:27     ` Robert Yang
2015-04-22  2:38       ` Khem Raj
  -- strict thread matches above, loose matches on Subject: below --
2015-04-22  6:59 [PATCH 0/1 V2] " Robert Yang
2015-04-22  6:59 ` [PATCH 1/1] " Robert Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox