Subject: Re: cannot cross-build vax
To: Ben Harris <bjh21@netbsd.org>
From: Christian Groessler <cpg@aladdin.de>
List: current-users
Date: 04/10/2002 00:13:08
On 04/09/2002 11:18:35 AM CET Ben Harris wrote:
>
>In article <87d6xadw8v.fsf@panther.aladdin.de> you write:
>>on a macppc machine I've tried
>>
>>./build.sh -m vax -D /local/vaxdest -R /local/vaxrel
>>
>>It bombs with
>>
>>
>>install ===> vax-installboot
>>STRIP=/usr/local/tools/bin/vax--netbsdelf-strip /usr/local/tools/bin/nbinstall  -c  -r  -o root  -g wheel  -m 444  bsd.README 
>/local/vaxdest/usr/share/mk/bsd.README
>>nbinstall: bsd.README: stat: No such file or directory
>
>There shouldn't be a vax-installboot directory any more.  Delete it.

I did a fresh rsync and now it worked. Thanks.

Btw, when cross-compiling the vax kernel I get some linker warnings:


/usr/local/tools/bin/vax--netbsdelf-gcc  -ffreestanding  -O2 -Werror -Wall -Wno-main -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-uninitialized  -D_VAX_INLINE_ -I.  -I../../../../arch -I../../../.. -nostdinc -DMAXDSIZ="0x2000000" -DDFLDSIZ="0x1800000" -DLKM -DMAXUSERS=8 -D_KERNEL -D_KERNEL_OPT  -c vers.c
/usr/local/tools/bin/vax--netbsdelf-ld -EL -N -Ttext 80000000 -e start -S -o netbsd ${SYSTEM_OBJ} vers.o
/usr/local/tools/bin/vax--netbsdelf-ld: intvec.o: warning: GOT addend of 4 to `softclock_intrcnt' does not match previous GOT addend of 0
/usr/local/tools/bin/vax--netbsdelf-ld: intvec.o: warning: GOT addend of 4 to `softnet_intrcnt' does not match previous GOT addend of 0
/usr/local/tools/bin/vax--netbsdelf-ld: intvec.o: warning: GOT addend of 4 to `softserial_intrcnt' does not match previous GOT addend of 0
/usr/local/tools/bin/vax--netbsdelf-ld: intvec.o: warning: GOT addend of 4 to `clock_intrcnt' does not match previous GOT addend of 0


But the kernel appears to work.

regards,
chris