Subject: compiling gcc 2.7.2 fails
To: None <port-mac68k@NetBSD.ORG>
From: Peter Kelm <kelm@physik.TU-Berlin.DE>
List: port-mac68k
Date: 12/18/1995 23:11:03
Hi,
I tried to compile the latest gcc - but it fails!
I started to build it in the same way as I did it for other kinds of
machines before:
- un-tar-ing
- configuring (...yes it guesses m68k-apple-netbsd1.1 (right ??))
- starting make
AND THEN:
***start***
sunset ROOT master 145 (~/gcc-2.7.2): make stage1
if [ -d stage1 ] ; then true ; else mkdir stage1 ; fi
for dir in . cp ; do if [ -d stage1/$dir ] ; then true ; else mkdir
stage1/$di
r ; fi ; done
mv *.o insn-flags.h insn-config.h insn-codes.h insn-output.c
insn-recog.c insn-
emit.c insn-extract.c insn-peep.c insn-attr.h insn-attrtab.c
insn-opinit.c sta
mp-flags stamp-config stamp-codes stamp-output stamp-recog stamp-emit
stamp-ext
ract stamp-peep stamp-attr stamp-attrtab stamp-opinit stamp-proto
stamp-crt sta
mp-crtS genemit genoutput genrecog genextract genflags gencodes
genconfig genp
eep genattrtab genattr genopinit bc-arity.h bc-opcode.h bc-opname.h
stamp-bca
rity stamp-bcopcode stamp-bcopname bi-arity bi-opcode bi-opname xgcc
cc1 cpp
gcc-cross cccp cc1obj enquire protoize unprotoize specs collect2
underscor
e.c *.greg *.lreg *.combine *.flow *.cse *.jump *.rtl *.tree *.loop
*.dbr *.ju
mp2 *.sched *.cse2 *.sched2 *.stack *.[si] g++ g++-cross cc1plus stage1
mv: rename stamp-proto to stage1/stamp-proto: No such file or directory
mv: rename stamp-crt to stage1/stamp-crt: No such file or directory
mv: rename stamp-crtS to stage1/stamp-crtS: No such file or directory
mv: rename gcc-cross to stage1/gcc-cross: No such file or directory
mv: rename cc1obj to stage1/cc1obj: No such file or directory
mv: rename protoize to stage1/protoize: No such file or directory
mv: rename unprotoize to stage1/unprotoize: No such file or directory
mv: rename collect2 to stage1/collect2: No such file or directory
mv: rename *.greg to stage1/*.greg: No such file or directory
mv: rename *.lreg to stage1/*.lreg: No such file or directory
mv: rename *.combine to stage1/*.combine: No such file or directory
mv: rename *.flow to stage1/*.flow: No such file or directory
mv: rename *.cse to stage1/*.cse: No such file or directory
mv: rename *.jump to stage1/*.jump: No such file or directory
mv: rename *.rtl to stage1/*.rtl: No such file or directory
mv: rename *.tree to stage1/*.tree: No such file or directory
mv: rename *.loop to stage1/*.loop: No such file or directory
mv: rename *.dbr to stage1/*.dbr: No such file or directory
mv: rename *.jump2 to stage1/*.jump2: No such file or directory
mv: rename *.sched to stage1/*.sched: No such file or directory
mv: rename *.cse2 to stage1/*.cse2: No such file or directory
mv: rename *.sched2 to stage1/*.sched2: No such file or directory
mv: rename *.stack to stage1/*.stack: No such file or directory
mv: rename *.[si] to stage1/*.[si]: No such file or directory
mv: rename g++-cross to stage1/g++-cross: No such file or directory
mv: rename cc1plus to stage1/cc1plus: No such file or directory
*** Error code 1 (ignored)
if [ -f as ] ; then ln -s ../as stage1 || cp as stage1 ; else true ; fi
if [ -f ld ] ; then ln -s ../ld stage1 || cp ld stage1 ; else true ; fi
if [ -f collect-ld ] ; then ln -s ../collect-ld stage1 || cp collect-ld
stage1 ;
else true ; fi
rm -f stage1/libgcc.a
cp libgcc.a stage1
if [ -f /usr/bin/ranlib -o -f /bin/ranlib ] ; then ranlib
stage1/libgcc.a; else
true; fi
mv cp/*.o stage1/cp
mv: rename cp/*.o to stage1/cp/*.o: No such file or directory
*** Error code 1 (ignored)
`stage1' is up to date.
sunset ROOT master 150 (~/gcc-2.7.2): make CC="stage1/xgcc -Bstage1/"
CFLAGS="-c
-O" LANGUAGES=c
stage1/xgcc -Bstage1/ -DIN_GCC -c -O -I. -I. -I./config
-DGCC_INCLUDE_DI
R=\"/usr/local/lib/gcc-lib/m68k-apple-netbsd1.1/2.7.2/include\"
-DGPLUSPLUS_INC
LUDE_DIR=\"/usr/local/lib/g++-include\"
-DLOCAL_INCLUDE_DIR=\"/usr/local/includ
e\"
-DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/m68k-apple-netbsd1.1/2.7.2/sys
-include\"
-DTOOL_INCLUDE_DIR=\"/usr/local/m68k-apple-netbsd1.1/include\" -c `
echo ./cccp.c | sed 's,^\./,,'`
stage1/xgcc -Bstage1/ -DIN_GCC -c -O -I. -I. -I./config -c ./cexp.c
stage1/xgcc -Bstage1/ -c -DIN_GCC -c -O -I. -I. -I./config version.c
stage1/xgcc -Bstage1/ -c -DIN_GCC -c -O -I. -I. -I./config obstack.c
stage1/xgcc -Bstage1/ -DIN_GCC -c -O -o cccp cccp.o cexp.o
version.o obsta
ck.o ` case "stage1/xgcc -Bstage1/" in "cc") echo "" ;; esac `
xgcc: cccp.o: linker input file unused since linking not done
xgcc: cexp.o: linker input file unused since linking not done
xgcc: version.o: linker input file unused since linking not done
xgcc: obstack.o: linker input file unused since linking not done
rm -f cpp
ln cccp cpp > /dev/null 2>&1 || cp cccp cpp
cp: cccp: No such file or directory
*** Error code 1
Stop.
sunset ROOT master 151 (~/gcc-2.7.2):
***end***
So what has gone wrong?
There were no error message during compilation of stage1 at all!
H....E....L....P
Peter
--- beam me up Scotty, this planet sucks ---
Plan B
Peter Kelm (kelm@physik.tu-berlin.de)
Technical University Berlin
Physics Department