Problem compiling gs5.10 on sparc-solaris2.6 UltraSparc with egcs 1.1
Christian Iseli
chris@ludwig-alpha.unil.ch
Tue Sep 8 05:53:00 GMT 1998
Hi folks,
I compiled egcs-1.1 on sparc-sun-solaris2.6 with no problems.
Thanks go to all the egcs development team for a nice piece of software!
Now for some other news (sorry): cc1 gets a SIGSEGV when compiling the file
iutil.c of
the gs5.10 distribution like so:
gcc -O2 -mcpu=ultrasparc -Wall -Wcast-qual -Wpointer-arith -Wstrict-prototypes
-Wwrite-strings -c iutil.c
gcc: Internal compiler error: program cc1 got fatal signal 11
and a gdb trace looks like this:
Core was generated by `/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.91.57/cc1 /var/tmp/ccVqKVHw.'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/lib/libdl.so.1...done.
Reading symbols from /usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1...done.
#0 0xbefc8 in find_reg_note ()
(gdb) where
#0 0xbefc8 in find_reg_note ()
#1 0x1c5538 in output_cbranch ()
#2 0x1c3470 in output_scc_insn ()
#3 0x19eff0 in output_61 ()
#4 0x18a220 in final_scan_insn ()
#5 0x1893a8 in final ()
#6 0x5d71c in rest_of_compilation ()
#7 0x47f6c in finish_function ()
#8 0x355a8 in yyparse ()
#9 0x5b608 in compile_file ()
#10 0x5f028 in main ()
When I take out the -mcpu=ultrasparc option, the file compiles just fine.
EGCS was itself compiled with -mcpu=ultrasparc BTW.
Cheers,
Christian
More information about the Gcc-bugs
mailing list