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

            Bug ID: 122815
           Summary: [16 Regression] bootstrap failure using lto+profiled
                    on arm-linux-gnueabihf
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at gcc dot gnu.org
  Target Milestone: ---

trunk 20251123 fails to build on arm-linux-gnueabihf:

binutils is 2.45, working fine to build GCC 15.

make[5]: Entering directory '/<<PKGBUILDDIR>>/build/gcc'
/<<PKGBUILDDIR>>/build/./prev-gcc/xg++ -B/<<PKGBUILDDIR>>/build/./prev-gcc/
-B/usr/arm-linux-gnueabihf/bin/ -nostdinc++
-B/<<PKGBUILDDIR>>/build/prev-arm-linux-gnueabihf/libstdc++-v3/src/.libs
-B/<<PKGBUILDDIR>>/build/prev-arm-linux-gnueabihf/libstdc++-v3/libsupc++/.libs 
-isystem
/<<PKGBUILDDIR>>/build/prev-arm-linux-gnueabihf/libstdc++-v3/include/arm-linux-gnueabihf
 -isystem /<<PKGBUILDDIR>>/build/prev-arm-linux-gnueabihf/libstdc++-v3/include 
-isystem /<<PKGBUILDDIR>>/src/libstdc++-v3/libsupc++
-L/<<PKGBUILDDIR>>/build/prev-arm-linux-gnueabihf/libstdc++-v3/src/.libs
-L/<<PKGBUILDDIR>>/build/prev-arm-linux-gnueabihf/libstdc++-v3/libsupc++/.libs 
-fno-PIE -c   -g -O2 -fno-stack-protector -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../../src/gcc
-I../../src/gcc/. -I../../src/gcc/../include  -I../../src/gcc/../libcpp/include
-I../../src/gcc/../libcody  -I../../src/gcc/../libdecnumber
-I../../src/gcc/../libdecnumber/dpd -I../libdecnumber
-I../../src/gcc/../libbacktrace   -o gimple-match-9.o -MT gimple-match-9.o -MMD
-MP -MF ./.deps/gimple-match-9.TPo gimple-match-9.cc
/tmp/ccUKKtX9.s: Assembler messages:
/tmp/ccUKKtX9.s:167126: Error: conditional branch out of range
/tmp/ccUKKtX9.s:167216: Error: conditional branch out of range
/tmp/ccUKKtX9.s:167581: Error: conditional branch out of range
/tmp/ccUKKtX9.s:167629: Error: conditional branch out of range
/tmp/ccUKKtX9.s:167685: Error: conditional branch out of range
[...]
/tmp/ccUKKtX9.s:553075: Error: conditional branch out of range
/tmp/ccUKKtX9.s:553368: Error: conditional branch out of range
make[5]: *** [Makefile:1221: gimple-match-9.o] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build/gcc'
make[4]: *** [Makefile:5277: all-stageprofile-gcc] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[3]: *** [Makefile:32831: stageprofile-bubble] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[2]: *** [Makefile:33112: profiledbootstrap-lean] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build'

configured with
         --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2,rust,algol68
         --prefix=/usr
         --with-gcc-major-version-only
         --program-suffix=-16
         --program-prefix=arm-linux-gnueabihf-
         --enable-shared
         --enable-linker-build-id
         --libexecdir=/usr/libexec
         --without-included-gettext
         --enable-threads=posix
         --libdir=/usr/lib
         --enable-nls
         --enable-bootstrap
         --enable-clocale=gnu
         --enable-libstdcxx-debug
         --enable-libstdcxx-time=yes
         --with-default-libstdcxx-abi=new
         --enable-libstdcxx-backtrace
         --enable-gnu-unique-object
         --disable-libitm
         --disable-libquadmath
         --disable-libquadmath-support
         --enable-plugin
         --enable-default-pie
         --with-system-zlib
         --enable-libphobos-checking=release
         --with-target-system-zlib=auto
         --enable-objc-gc=auto
         --enable-multiarch
         --disable-sjlj-exceptions
         --with-arch=armv7-a+fp
         --with-float=hard
         --with-mode=thumb
         --disable-werror
         --enable-checking=yes
         --build=arm-linux-gnueabihf
         --host=arm-linux-gnueabihf
         --target=arm-linux-gnueabihf

calling make profiledbootstrap-lean

Reply via email to