Subject: Compiled Indigo kernel, but got a problem
To: None <port-mips@netbsd.org>
From: Gerald Heinig <Gerald.Heinig@post.rwth-aachen.de>
List: port-mips
Date: 02/01/2001 11:23:04
Hi everyone,

I'm new to this list as of today. I'm trying to port NetBSD to the SGI Indigo machine.
After a bit of messing about and ripping stuff out that I don't need, I've cross-compiled a kernel to play with on the
Indigo. However, it doesn't link.
The error is below.
Can anyone tell me what's going wrong here?

Cheers

Gerald

making sure the kern library is up to date...
`libkern.a' is up to date.
making sure the compat library is up to date...
`libcompat.a' is up to date.
sh ../../../../conf/newvers.sh
/usr/pkg/cross/bin/mipseb-netbsd-cc  -O2 -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith
-Wno-uninitialized -Wno-main   -mno-abicalls -mno-half-pic -I. -I../../../../arch -I../../../.. -nostdinc
-D__NO_SOFT_SERIAL_INTERRUPT -DSCSI_DELAY="0" -DMIPS3 -DDEBUG -DDIAGNOSTIC -DMAXUSERS=32 -D_KERNEL -Dsgimips  -c vers.c
/usr/pkg/cross/bin/mipseb-netbsd-ld -T ../../../../arch/mips/conf/kern.ldscript.be -Ttext 0x80002000 -e start -x -o
netbsd ${SYSTEM_OBJ} vers.o
kern_synch.o: In function `ltsleep':
../../../../kern/kern_synch.c(.text+0x410): relocation truncated to fit: R_MIPS_GPREL16 safepri
subr_prf.o: In function `putchar':
../../../../kern/subr_prf.c(.text+0x44c): relocation truncated to fit: R_MIPS_GPREL16 constty
../../../../kern/subr_prf.c(.text+0x464): relocation truncated to fit: R_MIPS_GPREL16 constty
../../../../kern/subr_prf.c(.text+0x4ac): relocation truncated to fit: R_MIPS_GPREL16 constty
../../../../kern/subr_prf.c(.text+0x4bc): relocation truncated to fit: R_MIPS_GPREL16 constty
../../../../kern/subr_prf.c(.text+0x588): relocation truncated to fit: R_MIPS_GPREL16 constty
*** Error code 1