From b487de00a784ace6ff6ead4c359418491c1d8a05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 12 Aug 2025 14:20:41 +0200 Subject: [PATCH] llvm-runtimes/libunwind: Disable cross-unwinding in 21.x too MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- llvm-runtimes/libunwind/libunwind-21.1.0.9999.ebuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/llvm-runtimes/libunwind/libunwind-21.1.0.9999.ebuild b/llvm-runtimes/libunwind/libunwind-21.1.0.9999.ebuild index 5e8131829d643..1aba2f538f519 100644 --- a/llvm-runtimes/libunwind/libunwind-21.1.0.9999.ebuild +++ b/llvm-runtimes/libunwind/libunwind-21.1.0.9999.ebuild @@ -94,9 +94,10 @@ multilib_src_configure() { -DLIBUNWIND_INCLUDE_TESTS=$(usex test) -DLIBUNWIND_INSTALL_HEADERS=ON - # support non-native unwinding; given it's small enough, - # enable it unconditionally - -DLIBUNWIND_ENABLE_CROSS_UNWINDING=ON + # cross-unwinding increases unwinding footprint (to account + # for the worst case) and causes some breakage on AArch64 + # https://github.com/llvm/llvm-project/issues/152549 + -DLIBUNWIND_ENABLE_CROSS_UNWINDING=OFF # avoid dependency on libgcc_s if compiler-rt is used -DLIBUNWIND_USE_COMPILER_RT=${use_compiler_rt}