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]

Can't bootstrap current gcc cvs trunk on sparc-linux: SIGSEGV: build/genattrtab /usr/local/src/trunk/gcc/gcc/config/sparc/sparc.md > tmp-attrtab.c


Aurora SPARC Linux release 2.0 (Kashmir FC3) UltraSparc IIi (Sabre) sun4u:

binutils-2.16.90.0.3-1.sparc
bison-1.875c-2.sparc
dejagnu-1.4.4-2.noarch
expect-5.42.1-1.sparc
gcc-3.4.2-6.fc3.sparc
gcc4-4.0.0-0.8sparc.sparc
glibc-2.3.3-99.sparc64
glibc-2.3.3-99.sparcv9
glibc-devel-2.3.3-99.sparc
glibc-devel-2.3.3-99.sparc64
glibc-headers-2.3.3-99.sparc64
glibc-headers-2.3.3-99.sparc
glibc-kernheaders-2.6-20sparc.sparc
gmp-4.1.4-3sparc.sparc
gmp-4.1.4-3sparc.sparc64
gmp-devel-4.1.4-3sparc.sparc
gmp-devel-4.1.4-3sparc.sparc64
kernel-2.6.11-1.1166sp1.sparc64
package kernel-devel is not installed
package kernel-smp is not installed
libgcc-3.4.2-6.fc3.sparc
libgcc-3.4.2-6.fc3.sparc64
libstdc++-3.4.2-6.fc3.sparc64
libstdc++-3.4.2-6.fc3.sparc
libstdc++-devel-3.4.2-6.fc3.sparc64
libstdc++-devel-3.4.2-6.fc3.sparc
make-3.80-5.sparc
nptl-devel-2.3.3-99.sparcv9
tcl-8.4.7-2.sparc


LAST_UPDATED: Thu Jun  2 08:44:04 UTC 2005

[chj@ultra10 objdir32]$ tail build.log
 build/genattrtab.o build/genautomata.o \
 build/rtl.o build/read-rtl.o build/ggc-none.o build/min-insn-modes.o
build/gensupport.o build/insn-conditions.o build/print-rtl.o
build/errors.o \
 build/varray.o ../build-sparc-linux/libiberty/libiberty.a -lm
build/genattrtab /usr/local/src/trunk/gcc/gcc/config/sparc/sparc.md >
tmp-attrtab.c
/bin/sh: line 1:  5356 Segmentation fault      build/genattrtab
/usr/local/src/trunk/gcc/gcc/config/sparc/sparc.md >tmp-attrtab.c
make[2]: *** [s-attrtab] Error 139
make[2]: Leaving directory `/usr/local/src/trunk/objdir32/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/usr/local/src/trunk/objdir32/gcc'
make: *** [bootstrap] Error 2
[chj@ultra10 objdir32]$ gdb gcc/build/gena
genattr        genattr.o      genattrtab     genattrtab.o   genautomata.o
[chj@ultra10 objdir32]$ cd gcc
[chj@ultra10 gcc]$ gdb build/genattrtab
GNU gdb Red Hat Linux (6.3.0.0-0.29rh)
Copyright 2004 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-redhat-linux"...Using host
libthread_db library "/lib/libthread_db.so.1".

Breakpoint 1 at 0x33a3c: file /usr/local/src/trunk/gcc/gcc/errors.c, line 133.
Breakpoint 2 at 0x3393c: file /usr/local/src/trunk/gcc/gcc/errors.c, line 97.
Breakpoint 3 at 0x5230c
Breakpoint 4 at 0x52204
(gdb) set args /usr/local/src/trunk/gcc/gcc/config/sparc/sparc.md >
tmp-attrtab.c
(gdb) r
Starting program: /usr/local/src/trunk/objdir32/gcc/build/genattrtab
/usr/local/src/trunk/gcc/gcc/config/sparc/sparc.md > tmp-attrtab.c
warning: linux_test_for_tracefork: unexpected result from waitpid
(6198, status 0xb7f)
Breakpoint 3 at 0x700f8de4
Breakpoint 4 at 0x700f7b04

Program received signal SIGSEGV, Segmentation fault.
0x00021240 in pass_state_graph (start_state=0x300024c,
applied_func=0x212c0 <add_achieved_state>)
    at /usr/local/src/trunk/gcc/gcc/genautomata.c:6025
6025      if (start_state->pass_num == curr_state_graph_pass_num)
(gdb) bt
#0  0x00021240 in pass_state_graph (start_state=0x300024c,
applied_func=0x212c0 <add_achieved_state>)
    at /usr/local/src/trunk/gcc/gcc/genautomata.c:6025
#1  0x000214b4 in minimize_DFA (automaton=0x156a70) at
/usr/local/src/trunk/gcc/gcc/genautomata.c:6273
#2  0x00023bc4 in create_automata () at
/usr/local/src/trunk/gcc/gcc/genautomata.c:6512
#3  0x0002baec in expand_automata () at
/usr/local/src/trunk/gcc/gcc/genautomata.c:9540
#4  0x00017cf4 in main (argc=0, argv=0x3) at
/usr/local/src/trunk/gcc/gcc/genattrtab.c:4511
(gdb) quit
The program is running.  Exit anyway? (y or n) y
[chj@ultra10 gcc]$

Any ideas of what goes on?

-- 
Cheers,

/ChJ


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