This is the mail archive of the 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]
Other format: [Raw text]

Bootstrap failure on irix6.5 (was: new real.c implementation)

I'm getting a stage1 bootstrap failure on mips-sgi-irix6.5 this

 > ./xgcc -B./ -B/usr/local/mips-sgi-irix6.5/bin/ -isystem
 >   /usr/local/mips-sgi-irix6.5/include -isystem
 >   /usr/local/mips-sgi-irix6.5/sys-include -O2 -DIN_GCC -W -Wall
 >   -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem
 >   ./include -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
 >   -I. -I. -I../../egcc-CVS20020917/gcc
 >   -I../../egcc-CVS20020917/gcc/. -I../../egcc-CVS20020917/gcc/config
 >   -I../../egcc-CVS20020917/gcc/../include -DL_muldi3 -c
 >   ../../egcc-CVS20020917/gcc/libgcc2.c -o libgcc/./_muldi3.o
 > cc1: internal compiler error: in ?, at real.c:2271
 > Please submit a full bug report,
 > with preprocessed source if appropriate.
 > See <URL:> for instructions.
 > make[3]: *** [libgcc/./_muldi3.o] Error 1

It doesn't get to generate a .i file, cc1 is dying in startup code.
I.e. it can't even compile a file containing "extern int i;".
I ran cc1 on "extern int i;" under gdb with the command line:

run -E -quiet -v -iprefix ./../lib/gcc-lib/mips-sgi-irix6.5/3.3/ -isystem
 ./include -isystem /usr/local/mips-sgi-irix6.5/bin/include
 /teal/caip5/ghazi/baz.c baz.i

and here's the backtrace:

#0  fancy_abort (file=0x104d9950 "../../egcc-CVS20020917/gcc/real.c", line=2271, function=0x10517f70 "?")
    at diagnostic.c:1363
#1  0x101c3c7c in real_convert (tr=0x7fff2d10, mode=DFmode, ta=0x7fff2d10) at real.c:2271
#2  0x101c292c in real_from_string2 (s=0x10517c48 "1.0e300", mode=DFmode) at real.c:1863
#3  0x101a3440 in override_options () at mips.c:5316
#4  0x100ce064 in process_options () at toplev.c:4981
#5  0x100ceb60 in do_compile () at toplev.c:5305
#6  0x100ced2c in toplev_main (argc=15, argv=0x7fff2ef4) at toplev.c:5364
#7  0x100b42b4 in main (argc=15, argv=0x7fff2ef4) at main.c:35

It looks like fmt_for_mode[] isn't initialized yet when its used in

Kaveh R. Ghazi

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