https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119215
--- Comment #12 from James K. Lowden <jklowden at gcc dot gnu.org> ---
I cannot seem to get LTO testing to work correctly. I'm using:
$ time sh -x ../../build.sh
+ ../configure --prefix=/tmp/gcc --with-build-config=bootstrap-lto
--enable-languages=cobol,lto --disable-multilib
*** This configuration is not supported in the following subdirectories:
gnattools gotools libgrust target-libada target-libga68 target-libphobos
target-zlib target-libbacktrace target-libgfortran target-libgo target-libffi
target-libgm2 target-libobjc target-libgrust
(Any other directories should still work fine.)
+ nproc
+ nproc
+ nohup make -j16 -l16 CXXFLAGS=-Werror=odr -Werror=lto-type-mismatch
The output reports stage 2/3 differences, and stops:
rm -f stage_current
make[3]: Leaving directory '/home/jklowden/projects/3rd/gcc/parser/build-lto'
Comparing stages 2 and 3
warning: gcc/cc1plus-checksum.o differs
warning: gcc/cobol/parse.o differs
warning: gcc/cc1-checksum.o differs
Bootstrap comparison failure!
[followed by 834 files that differ]
The only thing I know for sure is that it's repeatable.