https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125366

            Bug ID: 125366
           Summary: [16.1.0 Regression] GCC bootstrap comparison failure
                    with bootstrap-lto
           Product: gcc
           Version: 16.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: m.kowalewski at outlook dot com
  Target Milestone: ---

Created attachment 64490
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=64490&action=edit
differing files and logs

I have tried to bootstrap GCC 16.1.0 with bootstrap-lto profile and additional
flags, but the comparison fails with 2 files differing between stages. This is
a regression compared to the 15.2.0 release, that correctly bootstraps with the
exactly same flags and configuration, and on the same system.

Recent log shows:
Comparing stages 2 and 3
Bootstrap comparison failure!
gcc/gimple-match-5.o differs
gcc/insn-recog-9.o differs

stage3 xgcc -v: 
Using built-in specs.
COLLECT_GCC=./xgcc
Target: x86_64-pc-linux-gnu
Configured with: ../gcc-src/configure --disable-multilib
--enable-languages=c,c++,lto --with-build-config=bootstrap-lto
--prefix=/home/urquelle/gcc
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 16.1.0 (GCC)

command line: make BOOT_CFLAGS='-O3 -march=native -flto -flto-partition=none
-ftrivial-auto-var-init=uninitialized -fgraphite-identity -floop-nest-optimize
-fno-semantic-interposition -fno-plt -s -fno-ident
-fno-asynchronous-unwind-tables'

system specs:
WSL ubuntu 26.04, linux 6.6.114.1-microsoft-standard-WSL2, CPU i5-1350P

I am including generated Makefile, recent log before failure and the config
file. I am also including gimple files in question from stage2 and stage3.

Reply via email to