------- Additional Comments From aaronavay62 at aaronwl dot com 2005-02-27
04:41 -------
OK, I tried again with "make bootstrap", and I get a nearly identical problem:
stage1/gnatbind -C -I- -I. -Iada
-I/aaronwl/cs/compilers/gcc/src/cvs/head/gcc/gcc/ada -o ada/b_gnat1.c -n
ada/gnat1drv.ali
make[3]: *** [ada/b_gnat1.c] Error 5
make[3]: Leaving directory `/aaronwl/cs/env/mingw-head/20050226/build/gcc/gcc'
make[2]: *** [stage2_build] Error 2
In gdb:
Program received signal SIGSEGV, Segmentation fault.
0x004034e9 in __gnat_install_SEH_handler (ER=0x77c3b814)
at /aaronwl/cs/compilers/gcc/src/cvs/head/gcc/gcc/ada/seh_init.c:219
219 ((int *)ER)[0] = (int)ptr; /* previous handler
*/
#0 0x004034e9 in __gnat_install_SEH_handler (ER=0x77c3b814)
at /aaronwl/cs/compilers/gcc/src/cvs/head/gcc/gcc/ada/seh_init.c:219
#1 0x0040321b in __gnat_initialize (eh=0x77c3b814)
at /aaronwl/cs/compilers/gcc/src/cvs/head/gcc/gcc/ada/init.c:840
#2 0x004015a8 in main (argc=10, argv=0x3d4250, envp=0x3d2fc0)
at ada/b_gnatb.c:260
Inspecting the values above yield nothing apparently abnormal. In particular,
((int *)ER)[0] appears to be valid. Is this a codegen bug?
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |dannysmith at users dot
| |sourceforge dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20226