https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121821
Bug ID: 121821 Summary: [16 regression] profiledbootstrap fails to build on armv8l since r16-496-gcc74e2f2b39b6d Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: thiago.bauermann at linaro dot org Target Milestone: --- Since commit r16-496-gcc74e2f2b39b6d (also tested on today's r16-3610-g1179ac1fabf346, with the same result), make profiledbootstrap fails on armv8l-linux-gnueabihf with: /path/to/build/./prev-gcc/xg++ -B/path/to/build/./prev-gcc/ -B/path/to/prefix/armv8l-unknown-linux-gnueabihf/bin/ -nostdinc++ -B/path/to/build/prev-armv8l-unknown-linux-gnueabihf/libstdc++-v3/src/.libs -B/path/to/build/prev-armv8l-unknown-linux-gnueabihf/libstdc++-v3/libsupc++/.libs -I/path/to/build/prev-armv8l-unknown-linux-gnueabihf/libstdc++-v3/include/armv8l-unknown-linux-gnueabihf -I/path/to/build/prev-armv8l-unknown-linux-gnueabihf/libstdc++-v3/include -I/path/to/gcc.git/libstdc++-v3/libsupc++ -L/path/to/build/prev-armv8l-unknown-linux-gnueabihf/libstdc++-v3/src/.libs -L/path/to/build/prev-armv8l-unknown-linux-gnueabihf/libstdc++-v3/libsupc++/.libs -fno-PIE -c -g -O2 -fno-checking -gtoggle -fprofile-generate -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-error=narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Wconditionally-supported -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -fno-PIE -I. -I. -I/path/to/gcc.git/gcc -I/path/to/gcc.git/gcc/. -I/path/to/gcc.git/gcc/../include -I/path/to/gcc.git/gcc/../libcpp/include -I/path/to/gcc.git/gcc/../libcody -I/path/to/prefix/include -I/path/to/prefix/include -I/path/to/prefix/include -I/path/to/gcc.git/gcc/../libdecnumber -I/path/to/gcc.git/gcc/../libdecnumber/dpd -I../libdecnumber -I/path/to/gcc.git/gcc/../libbacktrace -o gimple-match-10.o -MT gimple-match-10.o -MMD -MP -MF ./.deps/gimple-match-10.TPo gimple-match-10.cc /tmp/cc4Fc6cP.s: Assembler messages: /tmp/cc4Fc6cP.s:150087: Error: conditional branch out of range /tmp/cc4Fc6cP.s:150171: Error: conditional branch out of range /tmp/cc4Fc6cP.s:163133: Error: conditional branch out of range /tmp/cc4Fc6cP.s:163610: Error: conditional branch out of range /tmp/cc4Fc6cP.s:163932: Error: conditional branch out of range /tmp/cc4Fc6cP.s:506609: Error: conditional branch out of range /tmp/cc4Fc6cP.s:506626: Error: conditional branch out of range /tmp/cc4Fc6cP.s:507020: Error: conditional branch out of range /tmp/cc4Fc6cP.s:507056: Error: conditional branch out of range /tmp/cc4Fc6cP.s:507570: Error: conditional branch out of range /tmp/cc4Fc6cP.s:508155: Error: conditional branch out of range /tmp/cc4Fc6cP.s:508220: Error: conditional branch out of range /tmp/cc4Fc6cP.s:508256: Error: conditional branch out of range /tmp/cc4Fc6cP.s:508518: Error: conditional branch out of range /tmp/cc4Fc6cP.s:508554: Error: conditional branch out of range /tmp/cc4Fc6cP.s:509415: Error: conditional branch out of range /tmp/cc4Fc6cP.s:509451: Error: conditional branch out of range /tmp/cc4Fc6cP.s:509748: Error: conditional branch out of range /tmp/cc4Fc6cP.s:512756: Error: conditional branch out of range /tmp/cc4Fc6cP.s:512773: Error: conditional branch out of range /tmp/cc4Fc6cP.s:513065: Error: conditional branch out of range /tmp/cc4Fc6cP.s:521554: Error: conditional branch out of range /tmp/cc4Fc6cP.s:521571: Error: conditional branch out of range /tmp/cc4Fc6cP.s:521910: Error: conditional branch out of range make[3]: *** [Makefile:1211: gimple-match-10.o] Error 1 make[3]: Leaving directory '/path/to/build/gcc' make[2]: *** [Makefile:5244: all-stageprofile-gcc] Error 2 make[2]: Leaving directory '/path/to/build' make[1]: *** [Makefile:26194: stageprofile-bubble] Error 2 make[1]: Leaving directory '/path/to/build' make: *** [Makefile:26448: profiledbootstrap] Error 2 make: Leaving directory '/path/to/build' The parent commit r16-495-g65bf1a88dc683f builds correctly on the same machine. GCC configured with: /path/to/gcc.git/configure \ --with-mpc=/path/to/prefix \ --with-mpfr=/path/to/prefix \ --with-gmp=/path/to/prefix \ --with-gnu-as \ --with-gnu-ld \ --disable-libmudflap \ --enable-lto \ --enable-shared \ --without-included-gettext \ --enable-nls \ --with-system-zlib \ --disable-sjlj-exceptions \ --enable-gnu-unique-object \ --enable-linker-build-id \ --disable-libstdcxx-pch \ --enable-c99 \ --enable-clocale=gnu \ --enable-libstdcxx-debug \ --enable-long-long \ --with-cloog=no \ --with-ppl=no \ --with-isl=no \ --disable-multilib \ --with-float=hard \ --with-fpu=neon-fp-armv8 \ --with-mode=thumb \ --with-arch=armv8-a \ --enable-threads=posix \ --enable-multiarch \ --enable-libstdcxx-time=yes \ --enable-gnu-indirect-function \ --disable-werror \ --enable-checking=yes \ --enable-bootstrap \ --enable-languages=default \ --prefix=/path/to/prefix This is on Ubuntu 24.04.