Bug#1095354: llvm-toolchain-17: FTBFS: Host compiler does not support '-fuse-ld=gold'
Santiago Vila
sanvila at debian.org
Fri Feb 7 12:11:51 GMT 2025
Package: src:llvm-toolchain-17
Version: 1:17.0.6-20
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --with ocaml
debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -rf build-llvm llvm/docs/_build/ clang/docs/_build tools/clang/docs/_html/
rm -rf cov-int/ reports/
rm -f `ls debian/*.in|grep -v control.in|sed -e "s|.in$||g"`
find utils -name '*.pyc' | xargs -r rm -f
# Use -I because a test has a space in its name
find lldb/test -iname '*.pyc' | xargs -I{} -r rm -f {}
rm -f /<<PKGBUILDDIR>>/utils/vim/llvm-17.vim /<<PKGBUILDDIR>>/utils/vim/tablegen-17.vim
rm -f /<<PKGBUILDDIR>>/clang/tools/clang-format/clang-format-diff-17
rm -f /<<PKGBUILDDIR>>/clang/tools/clang-format/clang-format-17.py
rm -rf libclc/build
rm -rf build-wasm
if test -f lld/docs/ld.lld-17.1; then \
mv lld/docs/ld.lld-17.1 lld/docs/ld.lld.1; \
fi
for f in debian/*.in; do \
if ! echo $f|grep control; then \
f2=$(echo $f | sed 's/\.in$//;s/X\.Y/17/'); \
rm -f $f2; \
fi; \
done
debian/control.in
if test "no" = "yes"; then \
patch -f -R -p1 < debian/patches/on-the-fly/use-scan-build-runtimes.diff||true; \
fi
: # for some reason, the docs are written to debian/usr and debian/man ...
rm -rf debian/usr debian/man
: # remove extra stamps
rm -f override_dh_auto_install
rm -rf stamps
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_clean
debian/rules binary
dh binary --with ocaml
dh_update_autotools_config
dh_autoreconf
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
if ! grep -qs '/proc ' /proc/mounts; then \
echo "/proc needs to be mounted"; \
exit 1; \
fi
if test "trixie" = "bookworm" -a "yes" = "no"; then \
echo "llvm spriv isn't detected while it should probably for this distro"; \
fi
Memory:
MemFree: 10721820 kB
Cached: 4380316 kB
SwapCached: 0 kB
SwapFree: 8388604 kB
Processors: 2
Used Processors: 2 (out of 2), 4500kb/processor
DEB_BUILD_OPTIONS=parallel=2
DEB_HOST_MULTIARCH=x86_64-linux-gnu
DEB_HOST_GNU_TYPE=x86_64-linux-gnu
DEB_HOST_ARCH_BITS=64
DEB_HOST_ARCH=amd64
DEB_HOST_ARCH_OS=linux
DISTRO=trixie
GCC_VERSION=14
PROJECTS=clang;clang-tools-extra;lld;cross-project-tests;mlir;bolt;flang;polly;openmp;lldb
RUNTIMES=compiler-rt;libcxx;libcxxabi;libunwind
LLVM_VERSION=17
LLVM_VERSION_FULL=17.0.6
LLVM_VERSION_SNAPSHOT=17.0.6-20
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
LD_LIBRARY_PATH=
RUNTIMES_CXXFLAGS=-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2
STAGE_1_CXXFLAGS=-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2
STAGE_2_CFLAGS=-Werror=implicit-function-declaration -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2
LDFLAGS_EXTRA=-Wl,--build-id,--as-needed
LIBFUZZER_ENABLE=yes
LTO_ENABLE=no
COMPILER_RT_WASM_ENABLE=
LIBCXX_WASM_ENABLE=yes
SCCACHE_ENABLE=no
LLVM_SPIRV=/usr/bin/llvm-spirv-17
LLVM_SPIRV_INSTALLED=yes
for f in debian/*.in; do \
f2=$(echo $f | sed 's/\.in$//;s/X\.Y/17/'); \
echo "$f => $f2"; \
sed -e 's|@DEB_HOST_MULTIARCH@|x86_64-linux-gnu|g' \
-e "s|@BRANCH_NAME@|17|g" \
-e "s|@OCAML_STDLIB_DIR@|/usr/lib/x86_64-linux-gnu/ocaml/5.3.0|g" \
-e "s|@LLVM_EPOCH@|1:|g" \
-e "s|@LLVM_VERSION_FULL@|17.0.6|g" \
-e "s|@LLVM_VERSION_NEXT@|17.0.7|g" \
-e "s|@LLVM_VERSION@|17|g" $f > $f2; \
done
debian/bolt-X.Y.install.in => debian/bolt-17.install
debian/clang-X.Y-doc.docs.in => debian/clang-17-doc.docs
debian/clang-X.Y-doc.install.in => debian/clang-17-doc.install
debian/clang-X.Y-examples.examples.in => debian/clang-17-examples.examples
debian/clang-X.Y.install.in => debian/clang-17.install
debian/clang-X.Y.links.in => debian/clang-17.links
debian/clang-X.Y.lintian-overrides.in => debian/clang-17.lintian-overrides
debian/clang-X.Y.manpages.in => debian/clang-17.manpages
debian/clang-format-X.Y.install.in => debian/clang-format-17.install
debian/clang-format-X.Y.lintian-overrides.in => debian/clang-format-17.lintian-overrides
debian/clang-format-X.Y.manpages.in => debian/clang-format-17.manpages
debian/clang-tidy-X.Y.install.in => debian/clang-tidy-17.install
debian/clang-tidy-X.Y.links.in => debian/clang-tidy-17.links
debian/clang-tidy-X.Y.lintian-overrides.in => debian/clang-tidy-17.lintian-overrides
debian/clang-tidy-X.Y.manpages.in => debian/clang-tidy-17.manpages
debian/clang-tools-X.Y.install.in => debian/clang-tools-17.install
debian/clang-tools-X.Y.links.in => debian/clang-tools-17.links
debian/clang-tools-X.Y.lintian-overrides.in => debian/clang-tools-17.lintian-overrides
debian/clang-tools-X.Y.manpages.in => debian/clang-tools-17.manpages
debian/clangd-X.Y.install.in => debian/clangd-17.install
debian/clangd-X.Y.manpages.in => debian/clangd-17.manpages
debian/control.in => debian/control
debian/flang-X.Y.install.in => debian/flang-17.install
debian/libbolt-X.Y-dev.install.in => debian/libbolt-17-dev.install
debian/libc++-X.Y-dev-wasm32.install.in => debian/libc++-17-dev-wasm32.install
debian/libc++-X.Y-dev-wasm32.links.in => debian/libc++-17-dev-wasm32.links
debian/libc++-X.Y-dev-wasm32.lintian-overrides.in => debian/libc++-17-dev-wasm32.lintian-overrides
debian/libc++-X.Y-dev.install.in => debian/libc++-17-dev.install
debian/libc++-X.Y-dev.links.in => debian/libc++-17-dev.links
debian/libc++-X.Y-dev.lintian-overrides.in => debian/libc++-17-dev.lintian-overrides
debian/libc++1-X.Yt64.install.in => debian/libc++1-17t64.install
debian/libc++1-X.Yt64.links.in => debian/libc++1-17t64.links
debian/libc++1-X.Yt64.lintian-overrides.in => debian/libc++1-17t64.lintian-overrides
debian/libc++abi-X.Y-dev-wasm32.install.in => debian/libc++abi-17-dev-wasm32.install
debian/libc++abi-X.Y-dev-wasm32.links.in => debian/libc++abi-17-dev-wasm32.links
debian/libc++abi-X.Y-dev-wasm32.lintian-overrides.in => debian/libc++abi-17-dev-wasm32.lintian-overrides
debian/libc++abi-X.Y-dev.install.in => debian/libc++abi-17-dev.install
debian/libc++abi-X.Y-dev.links.in => debian/libc++abi-17-dev.links
debian/libc++abi-X.Y-dev.lintian-overrides.in => debian/libc++abi-17-dev.lintian-overrides
debian/libc++abi1-X.Yt64.install.in => debian/libc++abi1-17t64.install
debian/libc++abi1-X.Yt64.links.in => debian/libc++abi1-17t64.links
debian/libc++abi1-X.Yt64.lintian-overrides.in => debian/libc++abi1-17t64.lintian-overrides
debian/libclang-X.Y-dev.install.in => debian/libclang-17-dev.install
debian/libclang-X.Y-dev.links.in => debian/libclang-17-dev.links
debian/libclang-common-X.Y-dev.install.in => debian/libclang-common-17-dev.install
debian/libclang-common-X.Y-dev.links.in => debian/libclang-common-17-dev.links
debian/libclang-cppX.Y-dev.install.in => debian/libclang-cpp17-dev.install
debian/libclang-cppX.Y-dev.links.in => debian/libclang-cpp17-dev.links
debian/libclang-cppX.Yt64.install.in => debian/libclang-cpp17t64.install
debian/libclang-cppX.Yt64.links.in => debian/libclang-cpp17t64.links
debian/libclang-cppX.Yt64.lintian-overrides.in => debian/libclang-cpp17t64.lintian-overrides
debian/libclang-rt-X.Y-dev-wasm32.install.in => debian/libclang-rt-17-dev-wasm32.install
debian/libclang-rt-X.Y-dev-wasm32.lintian-overrides.in => debian/libclang-rt-17-dev-wasm32.lintian-overrides
debian/libclang-rt-X.Y-dev-wasm64.install.in => debian/libclang-rt-17-dev-wasm64.install
debian/libclang-rt-X.Y-dev-wasm64.lintian-overrides.in => debian/libclang-rt-17-dev-wasm64.lintian-overrides
debian/libclang-rt-X.Y-dev.install.in => debian/libclang-rt-17-dev.install
debian/libclang-rt-X.Y-dev.lintian-overrides.in => debian/libclang-rt-17-dev.lintian-overrides
debian/libclang1-X.Yt64.install.in => debian/libclang1-17t64.install
debian/libclang1-X.Yt64.links.in => debian/libclang1-17t64.links
debian/libclang1-X.Yt64.lintian-overrides.in => debian/libclang1-17t64.lintian-overrides
debian/libclang1-X.Yt64.symbols.in => debian/libclang1-17t64.symbols
debian/libclc-X.Y-dev.install.in => debian/libclc-17-dev.install
debian/libclc-X.Y.install.in => debian/libclc-17.install
debian/libflang-X.Y-dev.install.in => debian/libflang-17-dev.install
debian/liblld-X.Y-dev.install.in => debian/liblld-17-dev.install
debian/liblld-X.Y.install.in => debian/liblld-17.install
debian/liblld-X.Y.links.in => debian/liblld-17.links
debian/liblldb-X.Y-dev.install.in => debian/liblldb-17-dev.install
debian/liblldb-X.Y-dev.links.in => debian/liblldb-17-dev.links
debian/liblldb-X.Yt64.install.in => debian/liblldb-17t64.install
debian/liblldb-X.Yt64.links.in => debian/liblldb-17t64.links
debian/liblldb-X.Yt64.lintian-overrides.in => debian/liblldb-17t64.lintian-overrides
debian/libllvm-X.Y-ocaml-dev.META.in => debian/libllvm-17-ocaml-dev.META
debian/libllvm-X.Y-ocaml-dev.dirs.in => debian/libllvm-17-ocaml-dev.dirs
debian/libllvm-X.Y-ocaml-dev.install.in => debian/libllvm-17-ocaml-dev.install
debian/libllvm-X.Y-ocaml-dev.lintian-overrides.in => debian/libllvm-17-ocaml-dev.lintian-overrides
debian/libllvmX.Yt64.install.in => debian/libllvm17t64.install
debian/libllvmX.Yt64.links.in => debian/libllvm17t64.links
debian/libllvmX.Yt64.lintian-overrides.in => debian/libllvm17t64.lintian-overrides
debian/libmlir-X.Y-dev.install.in => debian/libmlir-17-dev.install
debian/libmlir-X.Y-dev.lintian-overrides.in => debian/libmlir-17-dev.lintian-overrides
debian/libmlir-X.Yt64.install.in => debian/libmlir-17t64.install
debian/libmlir-X.Yt64.lintian-overrides.in => debian/libmlir-17t64.lintian-overrides
debian/libomp-X.Y-dev.install.in => debian/libomp-17-dev.install
debian/libomp-X.Y-dev.links.in => debian/libomp-17-dev.links
debian/libomp-X.Y-doc.docs.in => debian/libomp-17-doc.docs
debian/libomp-X.Y.links.in => debian/libomp-17.links
debian/libomp5-X.Yt64.install.in => debian/libomp5-17t64.install
debian/libomp5-X.Yt64.links.in => debian/libomp5-17t64.links
debian/libomp5-X.Yt64.lintian-overrides.in => debian/libomp5-17t64.lintian-overrides
debian/libomp5-X.Yt64.symbols.in => debian/libomp5-17t64.symbols
debian/libpolly-X.Y-dev.install.in => debian/libpolly-17-dev.install
debian/libpolly-X.Y-dev.lintian-overrides.in => debian/libpolly-17-dev.lintian-overrides
debian/libunwind-X.Y-dev.install.in => debian/libunwind-17-dev.install
debian/libunwind-X.Y-dev.links.in => debian/libunwind-17-dev.links
debian/libunwind-X.Y-dev.lintian-overrides.in => debian/libunwind-17-dev.lintian-overrides
debian/libunwind-X.Yt64.install.in => debian/libunwind-17t64.install
debian/libunwind-X.Yt64.links.in => debian/libunwind-17t64.links
debian/libunwind-X.Yt64.lintian-overrides.in => debian/libunwind-17t64.lintian-overrides
debian/lld-X.Y.install.in => debian/lld-17.install
debian/lld-X.Y.manpages.in => debian/lld-17.manpages
debian/lldb-X.Y.install.in => debian/lldb-17.install
debian/lldb-X.Y.links.in => debian/lldb-17.links
debian/lldb-X.Y.lintian-overrides.in => debian/lldb-17.lintian-overrides
debian/lldb-X.Y.manpages.in => debian/lldb-17.manpages
debian/lldb-X.Y.postinst.in => debian/lldb-17.postinst
debian/llvm-X.Y-dev.dirs.in => debian/llvm-17-dev.dirs
debian/llvm-X.Y-dev.install.in => debian/llvm-17-dev.install
debian/llvm-X.Y-dev.links.in => debian/llvm-17-dev.links
debian/llvm-X.Y-doc.dirs.in => debian/llvm-17-doc.dirs
debian/llvm-X.Y-doc.install.in => debian/llvm-17-doc.install
debian/llvm-X.Y-examples.dirs.in => debian/llvm-17-examples.dirs
debian/llvm-X.Y-examples.examples.in => debian/llvm-17-examples.examples
debian/llvm-X.Y-linker-tools.install.in => debian/llvm-17-linker-tools.install
debian/llvm-X.Y-linker-tools.links.in => debian/llvm-17-linker-tools.links
debian/llvm-X.Y-runtime.binfmt.conf.in => debian/llvm-17-runtime.binfmt.conf
debian/llvm-X.Y-runtime.binfmt.in => debian/llvm-17-runtime.binfmt
debian/llvm-X.Y-runtime.install.in => debian/llvm-17-runtime.install
debian/llvm-X.Y-runtime.lintian-overrides.in => debian/llvm-17-runtime.lintian-overrides
debian/llvm-X.Y-runtime.manpages.in => debian/llvm-17-runtime.manpages
debian/llvm-X.Y-runtime.postinst.in => debian/llvm-17-runtime.postinst
debian/llvm-X.Y-runtime.prerm.in => debian/llvm-17-runtime.prerm
debian/llvm-X.Y-tools.dirs.in => debian/llvm-17-tools.dirs
debian/llvm-X.Y-tools.install.in => debian/llvm-17-tools.install
debian/llvm-X.Y.dirs.in => debian/llvm-17.dirs
debian/llvm-X.Y.install.in => debian/llvm-17.install
debian/llvm-X.Y.lintian-overrides.in => debian/llvm-17.lintian-overrides
debian/llvm-X.Y.manpages.in => debian/llvm-17.manpages
debian/mlir-X.Y-tools.install.in => debian/mlir-17-tools.install
debian/pollycc.in => debian/pollycc
debian/python3-clang-X.Y.install.in => debian/python3-clang-17.install
debian/python3-lldb-X.Y.install.in => debian/python3-lldb-17.install
debian/python3-lldb-X.Y.links.in => debian/python3-lldb-17.links
# Make install file executable for dh-exec
chmod +x \
debian/clang-tools-17.install \
debian/libclang-17-dev.install \
debian/libclang-rt-17-dev.install \
debian/libpolly-17-dev.install \
debian/libomp-17-dev.install \
debian/libomp5-17t64.install \
debian/llvm-17-dev.install \
debian/llvm-17-linker-tools.install \
debian/llvm-17-linker-tools.links \
debian/libbolt-17-dev.install
# workaround the breaks/replaces/conflicts introduced with the libc++ move
# we update the version to make it work with apt.llvm.org
# Yeah, this is ugly but I don't know how to do better
if test "17" = "17"; then \
sed -i -e "s|(<< 1:17.0.6-2)|(<< 1:17.0.6~++20231206041259)|g" debian/control; \
fi
# llvm-spirv was found, so we can enable *.spv files. Debian
# buster and Ubuntu 18.04 don't have llvm-spirv to create the
# *.spv files.
if test "yes" = "yes"; then \
sed -i -e "s|#spv\ ||g" debian/libclc-17.install; \
fi
# disable libc++-X.Y-dev-wasm32.install.in on old distro
if test "yes" = "no"; then \
echo "" > debian/libc++-17-dev-wasm32.install; \
echo "" > debian/libc++abi-17-dev-wasm32.install; \
else \
if ! dpkg -l|grep -q wasi-libc; then \
echo "Could not find wasi-libc on the system"; \
echo "Please check that the package is available on the system"; \
echo "it might be that the 'hello' package is installed by another constraint"; \
exit 1; \
fi; \
fi
# Conditionally enable install clangd grpc files
if test "yes" = "yes"; then \
sed -i -e "s|#grpc\ ||g" debian/libclang-17-dev.install; \
fi
if ! dh_listpackages|grep -q clang-17; then \
echo "Could not find clang-17 in the list of packages"; \
echo "Refresh debian/control ?"; \
echo "Package list:"; \
dh_listpackages; \
exit 1; \
fi
touch stamps/preconfigure
echo "Using gcc: "
Using gcc:
gcc-14 -v
Using built-in specs.
COLLECT_GCC=gcc-14
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/14/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 14.2.0-16' --with-bugurl=file:///usr/share/doc/gcc-14/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2,rust --prefix=/usr --with-gcc-major-version-only --program-suffix=-14 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/reproducible-path/gcc-14-14.2.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/reproducible-path/gcc-14-14.2.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=3
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 14.2.0 (Debian 14.2.0-16)
g++-14 -v
Using built-in specs.
COLLECT_GCC=g++-14
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/14/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 14.2.0-16' --with-bugurl=file:///usr/share/doc/gcc-14/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2,rust --prefix=/usr --with-gcc-major-version-only --program-suffix=-14 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/reproducible-path/gcc-14-14.2.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/reproducible-path/gcc-14-14.2.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=3
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 14.2.0 (Debian 14.2.0-16)
mkdir -p build-llvm
rm -rf build
if test "no" = "yes"; then \
patch -f -p1 < debian/patches/on-the-fly/use-scan-build-runtimes.diff||true; \
fi
# Configure coverity (we need the compilers) + work around perf issues
(if test 0 -eq 1; then \
export PATH=$PATH:/opt/cov-analysis/bin/; \
cov-configure --compiler clang --comptype clang; \
cov-configure --compiler gcc-14 --comptype gcc; \
cov-configure --compiler g++-14 --comptype gcc; \
cov-configure -co /usr/bin/g++-14 --comptype gcc -- -fPIC -std=c++11; \
cov-configure -co /usr/bin/gcc-14 --comptype gcc -- -fPIC; \
cov-configure -co /usr/bin/g++-14 --comptype gcc -- -fPIC -std=c++11 -fno-exceptions; \
cov-configure -co /usr/bin/g++-14 --comptype gcc --template \
--xml-option append_arg:"--ppp_translator" \
--xml-option append_arg:"replace/llvm::AlignOf<PrevTy>::Alignment/(llvm::AlignOf<PrevTy>::Alignment)" \
--xml-option append_arg:"--ppp_translator" \
--xml-option append_arg:"replace/llvm::AlignOf<NextTy>::Alignment/(llvm::AlignOf<NextTy>::Alignment)"; \
cov-configure --compiler c++ --comptype g++ --template \
--xml-option append_arg:"--ppp_translator" \
--xml-option append_arg:"replace/llvm::AlignOf<PrevTy>::Alignment/(llvm::AlignOf<PrevTy>::Alignment)" \
--xml-option append_arg:"--ppp_translator" \
--xml-option append_arg:"replace/llvm::AlignOf<NextTy>::Alignment/(llvm::AlignOf<NextTy>::Alignment)"; \
fi)
echo "Running tests: yes"
Running tests: yes
echo "Using cmake: cmake"; \
LD_LIBRARY_PATH=$LD_LIBRARY_PATH \
cmake -S llvm/ -B build-llvm \
-G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr/lib/llvm-17 \
-DLLVM_VERSION_SUFFIX= \
-DCMAKE_SUPPRESS_REGENERATION=ON \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_FLAGS="-Werror=implicit-function-declaration -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2" \
-DCMAKE_CXX_FLAGS="-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2" \
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,-z,relro -Wl,--build-id,--as-needed" \
-DCMAKE_MODULE_LINKER_FLAGS="-Wl,-z,relro -Wl,--build-id,--as-needed" \
-DCMAKE_EXE_LINKER_FLAGS="-Wl,-z,relro -Wl,--build-id,--as-needed" \
-DPACKAGE_VENDOR=Debian \
-DENABLE_LINKER_BUILD_ID=ON \
-DLLVM_TARGETS_TO_BUILD=Native \
-DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;lld;cross-project-tests;mlir;bolt;flang;polly;openmp;lldb" \
-DLLVM_ENABLE_RUNTIMES="compiler-rt;libcxx;libcxxabi;libunwind" \
-DLLVM_ENABLE_PIC=ON \
-DLLVM_ENABLE_RTTI=ON \
-DLLVM_BUILD_DOCS=OFF \
-DLLVM_INCLUDE_GO_TESTS=OFF \
-DLLVM_USE_RELATIVE_PATHS_IN_FILES=ON \
-DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=ON \
-DLLVM_ENABLE_CURL=ON \
-DLLVM_USE_RELATIVE_PATHS_IN_DEBUG_INFO=ON \
-DCLANG_PLUGIN_SUPPORT=OFF \
-DCLANG_BUILD_EXAMPLES=OFF \
-DCLANG_DEFAULT_LINKER=ld \
-DCLANG_DEFAULT_RTLIB=libgcc \
-DCOMPILER_RT_BUILD_XRAY=OFF \
-DCOMPILER_RT_INCLUDE_TESTS=OFF \
-DCOMPILER_RT_USE_LIBCXX=OFF \
-DCOMPILER_RT_USE_BUILTINS_LIBRARY=ON \
-DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON \
-DLIBUNWIND_USE_COMPILER_RT=ON \
-DLIBUNWIND_INSTALL_LIBRARY=OFF \
-DLIBCXXABI_ENABLE_EXCEPTIONS=ON \
-DLIBCXXABI_USE_COMPILER_RT=ON \
-DLIBCXXABI_INSTALL_LIBRARY=OFF \
-DLIBCXX_ENABLE_EXCEPTIONS=ON \
-DLIBCXX_USE_COMPILER_RT=ON \
-DLIBCXX_ENABLE_STATIC_ABI_LIBRARY=ON \
-DLIBCXX_STATICALLY_LINK_ABI_IN_STATIC_LIBRARY=ON \
-DLIBCXX_STATICALLY_LINK_ABI_IN_SHARED_LIBRARY=OFF \
-DLIBCXX_INSTALL_LIBRARY=OFF \
-DOPENMP_ENABLE_LIBOMP_PROFILING=OFF \
-DOPENMP_ENABLE_LIBOMPTARGET_PROFILING=OFF \
-DLIBOMP_ENABLE_RTTI=OFF \
-DLIBOMP_OMPT_SUPPORT=OFF \
-DCLANG_FORCE_MATCHING_LIBCLANG_SOVERSION=ON \
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="M68k;Xtensa" \
-DLLVM_USE_LINKER=gold -DLLVM_BINUTILS_INCDIR=/usr/include/ -DLIBCXXABI_USE_LLVM_UNWINDER=ON -DLIBOMP_LIBFLAGS="-lm" -DOPENMP_USE_LLVM_UNWINDER=ON -DMLIR_INSTALL_AGGREGATE_OBJECTS=OFF -DLLDB_ENABLE_LUA=OFF \
-DBUILTINS_CMAKE_ARGS="-DCMAKE_C_FLAGS=-Werror=implicit-function-declaration -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2;-DCMAKE_CXX_FLAGS=-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2;-DCMAKE_EXE_LINKER_FLAGS=-Wl,-z,relro -Wl,--build-id,--as-needed;-DCMAKE_SHARED_LINKER_FLAGS=-Wl,-z,relro -Wl,--build-id,--as-needed;-DCMAKE_MODULE_LINKER_FLAGS=-Wl,-z,relro -Wl,--build-id,--as-needed;-DCMAKE_BUILD_TYPE=Release;-DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF" \
-DRUNTIMES_CMAKE_ARGS="-DCMAKE_C_FLAGS=-Werror=implicit-function-declaration -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2;-DCMAKE_CXX_FLAGS=-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2;-DCMAKE_EXE_LINKER_FLAGS=-Wl,-z,relro -Wl,--build-id,--as-needed;-DCMAKE_SHARED_LINKER_FLAGS=-Wl,-z,relro -Wl,--build-id,--as-needed;-DCMAKE_MODULE_LINKER_FLAGS=-Wl,-z,relro -Wl,--build-id,--as-needed;-DCMAKE_BUILD_TYPE=Release;-DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF" \
-DCLANG_ENABLE_BOOTSTRAP=ON \
-DCLANG_BOOTSTRAP_TARGETS="check-all;check-llvm;check-clang;check-clang-tools;check-lld;check-libcxx;check-libcxxabi;check-mlir;check-sanitizer;llvm-config;test-suite" \
-DCLANG_BOOTSTRAP_PASSTHROUGH="CMAKE_INSTALL_PREFIX;CMAKE_SUPPRESS_REGENERATION;ENABLE_LINKER_BUILD_ID;LLVM_ENABLE_PIC;LLVM_ENABLE_RTTI;LLVM_INCLUDE_GO_TESTS;LLVM_USE_RELATIVE_PATHS_IN_FILES;CLANG_DEFAULT_LINKER;CLANG_DEFAULT_CXX_STDLIB;CLANG_DEFAULT_RTLIB;COMPILER_RT_USE_LIBCXX;COMPILER_RT_USE_BUILTINS_LIBRARY;COMPILER_RT_DEFAULT_TARGET_ONLY;COMPILER_RT_INCLUDE_TESTS;LIBUNWIND_USE_COMPILER_RT;LIBCXXABI_ENABLE_EXCEPTIONS;LIBCXXABI_USE_COMPILER_RT;LIBCXX_USE_COMPILER_RT;LIBCXX_ENABLE_EXCEPTIONS;LIBCXX_ENABLE_STATIC_ABI_LIBRARY;LIBCXX_STATICALLY_LINK_ABI_IN_STATIC_LIBRARY;LIBCXX_STATICALLY_LINK_ABI_IN_SHARED_LIBRARY;LIBOMP_ENABLE_RTTI;LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN;CLANG_FORCE_MATCHING_LIBCLANG_SOVERSION;CMAKE_C_COMPILER_LAUNCHER;CMAKE_CXX_COMPILER_LAUNCHER" \
-DBOOTSTRAP_CMAKE_BUILD_TYPE=RelWithDebInfo \
-DBOOTSTRAP_CMAKE_C_FLAGS_RELWITHDEBINFO="-O2 -DNDEBUG -g1" \
-DBOOTSTRAP_CMAKE_CXX_FLAGS_RELWITHDEBINFO="-O2 -DNDEBUG -g1" \
-DBOOTSTRAP_CMAKE_C_FLAGS="-Werror=implicit-function-declaration -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2" \
-DBOOTSTRAP_CMAKE_CXX_FLAGS="-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2" \
-DBOOTSTRAP_CMAKE_SHARED_LINKER_FLAGS="-Wl,-z,relro -Wl,--build-id,--as-needed" \
-DBOOTSTRAP_CMAKE_MODULE_LINKER_FLAGS="-Wl,-z,relro -Wl,--build-id,--as-needed" \
-DBOOTSTRAP_CMAKE_EXE_LINKER_FLAGS="-Wl,-z,relro -Wl,--build-id,--as-needed" \
-DBOOTSTRAP_LLVM_ENABLE_FFI=ON \
-DBOOTSTRAP_LLVM_ENABLE_DUMP=ON \
-DBOOTSTRAP_LLVM_ENABLE_LIBPFM=ON \
-DBOOTSTRAP_LLVM_ENABLE_SPHINX=ON \
-DBOOTSTRAP_CLANG_DEFAULT_PIE_ON_LINUX=ON \
-DBOOTSTRAP_SPHINX_WARNINGS_AS_ERRORS=OFF \
-DBOOTSTRAP_LLVM_USE_RELATIVE_PATHS_IN_FILES=ON \
-DBOOTSTRAP_LLVM_INSTALL_UTILS=ON \
-DBOOTSTRAP_LLVM_VERSION_SUFFIX= \
-DBOOTSTRAP_LLVM_POLLY_LINK_INTO_TOOLS=ON \
-DBOOTSTRAP_LLVM_EXPERIMENTAL_TARGETS_TO_BUILD="M68k;Xtensa" \
-DBOOTSTRAP_LLVM_LINK_LLVM_DYLIB=ON \
-DBOOTSTRAP_LLVM_ENABLE_CURL=ON \
-DBOOTSTRAP_CLANG_LINK_CLANG_DYLIB=ON \
-DBOOTSTRAP_LIBCLANG_LIBRARY_VERSION=1 \
-DBOOTSTRAP_LIBCXX_INSTALL_EXPERIMENTAL_LIBRARY=ON \
-DBOOTSTRAP_PYTHON_EXECUTABLE=/usr/bin/python3 \
-DBOOTSTRAP_CLANG_REPOSITORY_STRING=20 -DBOOTSTRAP_LLVM_ENABLE_Z3_SOLVER=ON -DBOOTSTRAP_CLANG_SYSTEMZ_DEFAULT_ARCH=z196 -DBOOTSTRAP_CLANGD_ENABLE_REMOTE=ON -DBOOTSTRAP_LLVM_USE_PERF=ON -DBOOTSTRAP_LLVM_ENABLE_LIBPFM=ON -DBOOTSTRAP_LLVM_USE_LINKER=gold -DBOOTSTRAP_LLVM_BINUTILS_INCDIR=/usr/include/ -DBOOTSTRAP_LIBCXXABI_USE_LLVM_UNWINDER=ON -DBOOTSTRAP_LIBOMP_LIBFLAGS="-lm" -DBOOTSTRAP_OPENMP_USE_LLVM_UNWINDER=ON -DBOOTSTRAP_MLIR_INSTALL_AGGREGATE_OBJECTS=OFF -DBOOTSTRAP_LLDB_ENABLE_LUA=OFF \
-DBOOTSTRAP_BUILTINS_CMAKE_ARGS="-DCMAKE_C_FLAGS=-Werror=implicit-function-declaration -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2;-DCMAKE_CXX_FLAGS=-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2;-DCMAKE_EXE_LINKER_FLAGS=-Wl,-z,relro -Wl,--build-id,--as-needed;-DCMAKE_SHARED_LINKER_FLAGS=-Wl,-z,relro -Wl,--build-id,--as-needed;-DCMAKE_MODULE_LINKER_FLAGS=-Wl,-z,relro -Wl,--build-id,--as-needed;-DCMAKE_BUILD_TYPE=RelWithDebInfo;-DCMAKE_C_FLAGS_RELWITHDEBINFO=-O2 -DNDEBUG -g1;-DCMAKE_CXX_FLAGS_RELWITHDEBINFO=-O2 -DNDEBUG -g1;-DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF" \
-DBOOTSTRAP_RUNTIMES_CMAKE_ARGS="-DCMAKE_C_FLAGS=-Werror=implicit-function-declaration -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2;-DCMAKE_CXX_FLAGS=-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2;-DCMAKE_EXE_LINKER_FLAGS=-Wl,-z,relro -Wl,--build-id,--as-needed -L/<<PKGBUILDDIR>>/build-llvm/lib;-DCMAKE_SHARED_LINKER_FLAGS=-Wl,-z,relro -Wl,--build-id,--as-needed -L/<<PKGBUILDDIR>>/build-llvm/lib;-DCMAKE_MODULE_LINKER_FLAGS=-Wl,-z,relro -Wl,--build-id,--as-needed -L/<<PKGBUILDDIR>>/build-llvm/lib;-DCMAKE_BUILD_TYPE=RelWithDebInfo;-DCMAKE_C_FLAGS_RELWITHDEBINFO=-O2 -DNDEBUG -g1;-DCMAKE_CXX_FLAGS_RELWITHDEBINFO=-O2 -DNDEBUG -g1;-DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF"
Using cmake: cmake
CMake Deprecation Warning at /<<PKGBUILDDIR>>/cmake/Modules/CMakePolicy.cmake:6 (cmake_policy):
The OLD behavior for policy CMP0114 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
Call Stack (most recent call first):
CMakeLists.txt:6 (include)
CMake Deprecation Warning at /<<PKGBUILDDIR>>/cmake/Modules/CMakePolicy.cmake:11 (cmake_policy):
The OLD behavior for policy CMP0116 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
Call Stack (most recent call first):
CMakeLists.txt:6 (include)
-- The C compiler identification is GNU 14.2.0
-- The CXX compiler identification is GNU 14.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/gcc-14
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc-14 - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++-14 - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- bolt project is enabled
-- clang project is enabled
-- clang-tools-extra project is enabled
-- compiler-rt project is disabled
-- cross-project-tests project is enabled
-- libc project is disabled
-- libclc project is disabled
-- lld project is enabled
-- lldb project is enabled
-- mlir project is enabled
-- openmp project is enabled
-- polly project is enabled
-- pstl project is disabled
-- flang project is enabled
-- Found Python3: /usr/bin/python3 (found suitable version "3.13.2", minimum required is "3.5") found components: Interpreter
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Looking for errno.h
-- Looking for errno.h - found
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Looking for link.h
-- Looking for link.h - found
-- Looking for malloc/malloc.h
-- Looking for malloc/malloc.h - not found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for signal.h
-- Looking for signal.h - found
-- Looking for sys/ioctl.h
-- Looking for sys/ioctl.h - found
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Looking for sys/param.h
-- Looking for sys/param.h - found
-- Looking for sys/resource.h
-- Looking for sys/resource.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for sysexits.h
-- Looking for sysexits.h - found
-- Looking for termios.h
-- Looking for termios.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for valgrind/valgrind.h
-- Looking for valgrind/valgrind.h - not found
-- Looking for fenv.h
-- Looking for fenv.h - found
-- Looking for FE_ALL_EXCEPT
-- Looking for FE_ALL_EXCEPT - found
-- Looking for FE_INEXACT
-- Looking for FE_INEXACT - found
-- Performing Test HAVE_BUILTIN_THREAD_POINTER
-- Performing Test HAVE_BUILTIN_THREAD_POINTER - Success
-- Looking for mach/mach.h
-- Looking for mach/mach.h - not found
-- Looking for CrashReporterClient.h
-- Looking for CrashReporterClient.h - not found
-- Looking for linux/magic.h
-- Looking for linux/magic.h - found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Looking for pthread_rwlock_init in pthread
-- Looking for pthread_rwlock_init in pthread - found
-- Looking for pthread_mutex_lock in pthread
-- Looking for pthread_mutex_lock in pthread - found
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for pfm_initialize in pfm
-- Looking for pfm_initialize in pfm - found
-- Looking for perfmon/perf_event.h
-- Looking for perfmon/perf_event.h - found
-- Looking for perfmon/pfmlib.h
-- Looking for perfmon/pfmlib.h - found
-- Looking for perfmon/pfmlib_perf_event.h
-- Looking for perfmon/pfmlib_perf_event.h - found
-- Performing Test COMPILE_WITH_CYCLES
-- Performing Test COMPILE_WITH_CYCLES - Success
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.3.1")
-- Looking for compress2
-- Looking for compress2 - found
-- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version "2.9.14")
-- Looking for xmlReadMemory
-- Looking for xmlReadMemory - found
-- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found version "8.11.1")
-- Looking for curl_easy_init
-- Looking for curl_easy_init - found
-- Looking for histedit.h
-- Looking for histedit.h - found
-- Found LibEdit: /usr/include (found version "2.11")
-- Performing Test Terminfo_LINKABLE
-- Performing Test Terminfo_LINKABLE - Success
-- Found Terminfo: /usr/lib/x86_64-linux-gnu/libtinfo.so
-- Looking for xar_open in xar
-- Looking for xar_open in xar - not found
-- Looking for arc4random
-- Looking for arc4random - found
-- Looking for backtrace
-- Looking for backtrace - found
-- backtrace facility detected in default set of libraries
-- Found Backtrace: /usr/include
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed
-- Looking for __register_frame
-- Looking for __register_frame - found
-- Looking for __deregister_frame
-- Looking for __deregister_frame - found
-- Looking for __unw_add_dynamic_fde
-- Looking for __unw_add_dynamic_fde - not found
-- Looking for _Unwind_Backtrace
-- Looking for _Unwind_Backtrace - found
-- Looking for getpagesize
-- Looking for getpagesize - found
-- Looking for sysconf
-- Looking for sysconf - found
-- Looking for getrusage
-- Looking for getrusage - found
-- Looking for setrlimit
-- Looking for setrlimit - found
-- Looking for isatty
-- Looking for isatty - found
-- Looking for futimens
-- Looking for futimens - found
-- Looking for futimes
-- Looking for futimes - found
-- Looking for sigaltstack
-- Looking for sigaltstack - found
-- Looking for mallctl
-- Looking for mallctl - not found
-- Looking for mallinfo
-- Looking for mallinfo - found
-- Looking for mallinfo2
-- Looking for mallinfo2 - found
-- Looking for malloc_zone_statistics
-- Looking for malloc_zone_statistics - not found
-- Looking for getrlimit
-- Looking for getrlimit - found
-- Looking for posix_spawn
-- Looking for posix_spawn - found
-- Looking for pread
-- Looking for pread - found
-- Looking for sbrk
-- Looking for sbrk - found
-- Looking for strerror_r
-- Looking for strerror_r - found
-- Looking for strerror_s
-- Looking for strerror_s - not found
-- Looking for setenv
-- Looking for setenv - found
-- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC
-- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC - Failed
-- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC
-- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC - Success
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Looking for pthread_getname_np
-- Looking for pthread_getname_np - found
-- Looking for pthread_setname_np
-- Looking for pthread_setname_np - found
-- Looking for dlopen
-- Looking for dlopen - found
-- Looking for dladdr
-- Looking for dladdr - found
-- Looking for proc_pid_rusage
-- Looking for proc_pid_rusage - not found
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success
-- Performing Test LLVM_HAS_ATOMICS
-- Performing Test LLVM_HAS_ATOMICS - Success
-- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG
-- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG - Success
-- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG
-- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG - Failed
-- Performing Test HAS_MAYBE_UNINITIALIZED
-- Performing Test HAS_MAYBE_UNINITIALIZED - Success
-- Native target architecture is X86
-- Threads enabled.
-- Doxygen disabled.
-- Ninja version: 1.12.1
-- Found OCaml: /usr/bin/ocamlfind
-- OCaml bindings enabled.
-- Found Python module pygments
-- Found Python module pygments.lexers.c_cpp
-- Could NOT find Python module yaml
-- LLVM host triple: x86_64-pc-linux-gnu
-- LLVM default target triple: x86_64-pc-linux-gnu
-- Performing Test CXX_SUPPORTS_CUSTOM_LINKER
-- Performing Test CXX_SUPPORTS_CUSTOM_LINKER - Failed
CMake Error at cmake/modules/HandleLLVMOptions.cmake:330 (message):
Host compiler does not support '-fuse-ld=gold'
Call Stack (most recent call first):
CMakeLists.txt:903 (include)
-- Configuring incomplete, errors occurred!
make[1]: *** [debian/rules:702: stamps/configure] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:563: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202502/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:llvm-toolchain-17, so that this is still
visible in the BTS web page for this package.
Thanks.
More information about the Pkg-llvm-team
mailing list