Package: libclang-rt-21-dev
Version: 1:21.1.0-1
Severity: normal
X-Debbugs-Cc: [email protected], [email protected]

Starting with llvm version 21, s390 needs libclang_rt.builtins-s390x.a for 
complete _Float16 support. Please enable COMPILER_RT_BUILD_BUILTINS in 
llvm-toolchain-21 and -snapshot. Thank you!

https://github.com/llvm/llvm-project/commit/6d03f51f0c59171f1ec3c5cc5c1fe71c30956273#diff-f36f4fe5a3a635180da591071293307c1dadc314ad4ab4c9f173fdfc30a49dfe

diff --git a/debian/rules b/debian/rules
index 7398ede0..5d025970 100755
--- a/debian/rules
+++ b/debian/rules
@@ -334,8 +334,6 @@ endif
ifneq (,$(filter $(DEB_HOST_ARCH),s390x))
   STAGE_ALL_CMAKE_EXTRA += -DLLVM_HOST_TRIPLE=s390x-linux-gnu
-# disable compiler-rt builtins (not supported for s390x)
-  STAGE_ALL_CMAKE_EXTRA += -DCOMPILER_RT_BUILD_BUILTINS=OFF
   COMPILER_RT_USE_BUILTINS_LIBRARY := OFF
   LIBCXX_USE_COMPILER_RT := OFF
 endif

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to