From d5816efd6662f6e6620c36ea9534897e3c604daf Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Fri, 12 Jan 2024 18:33:44 +0100 Subject: [PATCH] For the usage of -DLIBCXXABI_USE_LLVM_UNWINDER=OFF when we don't build unwind https://github.com/llvm/llvm-project/issues/77846 --- debian/changelog | 4 +++- debian/rules | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 9c3413d3..076a0e89 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,10 @@ llvm-toolchain-snapshot (1:18~++20231211102647+75193b192ad9-1~exp2) experimental; urgency=medium * 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 Fri, 12 Jan 2024 18:33:31 +0100 llvm-toolchain-snapshot (1:18~++20231211102647+75193b192ad9-1~exp1) experimental; urgency=medium diff --git a/debian/rules b/debian/rules index dc305813..3a327daf 100755 --- a/debian/rules +++ b/debian/rules @@ -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 # disabled since the gnu implementation in libgcc_s will then be required LIBCXX_USE_COMPILER_RT := OFF +# See https://github.com/llvm/llvm-project/issues/77846 + STAGE_ALL_CMAKE_EXTRA += -DLIBCXXABI_USE_LLVM_UNWINDER=OFF else RUNTIMES += ;libunwind STAGE_ALL_CMAKE_EXTRA += -DLIBCXXABI_USE_LLVM_UNWINDER=ON