Bug#1100161: llvm-toolchain-19: FTBFS on x32

Jing Luo jing at jing.rocks
Wed Mar 12 05:23:41 GMT 2025


Source: llvm-toolchain-19
Version: 1:19.1.7-1
Severity: serious
Tags: ftbfs patch
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: debian-amd64 at lists.debian.org
User: debian-x32 at lists.debian.org
Usertags: x32

Hi!

On x32, llvm-toolchain-19 fails to sbuild from source. dh_missing complains that
"usr/lib/llvm-19/lib/clang/19/bin/hwasan_symbolize" is built but not installed.
So we need to install hwasan_symbolize on x32. The same was done for llvm-toolchain-18
already.


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.12-amd64 (SMP w/128 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-------------- next part --------------
diff --git a/debian/clang-tools-X.Y.install.in b/debian/clang-tools-X.Y.install.in
index 744f7a73..dbde4de9 100644
--- a/debian/clang-tools-X.Y.install.in
+++ b/debian/clang-tools-X.Y.install.in
@@ -64,7 +64,7 @@ usr/lib/llvm- at LLVM_VERSION@/libexec/intercept-c++
 usr/lib/llvm- at LLVM_VERSION@/libexec/intercept-cc
 
 # See compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake / HWASAN_SUPPORTED_ARCH
-[amd64 arm64 riscv64 i386] usr/lib/llvm- at LLVM_VERSION@/lib/clang/@LLVM_VERSION@/bin/hwasan_symbolize
+[amd64 arm64 riscv64 i386 x32] usr/lib/llvm- at LLVM_VERSION@/lib/clang/@LLVM_VERSION@/bin/hwasan_symbolize
 
 clang/tools/scan-build- at LLVM_VERSION@      usr/share/clang/
 clang/tools/scan-view- at LLVM_VERSION@       usr/share/clang/


More information about the Pkg-llvm-team mailing list