This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
egcs-2.93.08 19990215 sparc-sun-solaris2.5 bootstrap fails (genrecog)
- To: egcs-bugs at cygnus dot com
- Subject: egcs-2.93.08 19990215 sparc-sun-solaris2.5 bootstrap fails (genrecog)
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Mon, 15 Feb 1999 21:35:19 -0500 (EST)
I am getting bootstrap failures on sparc's for egcs-2.93.08
19990215. I initially reported an identical problem on SunOS4 with
--enable-c-cpplib, however it occurs even with no special options. I.e.
its not specific to cpplib. Both solaris and SunOS4 have this error.
Here is the result on solaris 2.5 in stage2:
> stage1/xgcc -Bstage1/ -B/usr/local/sparc-sun-solaris2.5/bin/ -DIN_GCC
> -DHAIFA -DSVR4 -W -Wall -O2 -g -DHAVE_CONFIG_H -o genrecog
> genrecog.o rtl.o bitmap.o print-rtl.o ` case "obstack.o" in
> ?*) echo obstack.o;; esac ` ` case "alloca.o" in ?*) echo
> alloca.o ;; esac ` ` case "" in ?*) echo ;; esac ` ` case ""
> in ?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
> ./genrecog ./config/sparc/sparc.md > tmp-recog.c
> Bus Error - core dumped
> make[2]: *** [s-recog] Error 138
This is the backtrace from gdb on genrecog:
Core was generated by `./genrecog ./config/sparc/sparc.md'.
Program terminated with signal 10, Bus error.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/lib/libdl.so.1...done.
#0 0x139a8 in write_tree_1 (tree=0x3ed60, prevpos=0x34d58 "1", afterward=0x0,
type=RECOG) at ./genrecog.c:1335
1335 memset (modemap, 0, sizeof modemap);
Breakpoint 1 at 0xef7394f0
Breakpoint 2 at 0xef773ec4
Breakpoint 3 at 0x145bc: file ./genrecog.c, line 1727.
(gdb) where
#0 0x139a8 in write_tree_1 (tree=0x3ed60, prevpos=0x34d58 "1", afterward=0x0,
type=RECOG) at ./genrecog.c:1335
#1 0x14384 in write_tree (tree=0x3ed60, prevpos=0x6 "B\b", afterward=0x0,
initial=1, type=RECOG) at ./genrecog.c:1620
#2 0x13214 in write_subroutine (tree=0x3ed60, type=RECOG) at ./genrecog.c:1061
#3 0x1308c in break_out_subroutines (head={first = 0x3ed60, last = 0x585c0},
type=RECOG, initial=0) at ./genrecog.c:1017
#4 0x13048 in break_out_subroutines (head={first = 0x396a8, last = 0xcf008},
type=RECOG, initial=0) at ./genrecog.c:1012
#5 0x13048 in break_out_subroutines (head={first = 0xccef0, last = 0xd36d0},
type=RECOG, initial=1) at ./genrecog.c:1012
#6 0x14860 in main (argc=863336, argv=0xefffed18) at ./genrecog.c:1822
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions