[gnu.gcc.bug] Gcc on a Sparc

fair@cleo.sw.mcc.com (Kim Michael Fairchild) (09/06/89)

Howdy,

I am also working on getting gcc going on a sparc. But I am having
problems when I get to: make CC=stage1/gcc CFLAGS="-g -O -Bstage1/"

Can you tell me if any of you got yours working ok and what did you have to
do that was different than the basic: 
 
config.gcc sparc

make

make CC=stage1/gcc CFLAGS="-g -O -Bstage1/"

I would sure appreciate it, I have been pawing through the files
trying to find the problem, but I have not been able to make the magic
happen. 

The error I get looks like this:

cobweb 359> make CC=stage1/gcc CFLAGS="-g -O -Bstage1/"
stage1/gcc -g -O -Bstage1/  -o gencodes gencodes.o rtl.o obstack.o  malloc.o 
./gencodes md > tmp-insn-codes.h
sh: 14692 Memory fault
*** Error code 139
make: Fatal error: Command failed for target `stamp-codes.h'


If I redo the make, then when building the cc1 file, I get an error that
says that the symbol __builtin_saveregs is not defined! But it sures seem
to be in the gnulib.c file.

As you can see I modified the Makefile to include malloc.o, but this
seems to make little difference.

Any comments or suggestions would be appreciated,

Kim.

montjoy@ucece1.ece.uc.edu (Robert C. Montjoy) (09/07/89)

Hi,

I got the latest version of gcc and g++ to compile without problems.
I was getting core dumps all over the place with previous versions.

I don't have the current anonymous ftp site that you can get these files
from because yahi is gone. However, you can get the files from my site
at 129.137.32.106.



Sincereily,


Rob Montjoy


E-MAIL		Rob.Montjoy@uc.edu