This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

egcs-2.93.06 sparc-sun-sunos4.1.4 bootstrap fails with --enable-c-cpplib


	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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]