diff options
author | Ross Burton <ross.burton@intel.com> | 2017-06-07 15:10:49 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-09 17:12:14 +0100 |
commit | e4a45dafdaa54b9755baf1ecaea06ab5d3dbb8e2 (patch) | |
tree | e9f3e989f28495cb9ea061d08c9f2ef74d121111 /meta | |
parent | 7e816be572fd7c382a559324f58fb46adea5155e (diff) | |
download | poky-e4a45dafdaa54b9755baf1ecaea06ab5d3dbb8e2.tar.gz |
libunwind: don't mess around with ARM atomic detection
This recipe explictly sets -DAO_USE_PTHREAD_DEFS on ARM, but with libunwind 1.2
this causes the linker to fail:
hidden symbol `__sync_synchronize' in libgcc.a(linux-atomic.o) is referenced by DSO
Removing these defines lets configure do the right thing and build libunwind.
(From OE-Core rev: f2efadab8b1ab1c50584a39908673e1a6717f753)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-support/libunwind/libunwind.inc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/meta/recipes-support/libunwind/libunwind.inc b/meta/recipes-support/libunwind/libunwind.inc index 4f64ad7f87..fc33786b9e 100644 --- a/meta/recipes-support/libunwind/libunwind.inc +++ b/meta/recipes-support/libunwind/libunwind.inc | |||
@@ -13,11 +13,6 @@ PACKAGECONFIG[lzma] = "--enable-minidebuginfo,--disable-minidebuginfo,xz" | |||
13 | EXTRA_OECONF_arm = "--enable-debug-frame" | 13 | EXTRA_OECONF_arm = "--enable-debug-frame" |
14 | EXTRA_OECONF_aarch64 = "--enable-debug-frame" | 14 | EXTRA_OECONF_aarch64 = "--enable-debug-frame" |
15 | 15 | ||
16 | CFLAGS += "${ATOMICOPS}" | ||
17 | ATOMICOPS_armv5 = "-DAO_USE_PTHREAD_DEFS=1" | ||
18 | ATOMICOPS_armv4 = "-DAO_USE_PTHREAD_DEFS=1" | ||
19 | ATOMICOPS ?= "" | ||
20 | |||
21 | SECURITY_LDFLAGS_append_libc-musl = " -lssp_nonshared -lssp" | 16 | SECURITY_LDFLAGS_append_libc-musl = " -lssp_nonshared -lssp" |
22 | 17 | ||
23 | BBCLASSEXTEND = "native" | 18 | BBCLASSEXTEND = "native" |