[gnu.gcc.bug] Segmentation fault installing gcc-1.31, sun3 4.0.

ben@duttnph.UUCP (Ben Verwer) (01/05/89)

Installing gcc-1.31 on our sun system (sun3, 4.0) goes wrong:

(...)
make CC=stage1/gcc CFLAGS="-g -O -Bstage1/"
(...)
stage1/gcc -g -O -Bstage1/  -sun3 -c  fold-const.c
stage1/gcc -g -O -Bstage1/  -sun3 -c  rtl.c
stage1/gcc -g -O -Bstage1/ -c genflags.c
stage1/gcc -g -O -Bstage1/  -o genflags genflags.o rtl.o obstack.o   
./genflags md > tmp-insn-flags.h
sh: 6488 Memory fault - core dumped
*** Error code 139
make: Fatal error: Command failed for target `insn-flags.h'

dbx genflags doesn't work:
"rtld doesn't place the break point right."

I followed the guidelines in INSTALL:
3. config.gcc sun3 was given.
4. bison installed (12-Oct-88).
5. FLOAT_OPTION was turned off. 
6. make gave no problems.
7. make stage1 gave no problems.

I am working for the first time with gnu. What did I do wrong?

-----------------------------------------------------------------------------
Ben Verwer                                                       Lorentzweg 1
Pattern Recognition Group                                      2628 CJ  Delft
Faculty of Applied Physics                                    The Netherlands
Delft University of Technology                                  +31(15)783247

"To err is human, but to really screw up something requires a computer"

rms@WHEATIES.AI.MIT.EDU (Richard Stallman) (01/06/89)

Use config.gcc sun3-os4 if you are running version 4.

schmidt@glacier.ics.uci.edu (Doug Schmidt) (01/06/89)

In article <607@dutrun.UUCP> ben@duttnph.UUCP (Ben Verwer) writes:
>Installing gcc-1.31 on our sun system (sun3, 4.0) goes wrong:
>
>I followed the guidelines in INSTALL:
>3. config.gcc sun3 was given.
>4. bison installed (12-Oct-88).
>5. FLOAT_OPTION was turned off. 
>6. make gave no problems.
>7. make stage1 gave no problems.
>

I think I know your problem.  You should use

config.gcc sun3-os4

instead of 

config.gcc sun3

Let me know if this doesn't work ( also, get gcc 1.32! )

Doug
--
schmidt@ics.uci.edu (ARPA) |   Per me si va nella citta' dolente.
office: (714) 856-4043     |   Per me si va nell'eterno dolore.
                           |   Per me si va tra la perduta gente.
                           |   Lasciate ogni speranza o voi ch'entrate.