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 mips-sgi-irix6.2 bootstrap fails with --enable-c-cpplib


	When I bootstrap "egcs-2.93.06 19990211" on mips-sgi-irix6.2
using --enable-c-cpplib and cc -n32 for stage1, I get this crash in stage2:


 > stage1/xgcc -Bstage1/ -B/usr/local/mips-sgi-irix6.2/bin/ -DIN_GCC
 > 	-DUSE_CPPLIB=1 -W -Wall -O2 -g -DHAVE_CONFIG_H -I. -I. -I./config
 > 	-I./../include -c ./c-parse.c
 > xgcc: Internal compiler error: program cc1 got fatal signal 10
 > make[2]: *** [c-parse.o] Error 1


	Here is the backtrace from gdb:


 > Core was generated by `cc1'.
 > Program terminated with signal 10, Bus error.
 > Reading symbols from /usr/lib32/libc.so.1...done.
 > #0  realfree ()
 >     at /xlv21/patches/3311/work/irix/lib/libc/libc_n32_M4/gen/malloc.c:511
 > /xlv21/patches/3311/work/irix/lib/libc/libc_n32_M4/gen/malloc.c:511: No such file or directory.
 > Breakpoint 1 at 0xfa39144: file /xlv21/patches/3311/work/irix/lib/libc/libc_n32_M4/gen/abort.c, line 30.
 > Breakpoint 2 at 0xfa39c14
 > Breakpoint 3 at 0x10026408: file toplev.c, line 2226.
 > (gdb) where
 > #0  realfree ()
 >     at /xlv21/patches/3311/work/irix/lib/libc/libc_n32_M4/gen/malloc.c:511
 > #1  0xfa422c0 in cleanfree ()
 >     at /xlv21/patches/3311/work/irix/lib/libc/libc_n32_M4/gen/malloc.c:944
 > #2  0xfa41230 in _realloc ()
 >     at /xlv21/patches/3311/work/irix/lib/libc/libc_n32_M4/gen/malloc.c:329
 > #3  0x10026668 in xrealloc (ptr=0x10451148, size=92) at toplev.c:2296
 > #4  0x1033f4dc in extend_token_buffer (p=0x10451170 "") at c-lex.c:502
 > #5  0x10344a40 in yylex () at c-lex.c:2116


	Hope this helps.

		--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]