For the usage of -DLIBCXXABI_USE_LLVM_UNWINDER=OFF when we don't build unwind https://github.com/llvm/llvm-project/issues/77846

This commit is contained in:
Sylvestre Ledru 2024-01-12 18:33:44 +01:00
parent fcf132b2c9
commit d5816efd66
2 changed files with 5 additions and 1 deletions

4
debian/changelog vendored
View File

@ -1,8 +1,10 @@
llvm-toolchain-snapshot (1:18~++20231211102647+75193b192ad9-1~exp2) experimental; urgency=medium llvm-toolchain-snapshot (1:18~++20231211102647+75193b192ad9-1~exp2) experimental; urgency=medium
* refresh libomp5 symbol list * refresh libomp5 symbol list
* For the usage of -DLIBCXXABI_USE_LLVM_UNWINDER=OFF when we don't build unwind
https://github.com/llvm/llvm-project/issues/77846
-- -- Sylvestre Ledru <sylvestre@debian.org> Fri, 12 Jan 2024 18:33:31 +0100
llvm-toolchain-snapshot (1:18~++20231211102647+75193b192ad9-1~exp1) experimental; urgency=medium llvm-toolchain-snapshot (1:18~++20231211102647+75193b192ad9-1~exp1) experimental; urgency=medium

2
debian/rules vendored
View File

@ -344,6 +344,8 @@ ifneq (,$(filter $(DEB_HOST_ARCH), s390x armel m68k mipsel mips64el hurd-i386 po
# do not use compiler-rt builtins for libcxx (libcxxabi) when libunwind is # do not use compiler-rt builtins for libcxx (libcxxabi) when libunwind is
# disabled since the gnu implementation in libgcc_s will then be required # disabled since the gnu implementation in libgcc_s will then be required
LIBCXX_USE_COMPILER_RT := OFF LIBCXX_USE_COMPILER_RT := OFF
# See https://github.com/llvm/llvm-project/issues/77846
STAGE_ALL_CMAKE_EXTRA += -DLIBCXXABI_USE_LLVM_UNWINDER=OFF
else else
RUNTIMES += ;libunwind RUNTIMES += ;libunwind
STAGE_ALL_CMAKE_EXTRA += -DLIBCXXABI_USE_LLVM_UNWINDER=ON STAGE_ALL_CMAKE_EXTRA += -DLIBCXXABI_USE_LLVM_UNWINDER=ON