summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2019-12-04 12:03:39 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-12-04 12:07:16 +0100
commit5c377cd4aa3103ebb97177ba50ad3b090b3add87 (patch)
tree8130ac58b0776718f282eb676176d469a792658a
parent7d87f080aa5740d18c94ac033fa70b76d86f9a21 (diff)
downloadptxdist-5c377cd4aa3103ebb97177ba50ad3b090b3add87.tar.gz
libunwind: build with --disable-cxx-exceptions
If this feature is enabled, then libunwind handles C++ exceptions. However, this is broken: - it requires debug symbols to do the unwinding - even with debug symbols, at least on ARM, a minimal application still segfaults when an exception occurs. Just disable it to avoid the issues entirely. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/libunwind.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/libunwind.make b/rules/libunwind.make
index 7c05554..e4f07d0 100644
--- a/rules/libunwind.make
+++ b/rules/libunwind.make
@@ -40,7 +40,7 @@ LIBUNWIND_CONF_OPT := \
--disable-documentation \
--disable-tests \
--disable-debug \
- --enable-cxx-exceptions \
+ --disable-cxx-exceptions \
--enable-debug-frame \
--enable-block-signals \
--enable-conservative-checks \