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]
Other format: [Raw text]

Can't build gcc-3.1 (CVS 2001-11-29) on sparc-linux

[Get raw message]
I'm trying to bootstrap gcc-3.1 (from CVS 2001-11-29) on a debian woody 
sparc ss20 system (prerelease testing). This has binutils-2.11.92.0.10-4 
and libc-2.2.4-5.

The bootstrap fails here:

stage1/xgcc -Bstage1/ -B/usr/local/sparc-unknown-linux-gnu/bin/  
-DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  
-DHAVE_CONFIG_H -DGENERATOR_FILE  -o gengenrtl \
 gengenrtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case 
"" in ?*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac ` ` case "" in 
?*) echo  ;; esac `
./gengenrtl -h > tmp-genrtl.h
make[2]: *** [s-genrtl] Error 134
make[2]: Leaving directory `/home/chj/objdir-gcc/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/home/chj/objdir-gcc/gcc'
make: *** [bootstrap-lean] Error 2

and a try at a backtrace using gdb_5.0.cvs20011007-3 I get this:

chj@fw:~/objdir-gcc/gcc$ gdb gengenrtl
GNU gdb 5.0.90-cvs (MI_OUT)
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-linux"...
.gdbinit:7: Error in sourced command file:
../../gcc/gcc/gdbinit.in:91: Error in sourced command file:
Function "fancy_abort" not defined.
(gdb) set args -h
(gdb) r
Starting program: /home/chj/objdir-gcc/gcc/gengenrtl -h




Program received signal SIGABRT, Aborted.
0x5006255c in kill () from /lib/libc.so.6
(gdb) bt
#0  0x5006255c in kill () from /lib/libc.so.6
#1  0x500622c8 in raise () from /lib/libc.so.6
#2  0x500639ac in abort () from /lib/libc.so.6
#3  0x000109b0 in type_from_format (c=108) at ../../gcc/gcc/gengenrtl.c:149
#4  0x00010ce8 in gendecl (format=0x12120 "lo_sum")
    at ../../gcc/gcc/gengenrtl.c:255
#5  0x000110f4 in genheader () at ../../gcc/gcc/gengenrtl.c:360
#6  0x00011258 in main (argc=143360, argv=0xefffeecd)
    at ../../gcc/gcc/gengenrtl.c:425
#7  0x5004e9d8 in __libc_start_main () from /lib/libc.so.6
(gdb)


Any hints on what's going on?

Cheers,

/ChJ


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