Created attachment 791264 [details] compile phase error log This is built on a LLVM/Clang toolchain based system using -stdlib=libc++, -rtlib=compilert-rt, and -unwindlib=libunwind. As summarized, libomp will fail the compile phase if sys-libs/llvm-libunwind is compiled without the static-libs USE flag. ld.lld: error: unable to find library -l:libunwind.a ld.lld: error: unable to find library -l:libunwind.a Not sure if this is expected behavior that libomp requires a static llvm-libunwind. Perhaps it has to do with the CMAKE macro LIBOMP_HAVE_STATIC_LIBGCC_FLAG. I can make a local ebuild to check in the future if this is desirable. Passing -rtlib=libgcc -unwindlib=libgcc doesn't have this issue, perhaps expected since there doesn't seem to be a static-libs option available especially since they are built with GCC and not as separate libraries like we have with the LLVM toolchain.
I can confirm that this is still present for libomp-16.0.6
Created attachment 865606 [details] Build Log, libomp-16.0.6