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

    From Jing Luo@21:1/5 to All on Wed Mar 12 06:30:01 2025
    This is a multi-part MIME message sent by reportbug.


    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@lists.debian.org
    User: debian-x32@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

    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-@LLVM_VERSION@/libexec/intercept-c++
    usr/lib/llvm-@LLVM_VERSION@/libexec/intercept-cc

    # See compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake / HWASAN_SUPPORTED_ARCH
    -[amd64 arm64 riscv64 i386] usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION@/bin/hwasan_symbolize
    +[amd64 arm64 riscv64 i386 x32] usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION@/bin/hwasan_symbolize

    clang/tools/scan-build-@LLVM_VERSION@ usr/share/clang/
    clang/tools/scan-view-@LLVM_VERSION@ usr/share/clang/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Wed Mar 12 10:10:01 2025
    Processing control commands:

    severity -1 important
    Bug #1100161 [src:llvm-toolchain-19] llvm-toolchain-19: FTBFS on x32
    Severity set to 'important' from 'serious'

    --
    1100161: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1100161
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)