* Package: sys-libs/compiler-rt-4.0.1 * Repository: gentoo * Maintainer: llvm@gentoo.org * USE: abi_x86_64 amd64 clang elibc_glibc kernel_linux test userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking compiler-rt-4.0.1.src.tar.xz to /var/tmp/portage/sys-libs/compiler-rt-4.0.1/work >>> Source unpacked in /var/tmp/portage/sys-libs/compiler-rt-4.0.1/work >>> Preparing source in /var/tmp/portage/sys-libs/compiler-rt-4.0.1/work/compiler-rt-4.0.1.src ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-libs/compiler-rt-4.0.1/work/compiler-rt-4.0.1.src ... >>> Working in BUILD_DIR: "/var/tmp/portage/sys-libs/compiler-rt-4.0.1/work/compiler-rt-4.0.1_build" cmake -C /var/tmp/portage/sys-libs/compiler-rt-4.0.1/work/compiler-rt-4.0.1_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCOMPILER_RT_INSTALL_PATH=/usr/lib/clang/4.0.1 -DCOMPILER_RT_OUTPUT_DIR=/var/tmp/portage/sys-libs/compiler-rt-4.0.1/work/compiler-rt-4.0.1_build/lib/clang/4.0.1 -DCOMPILER_RT_INCLUDE_TESTS=OFF -DCOMPILER_RT_BUILD_SANITIZERS=OFF -DCOMPILER_RT_BUILD_XRAY=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/sys-libs/compiler-rt-4.0.1/work/compiler-rt-4.0.1_build/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sys-libs/compiler-rt-4.0.1/work/compiler-rt-4.0.1_build/gentoo_toolchain.cmake /var/tmp/portage/sys-libs/compiler-rt-4.0.1/work/compiler-rt-4.0.1.src loading initial cache file /var/tmp/portage/sys-libs/compiler-rt-4.0.1/work/compiler-rt-4.0.1_build/gentoo_common_config.cmake -- The C compiler identification is Clang 4.0.1 -- The CXX compiler identification is Clang 4.0.1 -- The ASM compiler identification is unknown -- Found assembler: /usr/lib/llvm/4/bin/x86_64-pc-linux-gnu-clang -- Check for working C compiler: /usr/lib/llvm/4/bin/x86_64-pc-linux-gnu-clang -- Check for working C compiler: /usr/lib/llvm/4/bin/x86_64-pc-linux-gnu-clang -- broken CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:51 (message): The C compiler "/usr/lib/llvm/4/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-4.0.1/work/compiler-rt-4.0.1_build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/ninja" "cmTC_d0a4d" [1/2] Building C object CMakeFiles/cmTC_d0a4d.dir/testCCompiler.c.o [2/2] Linking C executable cmTC_d0a4d FAILED: cmTC_d0a4d : && /usr/lib/llvm/4/bin/x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -Wall -nodefaultlibs -rdynamic CMakeFiles/cmTC_d0a4d.dir/testCCompiler.c.o -o cmTC_d0a4d && : /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib64/crt1.o: In function `_start': (.text+0x12): undefined reference to `__libc_csu_fini' /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib64/crt1.o: In function `_start': (.text+0x19): undefined reference to `__libc_csu_init' /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib64/crt1.o: In function `_start': (.text+0x26): undefined reference to `__libc_start_main' clang-4.0: 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:12 (project) -- Configuring incomplete, errors occurred! See also "/var/tmp/portage/sys-libs/compiler-rt-4.0.1/work/compiler-rt-4.0.1_build/CMakeFiles/CMakeOutput.log". See also "/var/tmp/portage/sys-libs/compiler-rt-4.0.1/work/compiler-rt-4.0.1_build/CMakeFiles/CMakeError.log". * ERROR: sys-libs/compiler-rt-4.0.1::gentoo failed (configure phase): * cmake failed * * Call stack: * ebuild.sh, line 115: Called src_configure * environment, line 4063: Called cmake-utils_src_configure * environment, line 1117: 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-4.0.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-libs/compiler-rt-4.0.1::gentoo'`. * The complete build log is located at '/var/log/portage/sys-libs:compiler-rt-4.0.1:20170809-212900.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-libs/compiler-rt-4.0.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-libs/compiler-rt-4.0.1/temp/environment'. * Working directory: '/var/tmp/portage/sys-libs/compiler-rt-4.0.1/work/compiler-rt-4.0.1_build' * S: '/var/tmp/portage/sys-libs/compiler-rt-4.0.1/work/compiler-rt-4.0.1.src'