This is the mail archive of the gcc@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]

Failure to bootstrap gcc 20021015 cvs trunk on cygwin: SIGSEGV gengtype.c:376: rtx_next[i] = -1;


This was on a Windows XP SP1/cygwin P4 system with these packages:

binutils  20020706-2
cygwin    1.3.12-4
dejagnu   1.4.3       (cygwin ver. 20010117-1 with 1.4.3 on top)
gcc       3.2-1

In-tree joined gcc and binutils cvs trunks.


stage1/xgcc.exe -Bstage1/ -B/usr/local/gcc-binutils/i686-pc-cygwin/bin/   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -fno-common  -DHAVE_CONFIG_H -DGENERATOR_FILE  -o gengtype.exe \
 gengtype.o gengtype-lex.o gengtype-yacc.o ../libiberty/libiberty.a
./gengtype
Signal 11
make[2]: *** [s-gtype] Error 139
make[2]: Leaving directory `/usr/local/src/gcc-binutils/trunk/objdir/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/usr/local/src/gcc-binutils/trunk/objdir/gcc'
make: *** [bootstrap-lean] Error 2


$ gdb -nw gengtype
GNU gdb 5.0 (20010428-3)
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 "i686-pc-cygwin"...
(gdb) r
Starting program: /usr/local/src/gcc-binutils/trunk/objdir/gcc/gengtype.exe

Program received signal SIGSEGV, Segmentation fault.
gen_rtx_next ()
    at /usr/local/src/gcc-binutils/trunk/gcc-binutils/gcc/gengtype.c:376
376           rtx_next[i] = -1;
(gdb) bt
#0  gen_rtx_next ()
    at /usr/local/src/gcc-binutils/trunk/gcc-binutils/gcc/gengtype.c:376
#1  0x00409cc5 in main ()
    at /usr/local/src/gcc-binutils/trunk/gcc-binutils/gcc/gengtype.c:2378
#2  0x61005b8e in _libkernel32_a_iname ()
#3  0x61005e2c in _libkernel32_a_iname ()
#4  0x00412c12 in cygwin_crt0 ()
    at /usr/local/src/gcc+binutils/trunk/gcc/gcc/gengtype-lex.c:3013
#5  0x0040103c in mainCRTStartup ()
#6  0x77e814c7 in _libkernel32_a_iname ()
(gdb)


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