* Package: sci-libs/rocPRIM-4.0.0-r1 * Repository: gentoo * Maintainer: sci@gentoo.org candrews@gentoo.org,gentoo@holzke.net * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking rocPRIM-4.0.0.tar.gz to /var/tmp/portage/sci-libs/rocPRIM-4.0.0-r1/work >>> Source unpacked in /var/tmp/portage/sci-libs/rocPRIM-4.0.0-r1/work >>> Preparing source in /var/tmp/portage/sci-libs/rocPRIM-4.0.0-r1/work/rocPRIM-rocm-4.0.0 ... * Working in BUILD_DIR: "/var/tmp/portage/sci-libs/rocPRIM-4.0.0-r1/work/rocPRIM-4.0.0_build" * Hardcoded definition(s) removed in CMakeLists.txt: * set(CMAKE_INSTALL_PREFIX "/opt/rocm" CACHE PATH "Install path prefix, prepend * set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build." FOR >>> Source prepared. >>> Configuring source in /var/tmp/portage/sci-libs/rocPRIM-4.0.0-r1/work/rocPRIM-rocm-4.0.0 ... * Working in BUILD_DIR: "/var/tmp/portage/sci-libs/rocPRIM-4.0.0-r1/work/rocPRIM-4.0.0_build" cmake -C /var/tmp/portage/sci-libs/rocPRIM-4.0.0-r1/work/rocPRIM-4.0.0_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DAMDGPU_TARGETS=gfx803;gfx900;gfx906;gfx908 -DBUILD_TEST=OFF -DBUILD_BENCHMARK=OFF -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sci-libs/rocPRIM-4.0.0-r1/work/rocPRIM-4.0.0_build/gentoo_toolchain.cmake /var/tmp/portage/sci-libs/rocPRIM-4.0.0-r1/work/rocPRIM-rocm-4.0.0 loading initial cache file /var/tmp/portage/sci-libs/rocPRIM-4.0.0-r1/work/rocPRIM-4.0.0_build/gentoo_common_config.cmake -- The CXX compiler identification is Clang 12.0.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - failed -- Check for working CXX compiler: /usr/lib/hip/bin/hipcc -- Check for working CXX compiler: /usr/lib/hip/bin/hipcc - broken CMake Error at /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:59 (message): The C++ compiler "/usr/lib/hip/bin/hipcc" is not able to compile a simple test program. It fails with the following output: Change Dir: /var/tmp/portage/sci-libs/rocPRIM-4.0.0-r1/work/rocPRIM-4.0.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_c4c21 && [1/2] Building CXX object CMakeFiles/cmTC_c4c21.dir/testCXXCompiler.cxx.o FAILED: CMakeFiles/cmTC_c4c21.dir/testCXXCompiler.cxx.o /usr/lib/hip/bin/hipcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -MD -MT CMakeFiles/cmTC_c4c21.dir/testCXXCompiler.cxx.o -MF CMakeFiles/cmTC_c4c21.dir/testCXXCompiler.cxx.o.d -o CMakeFiles/cmTC_c4c21.dir/testCXXCompiler.cxx.o -c testCXXCompiler.cxx libkmod: kmod_module_new_from_loaded: could not open /proc/modules: No such file or directory Error: could not get list of modules: No such file or directory clang-12: error: invalid integral value '32:25:16' in '-falign-functions=32:25:16' clang-12: error: invalid integral value '32:25:16' in '-falign-functions=32:25:16' ninja: build stopped: subcommand failed. CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:32 (project) -- Configuring incomplete, errors occurred! See also "/var/tmp/portage/sci-libs/rocPRIM-4.0.0-r1/work/rocPRIM-4.0.0_build/CMakeFiles/CMakeOutput.log". See also "/var/tmp/portage/sci-libs/rocPRIM-4.0.0-r1/work/rocPRIM-4.0.0_build/CMakeFiles/CMakeError.log". * ERROR: sci-libs/rocPRIM-4.0.0-r1::gentoo failed (configure phase): * cmake failed * * Call stack: * ebuild.sh, line 125: Called src_configure * environment, line 2059: Called cmake_src_configure * environment, line 894: 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 '=sci-libs/rocPRIM-4.0.0-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=sci-libs/rocPRIM-4.0.0-r1::gentoo'`. * The complete build log is located at '/var/log/portage/sci-libs:rocPRIM-4.0.0-r1:20210124-120022.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sci-libs/rocPRIM-4.0.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-libs/rocPRIM-4.0.0-r1/temp/environment'. * Working directory: '/var/tmp/portage/sci-libs/rocPRIM-4.0.0-r1/work/rocPRIM-4.0.0_build' * S: '/var/tmp/portage/sci-libs/rocPRIM-4.0.0-r1/work/rocPRIM-rocm-4.0.0'