See https://bugs.gentoo.org/831662 ninja -v -j12 -l12 [1/52] /usr/bin/hipcc -D__HIP_PLATFORM_AMD__=1 -D__HIP_PLATFORM_HCC__=1 -I/var/tmp/portage/sci-libs/rocPRIM-5.0.2/work/rocPRIM-rocm-5.0.2_build/rocprim/include -I/var/tmp/portage/sci-libs/rocPRIM-5.0.2/work/rocPRIM-rocm-5.0.2_build/rocprim/include/rocprim -I/var/tmp/portage/sci-libs/rocPRIM-5.0.2/work/rocPRIM-rocm-5.0.2/rocprim/include -Os -pipe -march=native -frecord-gcc-switches -Wno-unused-command-line-argument -x hip --hip-device-lib-path=/usr/lib/amdgcn/bitcode --offload-arch=gfx803 --offload-arch=gfx900:xnack- --offload-arch=gfx906:xnack- --offload-arch=gfx908:xnack- --offload-arch=gfx90a:xnack- --offload-arch=gfx90a:xnack+ --offload-arch=gfx1030 -std=c++14 -MD -MT benchmark/CMakeFiles/rocPRIM_benchmark_device_histogram.dir/benchmark_device_histogram.cpp.o -MF benchmark/CMakeFiles/rocPRIM_benchmark_device_histogram.dir/benchmark_device_histogram.cpp.o.d -o benchmark/CMakeFiles/rocPRIM_benchmark_device_histogram.dir/benchmark_device_histogram.cpp.o -c /var/tmp/portage/sci-libs/rocPRIM-5.0.2/work/rocPRIM-rocm-5.0.2/benchmark/benchmark_device_histogram.cpp FAILED: benchmark/CMakeFiles/rocPRIM_benchmark_device_histogram.dir/benchmark_device_histogram.cpp.o /usr/bin/hipcc -D__HIP_PLATFORM_AMD__=1 -D__HIP_PLATFORM_HCC__=1 -I/var/tmp/portage/sci-libs/rocPRIM-5.0.2/work/rocPRIM-rocm-5.0.2_build/rocprim/include -I/var/tmp/portage/sci-libs/rocPRIM-5.0.2/work/rocPRIM-rocm-5.0.2_build/rocprim/include/rocprim -I/var/tmp/portage/sci-libs/rocPRIM-5.0.2/work/rocPRIM-rocm-5.0.2/rocprim/include -Os -pipe -march=native -frecord-gcc-switches -Wno-unused-command-line-argument -x hip --hip-device-lib-path=/usr/lib/amdgcn/bitcode --offload-arch=gfx803 --offload-arch=gfx900:xnack- --offload-arch=gfx906:xnack- --offload-arch=gfx908:xnack- --offload-arch=gfx90a:xnack- --offload-arch=gfx90a:xnack+ --offload-arch=gfx1030 -std=c++14 -MD -MT benchmark/CMakeFiles/rocPRIM_benchmark_device_histogram.dir/benchmark_device_histogram.cpp.o -MF benchmark/CMakeFiles/rocPRIM_benchmark_device_histogram.dir/benchmark_device_histogram.cpp.o.d -o benchmark/CMakeFiles/rocPRIM_benchmark_device_histogram.dir/benchmark_device_histogram.cpp.o -c /var/tmp/portage/sci-libs/rocPRIM-5.0.2/work/rocPRIM-rocm-5.0.2/benchmark/benchmark_device_histogram.cpp fatal error: error in backend: cannot lower memory intrinsic in address space 5 clang-14: error: clang frontend command failed with exit code 70 (use -v to see invocation) clang version 14.0.0 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/roc/bin clang-14: note: diagnostic msg: Error generating preprocessed source(s).
Please provide emerge --info and attach a build log.