Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!cs.utexas.edu!milano!cleo!fair From: fair@cleo.sw.mcc.com (Kim Michael Fairchild) Newsgroups: gnu.gcc.bug Subject: Gcc on a Sparc Message-ID: <2855@cleo.sw.mcc.com> Date: 6 Sep 89 06:48:23 GMT Organization: MCC Software Technology Lines: 40 bcc: begeman 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.