Created attachment 522944 [details] emerge --info clang Hi, my make.conf defines CHOST=aarch64-linux-gnu With clang-5.0.1, the binaries are installed instead with aarch64-unknown-linux-gnu prefix. This breaks compilation of clang-dependent packages.
Created attachment 522946 [details] build.log compressed
compilation of sys-libs/compiler-rt breaks with CMake Error at CMakeLists.txt:14 (project): The CMAKE_ASM_COMPILER: aarch64-linux-gnu-clang is not a full path and was not found in the PATH.
I found out that I need to specify CHOST_arm64 in the make.conf. This fixed the problem. CHOST=aarch64-linux-gnu CHOST_arm64="${CHOST}"