* Package: sys-libs/compiler-rt-17.0.6:17 * Repository: gentoo * Maintainer: llvm@gentoo.org * USE: abi_x86_32 abi_x86_64 amd64 clang elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Checking whether python3_12 is suitable ... * dev-lang/python:3.12 ... [ ok ] * python_check_deps ... [ ok ] * Using python3.12 to build (via PYTHON_COMPAT iteration) >>> Unpacking source... * Unpacking from llvm-project-17.0.6.src.tar.xz ... [ ok ] >>> Unpacking llvm-gentoo-patchset-17.0.6.tar.xz to /var/tmp/portage/sys-libs/compiler-rt-17.0.6/work >>> Source unpacked in /var/tmp/portage/sys-libs/compiler-rt-17.0.6/work >>> Preparing source in /var/tmp/portage/sys-libs/compiler-rt-17.0.6/work/compiler-rt ... * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/sys-libs/compiler-rt-17.0.6/work/compiler-rt" * Build directory (BUILD_DIR): "/var/tmp/portage/sys-libs/compiler-rt-17.0.6/work/compiler-rt_build" * Applying patches from /var/tmp/portage/sys-libs/compiler-rt-17.0.6/work/llvm-gentoo-patchset-17.0.6 ... * 0002-compiler-rt-Fix-FLOAT16-feature-detection.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-libs/compiler-rt-17.0.6/work/compiler-rt ... * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/sys-libs/compiler-rt-17.0.6/work/compiler-rt" * Build directory (BUILD_DIR): "/var/tmp/portage/sys-libs/compiler-rt-17.0.6/work/compiler-rt-17.0.6_build" cmake -C /var/tmp/portage/sys-libs/compiler-rt-17.0.6/work/compiler-rt-17.0.6_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCOMPILER_RT_INSTALL_PATH=/usr/lib/clang/17 -DCOMPILER_RT_INCLUDE_TESTS=no -DCOMPILER_RT_BUILD_LIBFUZZER=OFF -DCOMPILER_RT_BUILD_MEMPROF=OFF -DCOMPILER_RT_BUILD_ORC=OFF -DCOMPILER_RT_BUILD_PROFILE=OFF -DCOMPILER_RT_BUILD_SANITIZERS=OFF -DCOMPILER_RT_BUILD_XRAY=OFF -DPython3_EXECUTABLE=/usr/bin/python3.12 -DCAN_TARGET_i386=yes -DCAN_TARGET_x86_64=yes -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sys-libs/compiler-rt-17.0.6/work/compiler-rt-17.0.6_build/gentoo_toolchain.cmake /var/tmp/portage/sys-libs/compiler-rt-17.0.6/work/compiler-rt loading initial cache file /var/tmp/portage/sys-libs/compiler-rt-17.0.6/work/compiler-rt-17.0.6_build/gentoo_common_config.cmake CMake Deprecation Warning at /var/tmp/portage/sys-libs/compiler-rt-17.0.6/work/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:9 (include) CMake Deprecation Warning at /var/tmp/portage/sys-libs/compiler-rt-17.0.6/work/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:9 (include) -- The C compiler identification is Clang 17.0.6 -- The CXX compiler identification is Clang 17.0.6 -- The ASM compiler identification is Clang with GNU-like command-line -- Found assembler: /usr/lib/llvm/17/bin/x86_64-pc-linux-gnu-clang -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/lib/llvm/17/bin/x86_64-pc-linux-gnu-clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - failed -- Check for working CXX compiler: /usr/lib/llvm/17/bin/x86_64-pc-linux-gnu-clang++ -- Check for working CXX compiler: /usr/lib/llvm/17/bin/x86_64-pc-linux-gnu-clang++ - broken CMake Error at /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:73 (message): The C++ compiler "/usr/lib/llvm/17/bin/x86_64-pc-linux-gnu-clang++" is not able to compile a simple test program. It fails with the following output: Change Dir: '/var/tmp/portage/sys-libs/compiler-rt-17.0.6/work/compiler-rt-17.0.6_build/CMakeFiles/CMakeScratch/TryCompile-ZSrZbo' Run Build Command(s): /usr/bin/ninja -v cmTC_4926b [1/2] /usr/lib/llvm/17/bin/x86_64-pc-linux-gnu-clang++ -DNDEBUG -O2 -pipe -march=native -fno-diagnostics-color -fno-color-diagnostics -MD -MT CMakeFiles/cmTC_4926b.dir/testCXXCompiler.cxx.o -MF CMakeFiles/cmTC_4926b.dir/testCXXCompiler.cxx.o.d -o CMakeFiles/cmTC_4926b.dir/testCXXCompiler.cxx.o -c /var/tmp/portage/sys-libs/compiler-rt-17.0.6/work/compiler-rt-17.0.6_build/CMakeFiles/CMakeScratch/TryCompile-ZSrZbo/testCXXCompiler.cxx [2/2] : && /usr/lib/llvm/17/bin/x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 CMakeFiles/cmTC_4926b.dir/testCXXCompiler.cxx.o -o cmTC_4926b && : FAILED: cmTC_4926b : && /usr/lib/llvm/17/bin/x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 CMakeFiles/cmTC_4926b.dir/testCXXCompiler.cxx.o -o cmTC_4926b && : ld.lld: error: unable to find library -lc++ x86_64-pc-linux-gnu-clang++: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:14 (project) -- Configuring incomplete, errors occurred! * ERROR: sys-libs/compiler-rt-17.0.6::gentoo failed (configure phase): * cmake failed * * Call stack: * ebuild.sh, line 136: Called src_configure * environment, line 3543: Called cmake_src_configure * environment, line 1518: Called die * The specific snippet of code: * "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed"; * * If you need support, post the output of `emerge --info '=sys-libs/compiler-rt-17.0.6::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-libs/compiler-rt-17.0.6::gentoo'`. * The complete build log is located at '/var/log/portage/sys-libs:compiler-rt-17.0.6:20240602-074707.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-libs/compiler-rt-17.0.6/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-libs/compiler-rt-17.0.6/temp/environment'. * Working directory: '/var/tmp/portage/sys-libs/compiler-rt-17.0.6/work/compiler-rt-17.0.6_build' * S: '/var/tmp/portage/sys-libs/compiler-rt-17.0.6/work/compiler-rt'