commit:     2c9aa71c3cf91e315fa28168d07ce48c9d97007d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  9 15:25:44 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Aug  9 15:25:44 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c9aa71c

llvm-runtimes/libunwind: Disable cross-unwinding in 22.x

Bug: https://github.com/llvm/llvm-project/issues/152549
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 llvm-runtimes/libunwind/libunwind-22.0.0.9999.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/llvm-runtimes/libunwind/libunwind-22.0.0.9999.ebuild 
b/llvm-runtimes/libunwind/libunwind-22.0.0.9999.ebuild
index 5e8131829d64..1aba2f538f51 100644
--- a/llvm-runtimes/libunwind/libunwind-22.0.0.9999.ebuild
+++ b/llvm-runtimes/libunwind/libunwind-22.0.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}

Reply via email to