Subject: z50 kernel compile problem
To: None <port-hpcmips@netbsd.org>
From: Oliver Schweitzer <oliver.schweitzer@epost.de>
List: port-hpcmips
Date: 11/28/2002 17:37:49
Hello,

I am trying to compile -current on my z50 (not cross), starting with the 
kernel, config adapted from Jolan Luff, and I get the following messages:

<code>
making sure the compat library is up to date...
building standard compat library
/usr/src/tools/obj/tools.NetBSD-1.6-mipsel/bin/mipsel--netbsd-ranlib 
libcompat.a
making sure the kern library is up to date...
building standard kern library
/usr/src/tools/obj/tools.NetBSD-1.6-mipsel/bin/mipsel--netbsd-ranlib 
libkern.a
sh ../../../../conf/newvers.sh
/usr/src/tools/obj/tools.NetBSD-1.6-mipsel/bin/mipsel--netbsd-gcc  
-mips2 -EL -G
 8 -mno-abicalls -msoft-float -ffreestanding  -Os -mmemcpy -Werror -Wall 
-Wno-ma
in -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes 
-Wstrict-prototy
pes -Wno-sign-compare -Wno-uninitialized  -Dhpcmips -I.  
-I../../../../arch -I..
/../../.. -nostdinc -DSOFTFLOAT -DMIPS3 -DMIPS3_4100 
-DMSGBUFSIZE="0x1000" -DITE
8181_LCD_CONTROL_ENABLE -DMAXUSERS=16 -D_KERNEL -D_KERNEL_OPT  -c vers.c
/usr/src/tools/obj/tools.NetBSD-1.6-mipsel/bin/mipsel--netbsd-ld -T 
../../../../
arch/mips/conf/kern.ldscript -Ttext 0x80001000 -e start -EL -G 8 
--oformat elf32
-littlemips -x -o netbsd ${SYSTEsubr_autoconf.o: In function `evcnt_init':
../../../../kern/subr_autoconf.c(.text+0x160c): relocation truncated to 
fit: R_M
IPS_GPREL16 __start_link_set_evcnts
../../../../kern/subr_autoconf.c(.text+0x1614): relocation truncated to 
fit: R_M
IPS_GPREL16 __stop_link_set_evcnts
M_OBJ} vers.o
*** Error code 1
Stop.
nbmake: stopped in /usr/src/sys/arch/hpcmips/compile/WORKPAD1
</code>

After a lot of fiddling and reading, I don't know what to do now.

Any help?

Best wishes,

OS