diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-12-04 12:03:39 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-12-04 12:07:16 +0100 |
commit | 5c377cd4aa3103ebb97177ba50ad3b090b3add87 (patch) | |
tree | 8130ac58b0776718f282eb676176d469a792658a | |
parent | 7d87f080aa5740d18c94ac033fa70b76d86f9a21 (diff) | |
download | ptxdist-5c377cd4aa3103ebb97177ba50ad3b090b3add87.tar.gz ptxdist-5c377cd4aa3103ebb97177ba50ad3b090b3add87.tar.xz |
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.make | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/libunwind.make b/rules/libunwind.make index 7c055541e..e4f07d0c5 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 \ |