* [PATCH] libunwind: don't mess around with ARM atomic detection
@ 2017-06-07 14:40 Ross Burton
0 siblings, 0 replies; only message in thread
From: Ross Burton @ 2017-06-07 14:40 UTC (permalink / raw)
To: openembedded-core
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.
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
meta/recipes-support/libunwind/libunwind.inc | 5 -----
1 file changed, 5 deletions(-)
diff --git a/meta/recipes-support/libunwind/libunwind.inc b/meta/recipes-support/libunwind/libunwind.inc
index 4f64ad7..fc33786 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"
EXTRA_OECONF_arm = "--enable-debug-frame"
EXTRA_OECONF_aarch64 = "--enable-debug-frame"
-CFLAGS += "${ATOMICOPS}"
-ATOMICOPS_armv5 = "-DAO_USE_PTHREAD_DEFS=1"
-ATOMICOPS_armv4 = "-DAO_USE_PTHREAD_DEFS=1"
-ATOMICOPS ?= ""
-
SECURITY_LDFLAGS_append_libc-musl = " -lssp_nonshared -lssp"
BBCLASSEXTEND = "native"
--
2.8.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-06-07 14:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-07 14:40 [PATCH] libunwind: don't mess around with ARM atomic detection Ross Burton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox