I filed 25679 – openmp code prevents lto bootstrap which shows that
openmp code breaks the LTO bootstrap. It would be really nice if this
can be fixed since LTO bootstrap produces a faster compiler and very
nice stress test for the compiler itself.
I've responded to 25679 – openmp code prevents lto bootstrap. It appears to me to be something wrong with the linking process. I don't know if it is the LTO plugin, the linkers interaction with LTO, or the linker itself, but I've shown why I don't believe there is anything wrong with libomp.
I CC'd Rafael, lets see what the thinks. Thanks for looking into this!