Source: llvm-toolchain-21 Version: 1:15 Severity: normal Tags: patch X-Debbugs-Cc: [email protected], [email protected] User: [email protected] Usertags: s390x
This is a follow-up to https://bugs.debian.org/1114980 ; Please enable libunwind for s390x, it is required for compiler-rt. https://salsa.debian.org/pkg-llvm-team/llvm-toolchain/-/blob/b8109f1e0c0b23f347df0d3362c0910726acab57/debian/rules#L616 libunwind has been supported on SystemZ since llvm 15: https://github.com/llvm/llvm-project/commit/364c5023d2ce1617c706b185892ddfaa2fd4d166 For me, it would be great to have this fixed for llvm-toolchain-snapshot as well. Perhaps other users would appreciate backporting this fix to -20 and before. If you want additional bugs filled for those versions, let me know and I'll do so. Here's a simple patch: diff --git a/debian/rules b/debian/rules index 5d8a62cf..875bad9b 100755 --- a/debian/rules +++ b/debian/rules @@ -607,7 +607,7 @@ ifneq (,$(filter $(DEB_HOST_ARCH), $(POLLY_ARCHS))) endif# Enable libunwind (or not)
-LIBUNWIND_ARCHS := amd64 arm64 armhf i386 loong64 ppc64 ppc64el riscv64 +LIBUNWIND_ARCHS := amd64 arm64 armhf i386 loong64 ppc64 ppc64el riscv64 s390x LIBUNWIND_ENABLE=yes ifeq (,$(filter $(DEB_HOST_ARCH), $(LIBUNWIND_ARCHS))) LIBUNWIND_ENABLE=no Thanks!
OpenPGP_signature.asc
Description: OpenPGP digital signature

