diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-04-21 23:59:13 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-28 07:56:55 +0100 |
commit | 4817e01a7b3f1376fb8ccf4f8e7bb3ecda31c5c6 (patch) | |
tree | 8689c0ba45fd56629421548af8b2ccd62f384c3d /meta/recipes-support/libunwind | |
parent | e34662860479ebb1255c2f9a7f35d88cbff7b8c5 (diff) | |
download | poky-4817e01a7b3f1376fb8ccf4f8e7bb3ecda31c5c6.tar.gz |
libunwind: don't use gold for mips
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'
(From OE-Core rev: 3c6746748a845b5156f81fe7a01caa58ee29e938)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libunwind')
-rw-r--r-- | meta/recipes-support/libunwind/libunwind.inc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/meta/recipes-support/libunwind/libunwind.inc b/meta/recipes-support/libunwind/libunwind.inc index c4a7b5e203..406bbe4633 100644 --- a/meta/recipes-support/libunwind/libunwind.inc +++ b/meta/recipes-support/libunwind/libunwind.inc | |||
@@ -23,7 +23,14 @@ LIBATOMICS_armv5 = "-latomic_ops" | |||
23 | LIBATOMICS_armv4 = "-latomic_ops" | 23 | LIBATOMICS_armv4 = "-latomic_ops" |
24 | LIBATOMICS ?= "" | 24 | LIBATOMICS ?= "" |
25 | 25 | ||
26 | LDFLAGS_append = " -fuse-ld=gold" | 26 | LDFLAGS_append_x86 = " -fuse-ld=gold" |
27 | LDFLAGS_append_x86-64 = " -fuse-ld=gold" | ||
28 | |||
29 | LDFLAGS_append_arm = " -fuse-ld=gold" | ||
30 | LDFLAGS_append_aarch64 = " -fuse-ld=gold" | ||
31 | |||
32 | LDFLAGS_append_powerpc = " -fuse-ld=gold" | ||
33 | LDFLAGS_append_powerpc64 = " -fuse-ld=gold" | ||
27 | 34 | ||
28 | DEPENDS += "${DEPLIBATOMICS}" | 35 | DEPENDS += "${DEPLIBATOMICS}" |
29 | DEPLIBATOMICS_armv5 = "libatomics-ops" | 36 | DEPLIBATOMICS_armv5 = "libatomics-ops" |