Bug#1096250: llvm-toolchain-18: FTBFS: make[1]: *** [debian/rules:748: stamps/configure] Error 1
Lucas Nussbaum
lucas at debian.org
Mon Feb 17 16:12:49 GMT 2025
Source: llvm-toolchain-18
Version: 1:18.1.8-16
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20250215 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/build/reproducible-path/llvm-toolchain-18-18.1.8'
> 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: 24462980 kB
> Cached: 5778204 kB
> SwapCached: 0 kB
> SwapFree: 0 kB
> Processors: 8
> Used Processors: 6 (out of 8), 4500kb/processor
> DEB_BUILD_OPTIONS=parallel=8
> 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
> DEB_BUILD_MAINT_OPTIONS=reproducible=-fixfilepath,-fixdebugpath optimize=-lto
> 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;libc;libunwind
> LLVM_VERSION=18
> LLVM_VERSION_MINOR=1
> LLVM_VERSION_FULL=18.1.8
> LLVM_VERSION_SNAPSHOT=18.1.8-16
> 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
> LIBFUZZER_ENABLE=yes
> THINLTO_ENABLE=no
> COMPILER_RT_WASM_ENABLE=
> LIBCXX_WASM_ENABLE=yes
> SCCACHE_ENABLE=no
> LIBC_ENABLE=yes
> MOLD_ENABLE=no
> LLVM_SPIRV=/usr/bin/llvm-spirv-18
> LLVM_SPIRV_INSTALLED=yes
> DOC_GENERATION=yes
> control_vars='-Vdep:devlibs=libstdc++-14-dev, libgcc-14-dev' '-Vdep:devlibs-objc=libobjc-14-dev'
> for f in debian/*.in; do \
> f2=$(echo $f | sed 's/\.in$//;s/X\.Y/18/'); \
> echo "$f => $f2"; \
> sed -e 's|@DEB_HOST_MULTIARCH@|x86_64-linux-gnu|g' \
> -e "s|@BRANCH_NAME@|18|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@|18.1.8|g" \
> -e "s|@LLVM_VERSION_MINOR@|1|g" \
> -e "s|@LLVM_VERSION_NEXT@|18.1.9|g" \
> -e "s|@LLVM_VERSION@|18|g" $f > $f2; \
> done
> debian/bolt-X.Y.install.in => debian/bolt-18.install
> debian/clang-X.Y-doc.docs.in => debian/clang-18-doc.docs
> debian/clang-X.Y-doc.install.in => debian/clang-18-doc.install
> debian/clang-X.Y-examples.examples.in => debian/clang-18-examples.examples
> debian/clang-X.Y.install.in => debian/clang-18.install
> debian/clang-X.Y.links.in => debian/clang-18.links
> debian/clang-X.Y.lintian-overrides.in => debian/clang-18.lintian-overrides
> debian/clang-X.Y.manpages.in => debian/clang-18.manpages
> debian/clang-format-X.Y.install.in => debian/clang-format-18.install
> debian/clang-format-X.Y.lintian-overrides.in => debian/clang-format-18.lintian-overrides
> debian/clang-format-X.Y.manpages.in => debian/clang-format-18.manpages
> debian/clang-tidy-X.Y.install.in => debian/clang-tidy-18.install
> debian/clang-tidy-X.Y.links.in => debian/clang-tidy-18.links
> debian/clang-tidy-X.Y.lintian-overrides.in => debian/clang-tidy-18.lintian-overrides
> debian/clang-tidy-X.Y.manpages.in => debian/clang-tidy-18.manpages
> debian/clang-tools-X.Y.install.in => debian/clang-tools-18.install
> debian/clang-tools-X.Y.links.in => debian/clang-tools-18.links
> debian/clang-tools-X.Y.lintian-overrides.in => debian/clang-tools-18.lintian-overrides
> debian/clang-tools-X.Y.manpages.in => debian/clang-tools-18.manpages
> debian/clangd-X.Y.install.in => debian/clangd-18.install
> debian/clangd-X.Y.manpages.in => debian/clangd-18.manpages
> debian/control.in => debian/control
> debian/flang-X.Y.install.in => debian/flang-18.install
> debian/libbolt-X.Y-dev.install.in => debian/libbolt-18-dev.install
> debian/libc++-X.Y-dev-wasm32.install.in => debian/libc++-18-dev-wasm32.install
> debian/libc++-X.Y-dev-wasm32.links.in => debian/libc++-18-dev-wasm32.links
> debian/libc++-X.Y-dev-wasm32.lintian-overrides.in => debian/libc++-18-dev-wasm32.lintian-overrides
> debian/libc++-X.Y-dev.install.in => debian/libc++-18-dev.install
> debian/libc++-X.Y-dev.links.in => debian/libc++-18-dev.links
> debian/libc++-X.Y-dev.lintian-overrides.in => debian/libc++-18-dev.lintian-overrides
> debian/libc++1-X.Y.install.in => debian/libc++1-18.install
> debian/libc++1-X.Y.links.in => debian/libc++1-18.links
> debian/libc++1-X.Y.lintian-overrides.in => debian/libc++1-18.lintian-overrides
> debian/libc++abi-X.Y-dev-wasm32.install.in => debian/libc++abi-18-dev-wasm32.install
> debian/libc++abi-X.Y-dev-wasm32.links.in => debian/libc++abi-18-dev-wasm32.links
> debian/libc++abi-X.Y-dev-wasm32.lintian-overrides.in => debian/libc++abi-18-dev-wasm32.lintian-overrides
> debian/libc++abi-X.Y-dev.install.in => debian/libc++abi-18-dev.install
> debian/libc++abi-X.Y-dev.links.in => debian/libc++abi-18-dev.links
> debian/libc++abi-X.Y-dev.lintian-overrides.in => debian/libc++abi-18-dev.lintian-overrides
> debian/libc++abi1-X.Y.install.in => debian/libc++abi1-18.install
> debian/libc++abi1-X.Y.links.in => debian/libc++abi1-18.links
> debian/libc++abi1-X.Y.lintian-overrides.in => debian/libc++abi1-18.lintian-overrides
> debian/libclang-X.Y-dev.install.in => debian/libclang-18-dev.install
> debian/libclang-X.Y-dev.links.in => debian/libclang-18-dev.links
> debian/libclang-common-X.Y-dev.install.in => debian/libclang-common-18-dev.install
> debian/libclang-common-X.Y-dev.links.in => debian/libclang-common-18-dev.links
> debian/libclang-cppX.Y-dev.install.in => debian/libclang-cpp18-dev.install
> debian/libclang-cppX.Y-dev.links.in => debian/libclang-cpp18-dev.links
> debian/libclang-cppX.Y.install.in => debian/libclang-cpp18.install
> debian/libclang-cppX.Y.links.in => debian/libclang-cpp18.links
> debian/libclang-rt-X.Y-dev-wasm32.install.in => debian/libclang-rt-18-dev-wasm32.install
> debian/libclang-rt-X.Y-dev-wasm32.lintian-overrides.in => debian/libclang-rt-18-dev-wasm32.lintian-overrides
> debian/libclang-rt-X.Y-dev-wasm64.install.in => debian/libclang-rt-18-dev-wasm64.install
> debian/libclang-rt-X.Y-dev-wasm64.lintian-overrides.in => debian/libclang-rt-18-dev-wasm64.lintian-overrides
> debian/libclang-rt-X.Y-dev.install.in => debian/libclang-rt-18-dev.install
> debian/libclang-rt-X.Y-dev.lintian-overrides.in => debian/libclang-rt-18-dev.lintian-overrides
> debian/libclang1-X.Y.install.in => debian/libclang1-18.install
> debian/libclang1-X.Y.links.in => debian/libclang1-18.links
> debian/libclang1-X.Y.lintian-overrides.in => debian/libclang1-18.lintian-overrides
> debian/libclang1-X.Y.symbols.in => debian/libclang1-18.symbols
> debian/libclc-X.Y-dev.install.in => debian/libclc-18-dev.install
> debian/libclc-X.Y.install.in => debian/libclc-18.install
> debian/libflang-X.Y-dev.install.in => debian/libflang-18-dev.install
> debian/liblld-X.Y-dev.install.in => debian/liblld-18-dev.install
> debian/liblld-X.Y.install.in => debian/liblld-18.install
> debian/liblld-X.Y.links.in => debian/liblld-18.links
> debian/liblldb-X.Y-dev.install.in => debian/liblldb-18-dev.install
> debian/liblldb-X.Y-dev.links.in => debian/liblldb-18-dev.links
> debian/liblldb-X.Y.install.in => debian/liblldb-18.install
> debian/liblldb-X.Y.links.in => debian/liblldb-18.links
> debian/liblldb-X.Y.lintian-overrides.in => debian/liblldb-18.lintian-overrides
> debian/libllvm-X.Y-ocaml-dev.META.in => debian/libllvm-18-ocaml-dev.META
> debian/libllvm-X.Y-ocaml-dev.dirs.in => debian/libllvm-18-ocaml-dev.dirs
> debian/libllvm-X.Y-ocaml-dev.install.in => debian/libllvm-18-ocaml-dev.install
> debian/libllvm-X.Y-ocaml-dev.lintian-overrides.in => debian/libllvm-18-ocaml-dev.lintian-overrides
> debian/libllvmX.Y.install.in => debian/libllvm18.install
> debian/libllvmX.Y.links.in => debian/libllvm18.links
> debian/libllvmX.Y.lintian-overrides.in => debian/libllvm18.lintian-overrides
> debian/libllvmlibc-X.Y-dev.install.in => debian/libllvmlibc-18-dev.install
> debian/libmlir-X.Y-dev.install.in => debian/libmlir-18-dev.install
> debian/libmlir-X.Y-dev.lintian-overrides.in => debian/libmlir-18-dev.lintian-overrides
> debian/libmlir-X.Y.install.in => debian/libmlir-18.install
> debian/libmlir-X.Y.lintian-overrides.in => debian/libmlir-18.lintian-overrides
> debian/libomp-X.Y-dev.install.in => debian/libomp-18-dev.install
> debian/libomp-X.Y-dev.links.in => debian/libomp-18-dev.links
> debian/libomp-X.Y-doc.docs.in => debian/libomp-18-doc.docs
> debian/libomp-X.Y.links.in => debian/libomp-18.links
> debian/libomp5-X.Y.install.in => debian/libomp5-18.install
> debian/libomp5-X.Y.links.in => debian/libomp5-18.links
> debian/libomp5-X.Y.lintian-overrides.in => debian/libomp5-18.lintian-overrides
> debian/libomp5-X.Y.symbols.in => debian/libomp5-18.symbols
> debian/libpolly-X.Y-dev.install.in => debian/libpolly-18-dev.install
> debian/libpolly-X.Y-dev.lintian-overrides.in => debian/libpolly-18-dev.lintian-overrides
> debian/libunwind-X.Y-dev.install.in => debian/libunwind-18-dev.install
> debian/libunwind-X.Y-dev.links.in => debian/libunwind-18-dev.links
> debian/libunwind-X.Y-dev.lintian-overrides.in => debian/libunwind-18-dev.lintian-overrides
> debian/libunwind-X.Y.install.in => debian/libunwind-18.install
> debian/libunwind-X.Y.links.in => debian/libunwind-18.links
> debian/libunwind-X.Y.lintian-overrides.in => debian/libunwind-18.lintian-overrides
> debian/lld-X.Y.install.in => debian/lld-18.install
> debian/lld-X.Y.manpages.in => debian/lld-18.manpages
> debian/lldb-X.Y.install.in => debian/lldb-18.install
> debian/lldb-X.Y.links.in => debian/lldb-18.links
> debian/lldb-X.Y.lintian-overrides.in => debian/lldb-18.lintian-overrides
> debian/lldb-X.Y.manpages.in => debian/lldb-18.manpages
> debian/lldb-X.Y.postinst.in => debian/lldb-18.postinst
> debian/llvm-X.Y-dev.dirs.in => debian/llvm-18-dev.dirs
> debian/llvm-X.Y-dev.install.in => debian/llvm-18-dev.install
> debian/llvm-X.Y-dev.links.in => debian/llvm-18-dev.links
> debian/llvm-X.Y-doc.dirs.in => debian/llvm-18-doc.dirs
> debian/llvm-X.Y-doc.install.in => debian/llvm-18-doc.install
> debian/llvm-X.Y-examples.dirs.in => debian/llvm-18-examples.dirs
> debian/llvm-X.Y-examples.examples.in => debian/llvm-18-examples.examples
> debian/llvm-X.Y-linker-tools.install.in => debian/llvm-18-linker-tools.install
> debian/llvm-X.Y-linker-tools.links.in => debian/llvm-18-linker-tools.links
> debian/llvm-X.Y-runtime.binfmt.conf.in => debian/llvm-18-runtime.binfmt.conf
> debian/llvm-X.Y-runtime.binfmt.in => debian/llvm-18-runtime.binfmt
> debian/llvm-X.Y-runtime.install.in => debian/llvm-18-runtime.install
> debian/llvm-X.Y-runtime.lintian-overrides.in => debian/llvm-18-runtime.lintian-overrides
> debian/llvm-X.Y-runtime.manpages.in => debian/llvm-18-runtime.manpages
> debian/llvm-X.Y-runtime.postinst.in => debian/llvm-18-runtime.postinst
> debian/llvm-X.Y-runtime.prerm.in => debian/llvm-18-runtime.prerm
> debian/llvm-X.Y-tools.dirs.in => debian/llvm-18-tools.dirs
> debian/llvm-X.Y-tools.install.in => debian/llvm-18-tools.install
> debian/llvm-X.Y.dirs.in => debian/llvm-18.dirs
> debian/llvm-X.Y.install.in => debian/llvm-18.install
> debian/llvm-X.Y.lintian-overrides.in => debian/llvm-18.lintian-overrides
> debian/llvm-X.Y.manpages.in => debian/llvm-18.manpages
> debian/mlir-X.Y-tools.install.in => debian/mlir-18-tools.install
> debian/pollycc.in => debian/pollycc
> debian/python3-clang-X.Y.install.in => debian/python3-clang-18.install
> debian/python3-lldb-X.Y.install.in => debian/python3-lldb-18.install
> debian/python3-lldb-X.Y.links.in => debian/python3-lldb-18.links
> # Make install file executable for dh-exec
> chmod +x \
> debian/clang-tools-18.install \
> debian/libclang-18-dev.install \
> debian/libclang-common-18-dev.install \
> debian/libclang-rt-18-dev.install \
> debian/libpolly-18-dev.install \
> debian/libomp-18-dev.install \
> debian/libomp5-18.install \
> debian/llvm-18-dev.install \
> debian/llvm-18-linker-tools.install \
> debian/llvm-18-linker-tools.links \
> debian/libbolt-18-dev.install
> # workaround the breaks/replaces/conflicts introduced with the libllvm 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 "18" = "18"; then \
> if echo 18.1.8-16| grep -q "~++"; then \
> sed -i -e "s| (<< 1:18.1.8-9)|(<< 1:18.1.8~++20240830304741)|g" debian/control; \
> sed -i -e "s| (<< 1:18.1.8-9)|(<< 1:18.1.8~++20240830304741)|g" debian/control; \
> fi; \
> 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-18.install; \
> fi
> # disable libc++-X.Y-dev-wasm32.install.in on old distro
> if test "yes" = "no"; then \
> echo "" > debian/libc++-18-dev-wasm32.install; \
> echo "" > debian/libc++abi-18-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-18-dev.install; \
> fi
> if ! dh_listpackages|grep -q clang-18; then \
> echo "Could not find clang-18 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:
> cc -v
> Using built-in specs.
> COLLECT_GCC=cc
> 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-17' --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-17)
> g++ -v
> Using built-in specs.
> COLLECT_GCC=g++
> 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-17' --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-17)
> 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-18 \
> -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;libc;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 \
> -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 \
> -DLIBCXX_INSTALL_MODULES=ON \
> -DBOOTSTRAP_LIBCXX_INSTALL_MODULES=ON \
> -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_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 -DLLDB_BUILD_INTEL_PT=ON -DLIBIPT_INCLUDE_PATH=/usr/include -DLIBIPT_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu \
> -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-cxx;check-cxxabi;check-mlir;check-libc;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;LLVM_EXPERIMENTAL_TARGETS_TO_BUILD" \
> -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=16 -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_LLDB_BUILD_INTEL_PT=ON -DBOOTSTRAP_LIBIPT_INCLUDE_PATH=/usr/include -DBOOTSTRAP_LIBIPT_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu -DBOOTSTRAP_LIBC_INCLUDE_DOCS=ON \
> -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/build/reproducible-path/llvm-toolchain-18-18.1.8/build-llvm/lib;-DCMAKE_SHARED_LINKER_FLAGS=-Wl,-z,relro -Wl,--build-id,--as-needed -L/build/reproducible-path/llvm-toolchain-18-18.1.8/build-llvm/lib;-DCMAKE_MODULE_LINKER_FLAGS=-Wl,-z,relro -Wl,--build-id,--as-needed -L/build/reproducible-path/llvm-toolchain-18-18.1.8/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 /build/reproducible-path/llvm-toolchain-18-18.1.8/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 /build/reproducible-path/llvm-toolchain-18-18.1.8/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/cc
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working C compiler: /usr/bin/cc - 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++ - skipped
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> -- Enabling libc project to build libc build tools
> -- 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 enabled
> -- 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.12.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 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
> -- LLVM host triple: x86_64-pc-linux-gnu
> -- 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
> -- Found Python module yaml
> -- 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:365 (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'.
> Call Stack (most recent call first):
> CMakeLists.txt:936 (include)
>
>
> -- Configuring incomplete, errors occurred!
> make[1]: *** [debian/rules:748: stamps/configure] Error 1
The full build log is available from:
http://qa-logs.debian.net/2025/02/15/llvm-toolchain-18_18.1.8-16_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250215;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250215&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the Pkg-llvm-team
mailing list