https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119430
Bug ID: 119430 Summary: profiledbootstrap fails on armv7a-unknown-linux-gnueabhif Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: build, wrong-code Severity: normal Priority: P3 Component: ada Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org CC: dkm at gcc dot gnu.org Target Milestone: --- Originally reported downstream in Gentoo at https://bugs.gentoo.org/951741 where I started to make some notes but I've been hitting this for a while. Bootstrapping with profiledbootstrap and --with-build-config="bootstrap-lto bootstrap-O3" fails pretty late in the build with: ``` /var/tmp/portage/sys-devel/gcc-15.0.9999/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-15.0.9999/work/build/./gcc/ -B/usr/armv7a-unknown-linux-gnueabihf/bin/ -B/usr/armv7a-unknown-linux-gnueabihf/lib/ -isystem /usr/armv7a-unknown-linux-gnueabihf/include -isystem /usr/armv7a-unknown-linux-gnueabihf/sys-include -c -g -O2 -fPIC -fno-lto -W -Wall -gnatpg -nostdinc a-calari.adb -o a-calari.o +===========================GNAT BUG DETECTED==============================+ | 15.0.1 20250321 (experimental) db0b0b3db3208770da91ece89350dc23b4d94193 (armv7a-unknown-linux-gnueabihf) | | Storage_Error stack overflow or erroneous memory access | | Error detected at a-calend.ads:36:1 | | Compiling a-calari.adb | | Please submit a bug report; see https://gcc.gnu.org/bugs/ . | | Use a subject line meaningful to you and us to track the bug. | | Include the entire contents of this bug box in the report. | | Include the exact command that you entered. | | Also include sources listed below. | +==========================================================================+ Please include these source files with error report Note that list may not be accurate in some cases, so please double check that the problem can still be reproduced with the set of files listed. Consider also -gnatd.n switch (see debug.adb). system.ads a-calari.adb a-calari.ads a-calend.ads ada.ads s-exctab.ads s-stalib.ads a-unccon.ads compilation abandoned make[7]: *** [../gcc-interface/Makefile:300: a-calari.o] Error 1 make[7]: Leaving directory '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/build/gcc/ada/rts' make[7]: *** Waiting for unfinished jobs.... [...] ```