[Bug ada/77405] New: SIGBUS from gnatmake in stage 3 (gcc 7.0)
gnugcc at marino dot st
gcc-bugzilla@gcc.gnu.org
Mon Aug 29 18:43:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77405
Bug ID: 77405
Summary: SIGBUS from gnatmake in stage 3 (gcc 7.0)
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ada
Assignee: unassigned at gcc dot gnu.org
Reporter: gnugcc at marino dot st
Target Milestone: ---
(cd tools; ln -s ../sdefault.adb ../snames.ads ../snames.adb .)
libtool: compile: /home/marino/iterate-gcc-test/scratch/build/./gcc/xgcc
-B/home/marino/iterate-gcc-test/scratch/build/./gcc/ -B/u
libtool: compile: /home/marino/iterate-gcc-test/scratch/build/./gcc/xgcc
-B/home/marino/iterate-gcc-test/scratch/build/./gcc/ -B/u
rm -f tools/mlib-tgt-specific.adb; ln -s
/home/marino/iterate-gcc-test/scratch/gcc-trunk-source/gcc/ada/mlib-tgt-specific-linux.adb
touch ../stamp-tools
../../gnatmake -j0 -c -b -I- -I../rts -I.
-I/home/marino/iterate-gcc-test/scratch/gcc-trunk-source/gcc/ada \
--GNATBIND="../../gnatbind" --GCC="../../xgcc -B../../ -g -pipe -O2
-DLIBICONV_PLUG -fno-strict-aliasing -W -Wall -gnatpg -gnata
gnatchop gnatcmd gnatkr gnatls gnatprep gnatxref gnatfind gnatname \
gnatclean -bargs -I- -I../rts -I.
-I/home/marino/iterate-gcc-test/scratch/gcc-trunk-source/gcc/ada -static -x
raised STORAGE_ERROR : SIGBUS: possible stack overflow
gnatmake: INTERNAL ERROR. Please report.
gmake[4]: *** [../gcc-interface/Makefile:2647: common-tools] Error 4
gmake[4]: Leaving directory
'/build/home/marino-huge/gcc-test-area/build/gcc/ada/tools'
libtool: compile: /home/marino/iterate-gcc-test/scratch/build/./gcc/xgcc
-B/home/marino/iterate-gcc-test/scratch/build/./gcc/ -B/u
gmake[3]: *** [Makefile:197: gnattools-native] Error 2
gmake[3]: Leaving directory
'/build/home/marino-huge/gcc-test-area/build/gnattools'
gmake[2]: *** [Makefile:12496: all-gnattools] Error 2
gmake[2]: *** Waiting for unfinished jobs....
This is repeatable. The final time I tried with -j2 (down from -j8).
I'll upload the entire log. GCC 6.1 was used for the first stage, but by stage
3, GCC should be building itself. (DragonFly host 4.7)
More information about the Gcc-bugs
mailing list