diff mbox series

libunwind: Disable cxx exceptions for riscv64

Message ID 20260805133812.630440-1-richard.purdie@linuxfoundation.org
State Accepted, archived
Commit 3c354d335a7a517a43addf705e1168b6e2af142b
Headers show
Series libunwind: Disable cxx exceptions for riscv64 | expand

Commit Message

Richard Purdie Aug. 5, 2026, 1:38 p.m. UTC
With the newer libtool, libunwind fails to build on riscv64 with an error
about the WCClinker option. Disable those exceptions until a better fix
is identified.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/recipes-support/libunwind/libunwind_1.8.3.bb | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta/recipes-support/libunwind/libunwind_1.8.3.bb b/meta/recipes-support/libunwind/libunwind_1.8.3.bb
index bc1a108e427..1a3a816d785 100644
--- a/meta/recipes-support/libunwind/libunwind_1.8.3.bb
+++ b/meta/recipes-support/libunwind/libunwind_1.8.3.bb
@@ -27,6 +27,8 @@  PACKAGECONFIG[zlib] = "--enable-zlibdebuginfo,--disable-zlibdebuginfo,zlib"
 PACKAGECONFIG[latexdocs] = "--enable-documentation, --disable-documentation, latex2man-native"
 
 EXTRA_OECONF = "--enable-static --disable-tests"
+EXTRA_OECONF:append:riscv64 = " --disable-cxx-exceptions"
+
 
 # http://errors.yoctoproject.org/Errors/Details/20487/
 ARM_INSTRUCTION_SET:armv4 = "arm"