Latest updates on ~amd64 and compilation of sys-libs/libomp-13.0.0 fails during configure: [ebuild U ] sys-libs/libomp-13.0.0::gentoo [12.0.1::gentoo] USE="offload -cuda -hwloc -ompt -test" ABI_X86="32 (64) (-x32)" 0 KiB >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-libs/libomp-13.0.0/work/openmp ... * abi_x86_32.x86: running multilib-minimal_abi_src_configure * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/sys-libs/libomp-13.0.0/work/openmp" * Build directory (BUILD_DIR): "/var/tmp/portage/sys-libs/libomp-13.0.0/work/libomp-13.0.0_build-abi_x86_32.x86" cmake -C /var/tmp/portage/sys-libs/libomp-13.0.0/work/libomp-13.0.0_build-abi_x86_32.x86/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DOPENMP_LIBDIR_SUFFIX= -DLIBOMP_USE_HWLOC=no -DLIBOMP_OMPT_SUPPORT=no -DOPENMP_ENABLE_LIBOMPTARGET=yes -DLIBOMP_INSTALL_ALIASES=OFF -DLIBOMP_COPY_EXPORTS=OFF -DCMAKE_DISABLE_FIND_PACKAGE_CUDA=yes -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sys-libs/libomp-13.0.0/work/libomp-13.0.0_build-abi_x86_32.x86/gentoo_toolchain.cmake /var/tmp/portage/sys-libs/libomp-13.0.0/work/openmp loading initial cache file /var/tmp/portage/sys-libs/libomp-13.0.0/work/libomp-13.0.0_build-abi_x86_32.x86/gentoo_common_config.cmake -- The C compiler identification is GNU 11.2.0 -- The CXX compiler identification is GNU 11.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test OPENMP_HAVE_WALL_FLAG -- Performing Test OPENMP_HAVE_WALL_FLAG - Success -- Performing Test OPENMP_HAVE_WERROR_FLAG -- Performing Test OPENMP_HAVE_WERROR_FLAG - Success -- Performing Test OPENMP_HAVE_WCAST_QUAL_FLAG -- Performing Test OPENMP_HAVE_WCAST_QUAL_FLAG - Success -- Performing Test OPENMP_HAVE_WFORMAT_PEDANTIC_FLAG -- Performing Test OPENMP_HAVE_WFORMAT_PEDANTIC_FLAG - Failed -- Performing Test OPENMP_HAVE_WIMPLICIT_FALLTHROUGH_FLAG -- Performing Test OPENMP_HAVE_WIMPLICIT_FALLTHROUGH_FLAG - Success -- Performing Test OPENMP_HAVE_WSIGN_COMPARE_FLAG -- Performing Test OPENMP_HAVE_WSIGN_COMPARE_FLAG - Success -- Performing Test OPENMP_HAVE_WNO_EXTRA_FLAG -- Performing Test OPENMP_HAVE_WNO_EXTRA_FLAG - Success -- Performing Test OPENMP_HAVE_WNO_PEDANTIC_FLAG -- Performing Test OPENMP_HAVE_WNO_PEDANTIC_FLAG - Success -- Performing Test OPENMP_HAVE_WNO_MAYBE_UNINITIALIZED_FLAG -- Performing Test OPENMP_HAVE_WNO_MAYBE_UNINITIALIZED_FLAG - Success -- Performing Test OPENMP_HAVE_STD_CPP14_FLAG -- Performing Test OPENMP_HAVE_STD_CPP14_FLAG - Success -- Found PythonInterp: /usr/bin/python (found version "3.10") -- Cannot find llvm-lit. -- Please put llvm-lit in your PATH, set OPENMP_LLVM_LIT_EXECUTABLE to its full path, or point OPENMP_LLVM_TOOLS_DIR to its directory. CMake Warning at cmake/OpenMPTesting.cmake:22 (message): The check targets will not be available! Call Stack (most recent call first): cmake/OpenMPTesting.cmake:51 (find_standalone_test_dependencies) CMakeLists.txt:49 (include) -- Performing Test LIBOMP_HAVE_FNO_EXCEPTIONS_FLAG -- Performing Test LIBOMP_HAVE_FNO_EXCEPTIONS_FLAG - Success -- Performing Test LIBOMP_HAVE_FNO_RTTI_FLAG -- Performing Test LIBOMP_HAVE_FNO_RTTI_FLAG - Success -- Performing Test LIBOMP_HAVE_WNO_CLASS_MEMACCESS_FLAG -- Performing Test LIBOMP_HAVE_WNO_CLASS_MEMACCESS_FLAG - Success -- Performing Test LIBOMP_HAVE_WNO_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test LIBOMP_HAVE_WNO_COVERED_SWITCH_DEFAULT_FLAG - Success -- Performing Test LIBOMP_HAVE_WNO_FRAME_ADDRESS_FLAG -- Performing Test LIBOMP_HAVE_WNO_FRAME_ADDRESS_FLAG - Success -- Performing Test LIBOMP_HAVE_WNO_STRICT_ALIASING_FLAG -- Performing Test LIBOMP_HAVE_WNO_STRICT_ALIASING_FLAG - Success -- Performing Test LIBOMP_HAVE_WSTRINGOP_OVERFLOW_FLAG -- Performing Test LIBOMP_HAVE_WSTRINGOP_OVERFLOW_FLAG - Success -- Performing Test LIBOMP_HAVE_WNO_STRINGOP_TRUNCATION_FLAG -- Performing Test LIBOMP_HAVE_WNO_STRINGOP_TRUNCATION_FLAG - Success -- Performing Test LIBOMP_HAVE_WNO_SWITCH_FLAG -- Performing Test LIBOMP_HAVE_WNO_SWITCH_FLAG - Success -- Performing Test LIBOMP_HAVE_WNO_UNINITIALIZED_FLAG -- Performing Test LIBOMP_HAVE_WNO_UNINITIALIZED_FLAG - Success -- Performing Test LIBOMP_HAVE_WNO_UNUSED_BUT_SET_VARIABLE_FLAG -- Performing Test LIBOMP_HAVE_WNO_UNUSED_BUT_SET_VARIABLE_FLAG - Success -- Performing Test LIBOMP_HAVE_WNO_RETURN_TYPE_C_LINKAGE_FLAG -- Performing Test LIBOMP_HAVE_WNO_RETURN_TYPE_C_LINKAGE_FLAG - Success -- Performing Test LIBOMP_HAVE_WNO_CAST_QUAL_FLAG -- Performing Test LIBOMP_HAVE_WNO_CAST_QUAL_FLAG - Success -- Performing Test LIBOMP_HAVE_WNO_INT_TO_VOID_POINTER_CAST_FLAG -- Performing Test LIBOMP_HAVE_WNO_INT_TO_VOID_POINTER_CAST_FLAG - Success -- Performing Test LIBOMP_HAVE_MSSE2_FLAG -- Performing Test LIBOMP_HAVE_MSSE2_FLAG - Success -- Performing Test LIBOMP_HAVE_FTLS_MODEL_FLAG -- Performing Test LIBOMP_HAVE_FTLS_MODEL_FLAG - Success -- Performing Test LIBOMP_HAVE_MMIC_FLAG -- Performing Test LIBOMP_HAVE_MMIC_FLAG - Failed -- Performing Test LIBOMP_HAVE_M32_FLAG -- Performing Test LIBOMP_HAVE_M32_FLAG - Success -- Looking for shm_open -- Looking for shm_open - not found -- Looking for shm_open -- Looking for shm_open - found -- Performing Test LIBOMP_HAVE_X_FLAG -- Performing Test LIBOMP_HAVE_X_FLAG - Success -- Performing Test LIBOMP_HAVE_WARN_SHARED_TEXTREL_FLAG -- Performing Test LIBOMP_HAVE_WARN_SHARED_TEXTREL_FLAG - Success -- Performing Test LIBOMP_HAVE_AS_NEEDED_FLAG -- Performing Test LIBOMP_HAVE_AS_NEEDED_FLAG - Success -- Performing Test LIBOMP_HAVE_VERSION_SCRIPT_FLAG -- Performing Test LIBOMP_HAVE_VERSION_SCRIPT_FLAG - Success -- Performing Test LIBOMP_HAVE_STATIC_LIBGCC_FLAG -- Performing Test LIBOMP_HAVE_STATIC_LIBGCC_FLAG - Success -- Performing Test LIBOMP_HAVE_Z_NOEXECSTACK_FLAG -- Performing Test LIBOMP_HAVE_Z_NOEXECSTACK_FLAG - Success -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Looking for immintrin.h -- Looking for immintrin.h - found -- Performing Test LIBOMP_HAVE_ATTRIBUTE_RTM -- Performing Test LIBOMP_HAVE_ATTRIBUTE_RTM - Success -- Performing Test LIBOMP_HAVE_ATTRIBUTE_WAITPKG -- Performing Test LIBOMP_HAVE_ATTRIBUTE_WAITPKG - Success -- Performing Test LIBOMP_HAVE_WAITPKG_INTRINSICS -- Performing Test LIBOMP_HAVE_WAITPKG_INTRINSICS - Success -- Performing Test LIBOMP_HAVE_RTM_INTRINSICS -- Performing Test LIBOMP_HAVE_RTM_INTRINSICS - Success -- Found Perl: /usr/bin/perl (found version "5.34.0") -- Performing Test LIBOMP_HAVE_VERSION_SYMBOLS -- Performing Test LIBOMP_HAVE_VERSION_SYMBOLS - Success -- Performing Test LIBOMP_HAVE___BUILTIN_FRAME_ADDRESS -- Performing Test LIBOMP_HAVE___BUILTIN_FRAME_ADDRESS - Success -- Performing Test LIBOMP_HAVE_WEAK_ATTRIBUTE -- Performing Test LIBOMP_HAVE_WEAK_ATTRIBUTE - Success -- Performing Test LIBOMP_HAVE_PSAPI -- Performing Test LIBOMP_HAVE_PSAPI - Failed CMake Warning at runtime/cmake/LibompUtils.cmake:20 (message): LIBOMP: OpenMP Debug Interface(OMPD) requested but not available in this implementation Call Stack (most recent call first): runtime/CMakeLists.txt:336 (libomp_warning_say) -- LIBOMP: Operating System -- Linux -- LIBOMP: Target Architecture -- i386 -- LIBOMP: Build Type -- RelWithDebInfo -- LIBOMP: Library Kind -- SHARED -- LIBOMP: Library Type -- normal -- LIBOMP: Fortran Modules -- FALSE -- LIBOMP: Build -- 20140926 -- LIBOMP: Use Stats-gathering -- FALSE -- LIBOMP: Use Debugger-support -- FALSE -- LIBOMP: Use ITT notify -- TRUE -- LIBOMP: Use OMPT-support -- no -- LIBOMP: Use OMPD-support -- FALSE -- LIBOMP: Use Adaptive locks -- TRUE -- LIBOMP: Use quad precision -- TRUE -- LIBOMP: Use Hwloc library -- no -- Looking for sqrt in m -- Looking for sqrt in m - found -- Looking for __atomic_load_1 -- Looking for __atomic_load_1 - not found -- Looking for __atomic_load_1 in atomic -- Looking for __atomic_load_1 in atomic - found -- check-libomp does nothing. -- check-ompt does nothing. CMake Error at libomptarget/cmake/Modules/LibomptargetGetDependencies.cmake:29 (find_package): By not providing "FindLLVM.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "LLVM", but CMake did not find one. Could not find a package configuration file provided by "LLVM" with any of the following names: LLVMConfig.cmake llvm-config.cmake Add the installation prefix of "LLVM" to CMAKE_PREFIX_PATH or set "LLVM_DIR" to a directory containing one of the above files. If "LLVM" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): libomptarget/CMakeLists.txt:31 (include) -- Configuring incomplete, errors occurred! Reproducible: Always
[ebuild R ] sys-devel/llvm-13.0.0:13::gentoo USE="libffi ncurses xml -debug -doc -exegesis -gold -libedit -test -xar -z3" ABI_X86="(64) -32 (-x32)" May this inconsistency with ABI_X86 flags on my system be the cause? I never really messed with them, but I have virt-manager and I remember that I had to unblock some packages some time ago.
Nope, it did not help. cat /var/tmp/portage/sys-libs/libomp-13.0.0/work/libomp-13.0.0_build-abi_x86_32.x86/CMakeFiles/CMakeError.log Performing C++ SOURCE FILE Test OPENMP_HAVE_WFORMAT_PEDANTIC_FLAG failed with the following output: Change Dir: /var/tmp/portage/sys-libs/libomp-13.0.0/work/libomp-13.0.0_build-abi_x86_32.x86/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_b14e3 && [1/2] Building CXX object CMakeFiles/cmTC_b14e3.dir/src.cxx.o FAILED: CMakeFiles/cmTC_b14e3.dir/src.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -m32 -DOPENMP_HAVE_WFORMAT_PEDANTIC_FLAG -O2 -pipe -march=native -ftree-vectorize -Wformat-pedantic -o CMakeFiles/cmTC_b14e3.dir/src.cxx.o -c /var/tmp/portage/sys-libs/libomp-13.0.0/work/libomp-13.0.0_build-abi_x86_32.x86/CMakeFiles/CMakeTmp/src.cxx x86_64-pc-linux-gnu-g++: error: unrecognized command-line option '-Wformat-pedantic'; did you mean '-Wno-pedantic'? ninja: build stopped: subcommand failed. Source file was: int main() { return 0; } Performing C SOURCE FILE Test LIBOMP_HAVE_MMIC_FLAG failed with the following output: Change Dir: /var/tmp/portage/sys-libs/libomp-13.0.0/work/libomp-13.0.0_build-abi_x86_32.x86/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_4f58d && [1/2] Building C object CMakeFiles/cmTC_4f58d.dir/src.c.o FAILED: CMakeFiles/cmTC_4f58d.dir/src.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -m32 -DLIBOMP_HAVE_MMIC_FLAG -O2 -pipe -march=native -ftree-vectorize -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -mmic -mmic -o CMakeFiles/cmTC_4f58d.dir/src.c.o -c /var/tmp/portage/sys-libs/libomp-13.0.0/work/libomp-13.0.0_build-abi_x86_32.x86/CMakeFiles/CMakeTmp/src.c x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option '-mmic' x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option '-mmic' ninja: build stopped: subcommand failed. Source file was: int main(void) { return 0; } Determining if the shm_open exist failed with the following output: Change Dir: /var/tmp/portage/sys-libs/libomp-13.0.0/work/libomp-13.0.0_build-abi_x86_32.x86/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_69e5e && [1/2] Building C object CMakeFiles/cmTC_69e5e.dir/CheckSymbolExists.c.o [2/2] Linking C executable cmTC_69e5e FAILED: cmTC_69e5e : && /usr/bin/x86_64-pc-linux-gnu-gcc -m32 -O2 -pipe -march=native -ftree-vectorize -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_69e5e.dir/CheckSymbolExists.c.o -o cmTC_69e5e && : /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_69e5e.dir/CheckSymbolExists.c.o: in function `main': CheckSymbolExists.c:(.text.startup+0x10): undefined reference to `shm_open' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. File /var/tmp/portage/sys-libs/libomp-13.0.0/work/libomp-13.0.0_build-abi_x86_32.x86/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include <sys/mman.h> int main(int argc, char** argv) { (void)argv; #ifndef shm_open return ((int*)(&shm_open))[argc]; #else (void)argc; return 0; #endif } Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: Change Dir: /var/tmp/portage/sys-libs/libomp-13.0.0/work/libomp-13.0.0_build-abi_x86_32.x86/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_2daa0 && [1/2] Building C object CMakeFiles/cmTC_2daa0.dir/src.c.o [2/2] Linking C executable cmTC_2daa0 FAILED: cmTC_2daa0 : && /usr/bin/x86_64-pc-linux-gnu-gcc -m32 -O2 -pipe -march=native -ftree-vectorize -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_2daa0.dir/src.c.o -o cmTC_2daa0 && : /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_2daa0.dir/src.c.o: in function `main': src.c:(.text.startup+0x38): undefined reference to `pthread_create' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src.c:(.text.startup+0x41): undefined reference to `pthread_detach' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src.c:(.text.startup+0x4a): undefined reference to `pthread_cancel' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src.c:(.text.startup+0x56): undefined reference to `pthread_join' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Source file was: #include <pthread.h> static void* test_func(void* data) { return data; } int main(void) { pthread_t thread; pthread_create(&thread, NULL, test_func, NULL); pthread_detach(thread); pthread_cancel(thread); pthread_join(thread, NULL); pthread_atfork(NULL, NULL, NULL); pthread_exit(NULL); return 0; } Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: /var/tmp/portage/sys-libs/libomp-13.0.0/work/libomp-13.0.0_build-abi_x86_32.x86/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_24ee1 && [1/2] Building C object CMakeFiles/cmTC_24ee1.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_24ee1 FAILED: cmTC_24ee1 : && /usr/bin/x86_64-pc-linux-gnu-gcc -m32 -O2 -pipe -march=native -ftree-vectorize -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -DCHECK_FUNCTION_EXISTS=pthread_create -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_24ee1.dir/CheckFunctionExists.c.o -o cmTC_24ee1 -lpthreads && : /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Performing C SOURCE FILE Test LIBOMP_HAVE_PSAPI failed with the following output: Change Dir: /var/tmp/portage/sys-libs/libomp-13.0.0/work/libomp-13.0.0_build-abi_x86_32.x86/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_51ebb && [1/2] Building C object CMakeFiles/cmTC_51ebb.dir/src.c.o FAILED: CMakeFiles/cmTC_51ebb.dir/src.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -m32 -DLIBOMP_HAVE_PSAPI -O2 -pipe -march=native -ftree-vectorize -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -o CMakeFiles/cmTC_51ebb.dir/src.c.o -c /var/tmp/portage/sys-libs/libomp-13.0.0/work/libomp-13.0.0_build-abi_x86_32.x86/CMakeFiles/CMakeTmp/src.c /var/tmp/portage/sys-libs/libomp-13.0.0/work/libomp-13.0.0_build-abi_x86_32.x86/CMakeFiles/CMakeTmp/src.c:1:10: fatal error: windows.h: No such file or directory 1 | #include <windows.h> | ^~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Source file was: #include <windows.h> #include <psapi.h> int main(int artc, char** argv) { return EnumProcessModules(NULL, NULL, 0, NULL); } Determining if the function __atomic_load_1 exists failed with the following output: Change Dir: /var/tmp/portage/sys-libs/libomp-13.0.0/work/libomp-13.0.0_build-abi_x86_32.x86/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_5b86d && [1/2] Building C object CMakeFiles/cmTC_5b86d.dir/CheckFunctionExists.c.o <command-line>: warning: conflicting types for built-in function ‘__atomic_load_1’; expected ‘unsigned char(const volatile void *, int)’ [-Wbuiltin-declaration-mismatch] <command-line>: note: in definition of macro ‘CHECK_FUNCTION_EXISTS’ [2/2] Linking C executable cmTC_5b86d FAILED: cmTC_5b86d : && /usr/bin/x86_64-pc-linux-gnu-gcc -m32 -O2 -pipe -march=native -ftree-vectorize -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -DCHECK_FUNCTION_EXISTS=__atomic_load_1 -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_5b86d.dir/CheckFunctionExists.c.o -o cmTC_5b86d && : /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_5b86d.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x13): undefined reference to `__atomic_load_1' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed.
Next time please **attach** the .log as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
OK, sorry.
With USE "-cuda -offload" it compiles
(In reply to Andy from comment #5) It also works with USE="+cuda -offload" So seems the offload flag is causing the issue
As a quick workaround, you can build with USE=test. I'm working on a proper fix upstream that doesn't involve pulling all the test dependencies unconditionally.
Actually, it seems that OpenMP handles missing test deps gracefully and it's failing for you because of the missing LLVM dependency that I've fixed already. Please reopen if you can still reproduce the problem.
Thanks, confirming the fix.