too long lines were shrinked: [37/875] /usr/bin/x86_64-pc-linux-gnu-g++ -DDEBUG_PREFIX=\"OMPT\" -DTARGET_NAME=\"OMPT\" -I/usr/lib/llvm/18/include -I/var/tmp/portage/sys-libs/libomp-18.1.2/work/openmp/libomptarget/include -DNDEBUG -O2 -pipe -march=native -fno-diagnostics-color -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-comp [38/875] /usr/bin/x86_64-pc-linux-gnu-g++ -Domp_EXPORTS -I/var/tmp/portage/sys-libs/libomp-18.1.2/work/openmp_build-abi_x86_64.amd64/runtime/src -I/var/tmp/portage/sys-libs/libomp-18.1.2/work/openmp/runtime/src -I/var/tmp/portage/sys-libs/libomp-18.1.2/work/openmp/runtime/src/i18n -I/var/tmp/portage [39/875] : && /usr/bin/x86_64-pc-linux-gnu-gcc -fPIC -O2 -pipe -march=native -fno-diagnostics-color -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -fno-semantic-interposition -fdata-sections -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relo [40/875] cd /var/tmp/portage/sys-libs/libomp-18.1.2/work/openmp_build-abi_x86_64.amd64/libomptarget/DeviceRTL && /usr/lib/llvm/18/bin/clang -c -foffload-lto -std=c++17 -fvisibility=hidden -O3 -mllvm -openmp-opt-disable -DSHARED_SCRATCHPAD_SIZE=512 -mllvm -vectorize-slp=false --offload-device-only -n FAILED: libomptarget/DeviceRTL/Allocator.cpp-gfx700.bc /var/tmp/portage/sys-libs/libomp-18.1.2/work/openmp_build-abi_x86_64.amd64/libomptarget/DeviceRTL/Allocator.cpp-gfx700.bc cd /var/tmp/portage/sys-libs/libomp-18.1.2/work/openmp_build-abi_x86_64.amd64/libomptarget/DeviceRTL && /usr/lib/llvm/18/bin/clang -c -foffload-lto -std=c++17 -fvisibility=hidden -O3 -mllvm -openmp-opt-disable -DSHARED_SCRATCHPAD_SIZE=512 -mllvm -vectorize-slp=false --offload-device-only -nocudalib error: option 'cf-protection=return' cannot be specified on this target error: option 'cf-protection=branch' cannot be specified on this target 2 errors generated. ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_no_multilib_systemd-20240326-011016 ------------------------------------------------------------------- GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle" gcc-config -l: [1] x86_64-pc-linux-gnu-13 * clang/llvm (if any): clang version 18.1.2 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/18/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/18 18.1.2 Python 3.11.8 Available Ruby profiles: [1] ruby31 (with Rubygems) [2] ruby33 (with Rubygems) * Available Rust versions: [1] rust-bin-1.76.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21] *) Eclipse Temurin JDK 8.402_p06 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm [2] openjdk-bin-21 php cli (if any): HEAD of ::gentoo commit ee4eb5fc3a370ba7a282c4b2419c2a4f4ba09e3e Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Tue Mar 26 10:18:59 2024 +0000 2024-03-26 10:18:58 UTC emerge -qpvO sys-libs/libomp [ebuild N ] sys-libs/libomp-18.1.2 USE="hwloc offload -debug -gdb-plugin -ompt -test -verify-sig" LLVM_TARGETS="-AMDGPU -NVPTX" PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12"
Created attachment 888682 [details] emerge-info.txt
Created attachment 888683 [details] CMakeCache.txt
Created attachment 888684 [details] emerge-history.txt
Created attachment 888685 [details] environment
Created attachment 888686 [details] etc.clang.tar.xz
Created attachment 888687 [details] etc.portage.tar.xz
Created attachment 888688 [details] qlist-info.txt
Created attachment 888689 [details] sys-libs:libomp-18.1.2:20240326-150752.log
Created attachment 888690 [details] temp.tar.xz
Seeing the same after profile update to 23.0 on an llvm/libc++ system. USE=-cet on clang-common lets libomp build successfully.
*** This bug has been marked as a duplicate of bug 927752 ***