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]

bootstrapping fails with current CVS version



I run cvs update at 5:30 UTC today (27th Oct) and can't bootstrap
currently (the last bootstrap (24 hours ago) was fine).  make
bootstrap aborts with:

  ./xgcc -B/opt/gcc-2.96/i686-pc-linux-gnu/bin/ -B./ -I/opt/gcc-2.96/i686-pc-linux-gnu/include -O2   -DIN_GCC    -g -W -Wall -I./include  -fPIC -g1 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I../../cvs/gcc/gcc -I../../cvs/gcc/gcc/config -I../../cvs/gcc/gcc/../include -c -DL${name} \
       ../../cvs/gcc/gcc/libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  ` if [ -f /usr/src/build-cc/gcc/../binutils/ar ] ; then echo /usr/src/build-cc/gcc/../binutils/ar ; else if [ "i686-pc-linux-gnu" = "i686-pc-linux-gnu" ] ; then echo ar; else t='s,^,i686-pc-linux-gnu-,'; echo ar | sed -e $t ; fi; fi` rc tmplibgcc2.a ${name}.o; \
  rm -f ${name}.o; \
done
_muldi3
_divdi3
xgcc: Internal compiler error: program cc1 got fatal signal 11
make[2]: *** [libgcc2.a] Error 1


Here's a backtrace from gdb:
Starting program: /usr/src/build-cc/gcc/./cc1 libgcc2.i -quiet -dumpbase libgcc2.c -g -g1 -O2 -W -Wall -version -fPIC -o libgcc2.s
GNU C version 2.96 19991026 (experimental) (i686-pc-linux-gnu) compiled by GNU C version 2.95.2 19991024 (release).

Program received signal SIGSEGV, Segmentation fault.
0x82722c8 in mark_target_live_regs (insns=0x401c9ba0, target=0x401df260, 
    res=0xbffff034) at ../../cvs/gcc/gcc/resource.c:835
835         b = BLOCK_NUM (target);
(gdb) bt
#0  0x82722c8 in mark_target_live_regs (insns=0x401c9ba0, target=0x401df260, 
    res=0xbffff034) at ../../cvs/gcc/gcc/resource.c:835
#1  0x8272b2d in mark_target_live_regs (insns=0x401c9ba0, target=0x401cd480, 
    res=0xbffff0c0) at ../../cvs/gcc/gcc/resource.c:1039
#2  0x827333a in reg_dead_p (current_insn=0x401cd480, reg=0x401e0f50)
    at ../../cvs/gcc/gcc/resource.c:1294
#3  0x81d767f in peephole2_insns (x0=0x401c8f90, insn=0x401cd480, 
    _plast_insn=0xbffff168) at insn-recog.c:21396
#4  0x81b6a75 in peephole2_optimize (dump_file=0x0)
    at ../../cvs/gcc/gcc/recog.c:2741
#5  0x804d836 in rest_of_compilation (decl=0x401c3900)
    at ../../cvs/gcc/gcc/toplev.c:4233
#6  0x828a006 in finish_function (nested=0) at ../../cvs/gcc/gcc/c-decl.c:6713
#7  0x8276d8a in yyparse () at c-parse.y:314
#8  0x804b874 in compile_file (name=0x40122da0 "libgcc2.i")
    at ../../cvs/gcc/gcc/toplev.c:3200
#9  0x804f9b0 in main (argc=14, argv=0xbffff804)
    at ../../cvs/gcc/gcc/toplev.c:5558
(gdb) p target
$1 = 0x401df260
(gdb) p *target
$2 = {code = INSN, mode = VOIDmode, jump = 0, call = 0, unchanging = 0, 
  volatil = 0, in_struct = 0, used = 0, integrated = 0, frame_related = 0, 
  fld = {{rtwint = 605, rtint = 605, 
      rtstr = 0x25d <Address 0x25d out of bounds>, rtx = 0x25d, rtvec = 0x25d, 
      rttype = 605, rt_addr_diff_vec_flags = {min_align = 93, 
        base_after_vec = 0, min_after_vec = 1, max_after_vec = 0, 
        min_after_base = 0, max_after_base = 0, offset_unsigned = 0, 0, 
        scale = 0}, rtbit = 0x25d, rttree = 0x25d, bb = 0x25d}}}

My system: glibc 2.1.2, Linux 2.2.13 on i686.

Andreas
-- 
 Andreas Jaeger   
  SuSE Labs aj@suse.de	
   private aj@arthur.rhein-neckar.de


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