On 31 Aug 2011, at 16:57, Arnaud Charlet wrote:
(x86_64-unknown-linux-gnu) |
| Storage_Error stack overflow or erroneous memory
access |
| Error detected at system.ads:
175:5 |
+
=
=
=
=
=
=
====================================================================+
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).
/scratch/jmyers/fsf/gcc-mainline/gcc/ada/system.ads
/scratch/jmyers/fsf/gcc-mainline/gcc/ada/a-charac.ads
/scratch/jmyers/fsf/gcc-mainline/gcc/ada/ada.ads
compilation abandoned
make[3]: *** [ada/a-charac.o] Error 1
make[3]: *** Waiting for unfinished jobs....
[...]
make[3]: Leaving directory `/scratch/jmyers/fsf/build/gcc'
make[2]: *** [all-stage3-gcc] Error 2
make[2]: Leaving directory `/scratch/jmyers/fsf/build'
make[1]: *** [stage3-bubble] Error 2
make[1]: Leaving directory `/scratch/jmyers/fsf/build'
make: *** [all] Error 2
The bootstrap compiler is 4.6.2 20110816 (prerelease).
OK. Can you get a backtrace from gnat1 on this crash so that
we get a bit more info about where gnat1 is crashing? As I said, I
can't
reproduce it and the above info unfortunately isn't enough to
understand
what is going on.
on i686-darwin9:
(gdb) run
Starting program: /Volumes/ScratchCS/gcc-4-7-trunk-build/prev-gcc/
gnat1 -I - -I . -I ada -I /GCC/gcc-live-trunk/gcc/ada -I /GCC/gcc-live-
trunk/gcc/ada/gcc-interface -quiet -nostdinc -dumpbase a-charac.ads -
auxbase-strip ada/a-charac.o -O2 -fexceptions -mmacosx-version-
min=10.5.8 -g -gnatpg -gnata -gnatwns -mtune=core2 -fPIC -feliminate-
unused-debug-symbols -gnatO ada/a-charac.o /GCC/gcc-live-trunk/gcc/ada/
a-charac.ads -o /var/folders/OW/OW-PGOtgHbKakssxFpJpkU++-0E/-Tmp-//
ccKUPx8T.s
Reading symbols for shared libraries +++.. done
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x001c4fa0 in lib__writ__write_ali ()
(gdb) bt
#0 0x001c4fa0 in lib__writ__write_ali ()
#1 0x0036799a in _ada_gnat1drv ()
#2 0x000305f5 in gnat_parse_file ()
cheers,
Iain