Source: llvm-toolchain-19 Version: 1:19.1.7-1 Severity: serious Tags: ftbfs patch Justification: RT X-Debbugs-Cc: noisyc...@tutanota.com
Dear Maintainer, starting from 2.43.90.20250202-1, binutils now suggests binutils-gold instead of depending on it [1]. As a consequence llvm must now depend explicitly on binutils-gold in order to avoid to FTBFS due to ld.gold not being available in the build: ``` CMake Error at cmake/modules/HandleLLVMOptions.cmake:396 (message): Host compiler does not support '-fuse-ld=gold'. Please make sure that 'gold' is installed and that your host compiler can compile a simple program when given the option '-fuse-ld=gold'. ``` You will find a patch in attachment, tested on arm64. Cheers! [1] https://tracker.debian.org/news/1612089/accepted-binutils-2439020250202-1-source-into-unstable/
--- a/debian/control +++ b/debian/control @@ -16,6 +16,7 @@ libipt-dev [amd64 i386], lcov, procps, help2man, zlib1g-dev, libzstd-dev, + binutils-gold, g++-multilib [amd64 i386 mips64 mips64el mipsel powerpc ppc64 s390x sparc sparc64 x32] | hello [amd64 i386 mips64 mips64el mipsel powerpc ppc64 s390x sparc sparc64 x32], libjs-mathjax, python3-myst-parser | python3-recommonmark, python3-pexpect, doxygen, time,