* [PATCH 0/1 V2] libunwind: don't use gold for mips
@ 2015-04-22 6:59 Robert Yang
2015-04-22 6:59 ` [PATCH 1/1] " Robert Yang
0 siblings, 1 reply; 2+ messages in thread
From: Robert Yang @ 2015-04-22 6:59 UTC (permalink / raw)
To: openembedded-core
* V2
Set the arch one by one.
// Robert
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 | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
--
1.7.9.5
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 1/1] libunwind: don't use gold for mips
2015-04-22 6:59 [PATCH 0/1 V2] libunwind: don't use gold for mips Robert Yang
@ 2015-04-22 6:59 ` Robert Yang
0 siblings, 0 replies; 2+ 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] 2+ messages in thread
end of thread, other threads:[~2015-04-22 6:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-22 6:59 [PATCH 0/1 V2] libunwind: don't use gold for mips 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