summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-04-13 22:41:20 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-19 13:34:42 +0100
commitf40a2d61c846c6c9e7fc7456ad6f5d89621a1e61 (patch)
treeffdcffcea814306680595a1a44799f2e88959e30 /meta
parent9a529016efee92cbf6a01383b123bbcb3dc19bd9 (diff)
downloadpoky-f40a2d61c846c6c9e7fc7456ad6f5d89621a1e61.tar.gz
libunwind: fix build with aarch64
Referred to RP's fix for x86 and x86-64: 34d517a5626ce2465f776367349bd9e66bf8ed1f libunwind: Build with gold to avoid build failures Fixed: aarch64-poky-linux/4.9.2/ld: copy reloc against protected `_Uaarch64_local_addr_space' is invalid aarch64-poky-linux/4.9.2/ld: failed to set dynamic section sizes: Bad value aarch64-poky-linux/4.9.2/ld: copy reloc against protected `_Uaarch64_local_addr_space' is invalid aarch64-poky-linux/4.9.2/ld: failed to set dynamic section sizes: Bad value | collect2: error: ld returned 1 exit status (From OE-Core rev: 31d84f67f74b31b479409cfa446b14ac67bb3707) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-support/libunwind/libunwind.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-support/libunwind/libunwind.inc b/meta/recipes-support/libunwind/libunwind.inc
index 74afba182f..56905c27b9 100644
--- a/meta/recipes-support/libunwind/libunwind.inc
+++ b/meta/recipes-support/libunwind/libunwind.inc
@@ -26,6 +26,8 @@ LIBATOMICS ?= ""
26LDFLAGS_append_x86 = " -fuse-ld=gold" 26LDFLAGS_append_x86 = " -fuse-ld=gold"
27LDFLAGS_append_x86-64 = " -fuse-ld=gold" 27LDFLAGS_append_x86-64 = " -fuse-ld=gold"
28 28
29LDFLAGS_append_aarch64 = " -fuse-ld=gold"
30
29DEPENDS += "${DEPLIBATOMICS}" 31DEPENDS += "${DEPLIBATOMICS}"
30DEPLIBATOMICS_armv5 = "libatomics-ops" 32DEPLIBATOMICS_armv5 = "libatomics-ops"
31DEPLIBATOMICS_armv4 = "libatomics-ops" 33DEPLIBATOMICS_armv4 = "libatomics-ops"