https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100486
--- Comment #7 from ofv at wanadoo dot es --- make BOOT_CFLAGS='-O1' V=1 all make BOOT_CFLAGS='-O0' V=1 both fails the same way as the initial report. export CFLAGS="-march=i686 -mtune=generic -O0 -pipe" export CXXFLAGS="-march=i686 -mtune=generic -O0 -pipe" make BOOT_CFLAGS='-O0' V=1 fails on configure: error: unsupported system, cannot find sizeof (omp_lock_t) make[2]: *** [Makefile:24035: configure-stage1-target-libgomp] Error 1 (this is before the build reaches the failure point discussed on this bug report). Finally, trying to reduce as much as possible the optimization passes: export CFLAGS="-march=i686 -mtune=generic -Og -pipe" export CXXFLAGS="-march=i686 -mtune=generic -Og -pipe" make BOOT_CFLAGS='-Og' V=1 fails the same way as the initial report.