🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #2527

gcc-1.34 fails stage2 on sun3

#2527
From: "John R. F. McMacken"
Date: Tue, 11 Apr 1989 15:06
220 lines
8947 bytes
I've already posted this to gnu.gcc.bug, then I finally got the manual
printed and saw your email address so ignore this if you've already seen it.

Problem: gcc-1.34 gets fatal error 6 at the stage2 build on a
	sun3/160 SunOS3.5 with sun fpa and 68881

Synopsis: After extracting the gcc-1.34 source (ftp'd from prep.ai.mit)
	we did the following:

% ./config.gcc sun3-fpa
% make>&make.log
% make stage1
% make CC=stage1/gcc CFLAGS="-g -O -Bstage1/">&make.log2
% make stage2
% make CC=stage2/gcc CFLAGS="-g -O -Bstage2/">&make.log3

The tm.h was tm-sun3-fpa.h, md was m68k.md
The make.log's are included below. Thanks for any help you might have,
we're all eager here to try gcc!

John McMacken
Silicon Devices and Integrated Circuits
University of Waterloo
Waterloo, Ontario, Canada

make.log:
cc -g -c -DSTANDARD_EXEC_PREFIX=\"/usr/local/lib/gcc-\" gcc.c
cc -g -c version.c
cc -g -c obstack.c
cc -g  -o gccnew gcc.o version.o obstack.o   
mv gccnew gcc
cc -g -c c-parse.tab.c
cc -g -c c-decl.c
cc -g -c c-typeck.c
cc -g -c c-convert.c
cc -g -c toplev.c
cc -g -c tree.c
cc -g -c print-tree.c
cc -g -c stor-layout.c
cc -g -c fold-const.c
cc -g -c rtl.c
cc -g -c genflags.c
cc -g  -o genflags genflags.o rtl.o obstack.o   
./genflags md > tmp-insn-flags.h
./move-if-change tmp-insn-flags.h insn-flags.h
touch stamp-flags.h
cc -g -c gencodes.c
cc -g  -o gencodes gencodes.o rtl.o obstack.o   
./gencodes md > tmp-insn-codes.h
./move-if-change tmp-insn-codes.h insn-codes.h
touch stamp-codes.h
cc -g -c genconfig.c
cc -g  -o genconfig genconfig.o rtl.o obstack.o   
./genconfig md > tmp-insn-config.h
./move-if-change tmp-insn-config.h insn-config.h
touch stamp-config.h
cc -g -c expr.c
cc -g -c stmt.c
cc -g -c expmed.c
cc -g -c explow.c
cc -g -c optabs.c
cc -g -c varasm.c
cc -g -c symout.c
cc -g -c dbxout.c
cc -g -c sdbout.c
cc -g -c emit-rtl.c
cc -g -c genemit.c
cc -g  -o genemit genemit.o rtl.o obstack.o   
./genemit md > tmp-insn-emit.c
./move-if-change tmp-insn-emit.c insn-emit.c
touch stamp-emit.c
cc -g -c insn-emit.c
"insn-emit.c", line 1602: warning: statement not reached
cc -g -c integrate.c
cc -g -c jump.c
cc -g -c cse.c
cc -g -c loop.c
cc -g -c flow.c
cc -g -c stupid.c
cc -g -c combine.c
cc -g -c regclass.c
cc -g -c local-alloc.c
cc -g -c global-alloc.c
cc -g -c reload.c
cc -g -c reload1.c
cc -g -c caller-save.c
cc -g -c genpeep.c
cc -g  -o genpeep genpeep.o rtl.o obstack.o   
./genpeep md > tmp-insn-peep.c
./move-if-change tmp-insn-peep.c insn-peep.c
touch stamp-peep.c
cc -g -c insn-peep.c
cc -g -c final.c
cc -g -c recog.c
cc -g -c genrecog.c
cc -g  -o genrecog genrecog.o rtl.o obstack.o   
./genrecog md > tmp-insn-recog.c
./move-if-change tmp-insn-recog.c insn-recog.c
touch stamp-recog.c
cc -g -c insn-recog.c
cc -g -c genextract.c
cc -g  -o genextract genextract.o rtl.o obstack.o   
./genextract md > tmp-insn-extract.c
./move-if-change tmp-insn-extract.c insn-extract.c
touch stamp-extract.c
cc -g -c insn-extract.c
cc -g -c genoutput.c
cc -g  -o genoutput genoutput.o rtl.o obstack.o   
./genoutput md > tmp-insn-output.c
./move-if-change tmp-insn-output.c insn-output.c
touch stamp-output.c
cc -g -c insn-output.c
cc -g  -o cc1 c-parse.tab.o c-decl.o c-typeck.o c-convert.o toplev.o version.o tree.o print-tree.o stor-layout.o fold-const.o  rtl.o expr.o stmt.o expmed.o explow.o optabs.o varasm.o  symout.o dbxout.o sdbout.o emit-rtl.o insn-emit.o  integrate.o jump.o cse.o loop.o flow.o stupid.o combine.o  regclass.o local-alloc.o global-alloc.o reload.o reload1.o caller-save.o  insn-peep.o final.o recog.o insn-recog.o insn-extract.o insn-output.o obstack.o   
cc -g -DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-include\" \
          -DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/g++-include\" -c cccp.c
cc -g -c cexp.c
cc -g  -o cccp cccp.o cexp.o version.o obstack.o   
rm -f cpp
ln cccp cpp

make.log2:
stage1/gcc -g -O -Bstage1/ -c -DSTANDARD_EXEC_PREFIX=\"/usr/local/lib/gcc-\" gcc.c
stage1/gcc -g -O -Bstage1/ -c version.c
stage1/gcc -g -O -Bstage1/ -c obstack.c
stage1/gcc -g -O -Bstage1/  -o gccnew gcc.o version.o obstack.o   
mv gccnew gcc
stage1/gcc -g -O -Bstage1/ -c c-parse.tab.c
stage1/gcc -g -O -Bstage1/ -c c-decl.c
stage1/gcc -g -O -Bstage1/ -c c-typeck.c
stage1/gcc -g -O -Bstage1/ -c c-convert.c
stage1/gcc -g -O -Bstage1/ -c toplev.c
stage1/gcc -g -O -Bstage1/ -c tree.c
stage1/gcc -g -O -Bstage1/ -c print-tree.c
stage1/gcc -g -O -Bstage1/ -c stor-layout.c
stage1/gcc -g -O -Bstage1/ -c fold-const.c
stage1/gcc -g -O -Bstage1/ -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
./move-if-change tmp-insn-flags.h insn-flags.h
touch stamp-flags.h
stage1/gcc -g -O -Bstage1/ -c gencodes.c
stage1/gcc -g -O -Bstage1/  -o gencodes gencodes.o rtl.o obstack.o   
./gencodes md > tmp-insn-codes.h
./move-if-change tmp-insn-codes.h insn-codes.h
touch stamp-codes.h
stage1/gcc -g -O -Bstage1/ -c genconfig.c
stage1/gcc -g -O -Bstage1/  -o genconfig genconfig.o rtl.o obstack.o   
./genconfig md > tmp-insn-config.h
./move-if-change tmp-insn-config.h insn-config.h
touch stamp-config.h
stage1/gcc -g -O -Bstage1/ -c expr.c
stage1/gcc -g -O -Bstage1/ -c stmt.c
stage1/gcc -g -O -Bstage1/ -c expmed.c
stage1/gcc -g -O -Bstage1/ -c explow.c
stage1/gcc -g -O -Bstage1/ -c optabs.c
stage1/gcc -g -O -Bstage1/ -c varasm.c
stage1/gcc -g -O -Bstage1/ -c symout.c
stage1/gcc -g -O -Bstage1/ -c dbxout.c
stage1/gcc -g -O -Bstage1/ -c sdbout.c
stage1/gcc -g -O -Bstage1/ -c emit-rtl.c
stage1/gcc -g -O -Bstage1/ -c genemit.c
stage1/gcc -g -O -Bstage1/  -o genemit genemit.o rtl.o obstack.o   
./genemit md > tmp-insn-emit.c
./move-if-change tmp-insn-emit.c insn-emit.c
touch stamp-emit.c
stage1/gcc -g -O -Bstage1/ -c insn-emit.c
stage1/gcc -g -O -Bstage1/ -c integrate.c
stage1/gcc -g -O -Bstage1/ -c jump.c
stage1/gcc -g -O -Bstage1/ -c cse.c
stage1/gcc -g -O -Bstage1/ -c loop.c
stage1/gcc -g -O -Bstage1/ -c flow.c
stage1/gcc -g -O -Bstage1/ -c stupid.c
stage1/gcc -g -O -Bstage1/ -c combine.c
stage1/gcc -g -O -Bstage1/ -c regclass.c
stage1/gcc -g -O -Bstage1/ -c local-alloc.c
stage1/gcc -g -O -Bstage1/ -c global-alloc.c
stage1/gcc -g -O -Bstage1/ -c reload.c
stage1/gcc -g -O -Bstage1/ -c reload1.c
stage1/gcc -g -O -Bstage1/ -c caller-save.c
stage1/gcc -g -O -Bstage1/ -c genpeep.c
stage1/gcc -g -O -Bstage1/  -o genpeep genpeep.o rtl.o obstack.o   
./genpeep md > tmp-insn-peep.c
./move-if-change tmp-insn-peep.c insn-peep.c
touch stamp-peep.c
stage1/gcc -g -O -Bstage1/ -c insn-peep.c
stage1/gcc -g -O -Bstage1/ -c final.c
stage1/gcc -g -O -Bstage1/ -c recog.c
stage1/gcc -g -O -Bstage1/ -c genrecog.c
stage1/gcc -g -O -Bstage1/  -o genrecog genrecog.o rtl.o obstack.o   
./genrecog md > tmp-insn-recog.c
./move-if-change tmp-insn-recog.c insn-recog.c
touch stamp-recog.c
stage1/gcc -g -O -Bstage1/ -c insn-recog.c
stage1/gcc -g -O -Bstage1/ -c genextract.c
stage1/gcc -g -O -Bstage1/  -o genextract genextract.o rtl.o obstack.o   
./genextract md > tmp-insn-extract.c
./move-if-change tmp-insn-extract.c insn-extract.c
touch stamp-extract.c
stage1/gcc -g -O -Bstage1/ -c insn-extract.c
stage1/gcc -g -O -Bstage1/ -c genoutput.c
stage1/gcc -g -O -Bstage1/  -o genoutput genoutput.o rtl.o obstack.o   
./genoutput md > tmp-insn-output.c
./move-if-change tmp-insn-output.c insn-output.c
touch stamp-output.c
stage1/gcc -g -O -Bstage1/ -c insn-output.c
stage1/gcc -g -O -Bstage1/  -o cc1 c-parse.tab.o c-decl.o c-typeck.o c-convert.o toplev.o version.o tree.o print-tree.o stor-layout.o fold-const.o  rtl.o expr.o stmt.o expmed.o explow.o optabs.o varasm.o  symout.o dbxout.o sdbout.o emit-rtl.o insn-emit.o  integrate.o jump.o cse.o loop.o flow.o stupid.o combine.o  regclass.o local-alloc.o global-alloc.o reload.o reload1.o caller-save.o  insn-peep.o final.o recog.o insn-recog.o insn-extract.o insn-output.o obstack.o   
stage1/gcc -g -O -Bstage1/ -DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-include\" \
          -DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/g++-include\" -c cccp.c
stage1/gcc -g -O -Bstage1/ -c cexp.c
stage1/gcc -g -O -Bstage1/  -o cccp cccp.o cexp.o version.o obstack.o   
rm -f cpp
ln cccp cpp

make.log3:
stage2/gcc -g -O -Bstage2/ -c -DSTANDARD_EXEC_PREFIX=\"/usr/local/lib/gcc-\" gcc.c
stage2/gcc: Program cc1 got fatal signal 6.
*** Error code 1

Stop.
Technical Details
Message-ID: <8904111506.AA24420@phonon.waterloo.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!PHONON.WATERLOO.EDU!mcmacken

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!PHONON.WATERLOO.EDU!mcmacken
From: mcmacken@PHONON.WATERLOO.EDU ("John R. F. McMacken")
Newsgroups: gnu.gcc.bug
Subject: gcc-1.34 fails stage2 on sun3
Message-ID: <8904111506.AA24420@phonon.waterloo.edu>
Date: 11 Apr 89 15:06:54 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 220