https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97308
--- Comment #4 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Created attachment 49320 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49320&action=edit config.log from failing libgomp OK, so that one isn't a bug. I hope you don't mind if I put in the next failure after bootstrapping with the system compiler, clang 8 (setting CC to cc and CXX to c++): gmake[4]: Leaving directory '/home/tkoenig/trunk-clang/x86_64-unknown-openbsd6.7/libgcc' gmake[3]: Leaving directory '/home/tkoenig/trunk-clang/x86_64-unknown-openbsd6.7/libgcc' mkdir x86_64-unknown-openbsd6.7/libgomp Checking multilib configuration for libgomp... Configuring stage 1 in x86_64-unknown-openbsd6.7/libgomp configure: creating cache ./config.cache checking for --enable-version-specific-runtime-libs... no checking for --enable-generated-files-in-srcdir... no checking build system type... x86_64-unknown-openbsd6.7 checking host system type... x86_64-unknown-openbsd6.7 checking target system type... x86_64-unknown-openbsd6.7 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p checking for gawk... awk checking whether gmake sets $(MAKE)... yes checking whether gmake supports nested variables... yes checking for x86_64-unknown-openbsd6.7-gcc... /home/tkoenig/trunk-clang/./gcc/xgcc -B/home/tkoenig/trunk-clang/./gcc/ -B/home/tkoenig/x86_64-unknown-openbsd6.7/bin/ -B/home/tkoenig/x86_64-unknown-openbsd6.7/lib/ -isystem /home/tkoenig/x86_64-unknown-openbsd6.7/include -system /home/tkoenig/x86_64-unknown-openbsd6.7/sys-include -fno-checking checking whether the C compiler works... no configure: error: in `/home/tkoenig/trunk-clang/x86_64-unknown-openbsd6.7/libgomp': configure: error: C compiler cannot create executables See `config.log' for more details gmake[2]: *** [Makefile:24794: configure-stage1-target-libgomp] Error 77 gmake[2]: Leaving directory '/home/tkoenig/trunk-clang' gmake[1]: *** [Makefile:27002: stage1-bubble] Error 2 gmake[1]: Leaving directory '/home/tkoenig/trunk-clang' gmake: *** [Makefile:1004: all] Error 2 obsd$