egcs-2.93.06 sparc-sun-sunos4.1.4 bootstrap fails with --enable-c-cpplib
Kaveh R. Ghazi
ghazi@caip.rutgers.edu
Thu Feb 11 21:11:00 GMT 1999
When I bootstrap "egcs-2.93.06 19990211" on sparc-sun-sunos4.1.4
using --enable-c-cpplib, cc for stage1 and BOOT_CFLAGS = "-g -O2
-D__USE_FIXED_PROTOTYPES__ -pipe", I get this crash in stage2:
> ./genrecog ./config/sparc/sparc.md > tmp-recog.c
> /bin/sh: 13472 Bus error - core dumped
> make[2]: *** [s-recog] Error 138
Here is the backtrace from gdb:
> (gdb) where
> #0 write_tree_1 (tree=0x414b8, prevpos=0x41530 "1", afterward=0x0, type=RECOG)
> at ./genrecog.c:1335
> #1 0x5a88 in write_tree (tree=0x414b8, prevpos=0x0, afterward=0x0, initial=1,
> type=RECOG) at ./genrecog.c:1620
> #2 0x441c in write_subroutine (tree=0x414b8, type=RECOG) at ./genrecog.c:1061
> #3 0x4110 in break_out_subroutines (head={first = 0x414b8, last = 0x59bc0},
> type=RECOG, initial=0) at ./genrecog.c:1017
> #4 0x40cc in break_out_subroutines (head={first = 0x3bae8, last = 0xd0330},
> type=RECOG, initial=0) at ./genrecog.c:1012
> #5 0x40cc in break_out_subroutines (head={first = 0xce460, last = 0xd4d08},
> type=RECOG, initial=1) at ./genrecog.c:1012
> #6 0x662c in main (argc=868720, argv=0xefffe958) at ./genrecog.c:1804
--Kaveh
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions
More information about the Gcc-bugs
mailing list