Subject: recent commits to gcc
To: Jonathan Stone <jonathan@DSG.Stanford.EDU>
From: Tom Yu <tlyu@MIT.EDU>
List: port-pmax
Date: 11/28/1996 17:38:16
source> jonathan
source> Sun Nov 17 11:36:52 PST 1996
source> Update of /cvsroot/src/gnu/usr.bin/gcc/arch/mips
source> In directory netbsd1:/var/slash-tmp/cvs-serv14613

source> Modified Files:
source> netbsd.h 

This change appears to have broken my compiler.  I ran into the
"missing crtn.o" problem and fixed via creating a crtn.o from a null
source file.  There are still errors after attempting compilation with
the newly intalled compiler, e.g.

===> usr.bin/ftp
cc -O -Dunix  -Werror  -c /usr/src/usr.bin/ftp/cmds.c
cc -O -Dunix  -Werror  -c /usr/src/usr.bin/ftp/cmdtab.c
cc -O -Dunix  -Werror  -c /usr/src/usr.bin/ftp/ftp.c
cc -O -Dunix  -Werror  -c /usr/src/usr.bin/ftp/main.c
cc -O -Dunix  -Werror  -c /usr/src/usr.bin/ftp/ruserpass.c
cc -O -Dunix  -Werror  -c /usr/src/usr.bin/ftp/domacro.c
cc   -o ftp cmds.o cmdtab.o ftp.o main.o ruserpass.o domacro.o 
cmds.o: In function `another':
/usr/src/usr.bin/ftp/cmds.c(.text+0x0): undefined reference to `_gp_disp'
/usr/src/usr.bin/ftp/cmds.c(.text+0x4): undefined reference to `_gp_disp'
/usr/src/usr.bin/ftp/cmds.c(.text+0x38): relocation truncated to fit: R_MIPS_GOT16 line
/usr/src/usr.bin/ftp/cmds.c(.text+0x3c): relocation truncated to fit: R_MIPS_CAL

[rest deleted]

Might this be an interaction between the new gcc and the old
(binutils-2.6) ld?  Should I give up and try installing the new pmax
shared-library snapshots?

---Tom