Bug#1114980: libclang-rt-21-dev: Please enable COMPILER_RT_BUILD_BUILTINS for s390x
Michael R. Crusoe
crusoe at debian.org
Fri Sep 12 12:52:28 BST 2025
Package: libclang-rt-21-dev
Version: 1:21.1.0-1
Severity: normal
X-Debbugs-Cc: debian-s390 at lists.debian.org, crusoe at debian.org
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-llvm-team/attachments/20250912/79ba78cc/attachment.sig>
More information about the Pkg-llvm-team
mailing list