Subject: cross building problems
To: None <port-vax@netbsd.org>
From: Anton Gunnarsson <antgun@packetfront.com>
List: port-vax
Date: 01/27/2003 14:37:31
Hello,
I'm trying to cross build a vax kernel (1.6 release) on a sparc.
I'we built the toolchain with build.sh..
When i try to compile the kernel i get the following error
crok# /usr/cross/bin/nbmake-vax
/usr/cross/bin/vax--netbsdelf-gcc -x assembler-with-cpp -traditional-cpp -D_LOCORE -D_VAX_INLINE_ -I. -I../../../../arch -I../../../.. -nostdinc -DLKM -DMAXUSERS=8 -D_KERNEL -D_KERNEL_OPT -c /home/netbsd/src/src/sys/arch/vax/compile/test/../../../../arch/vax/vax/subr.S
/home/netbsd/src/src/sys/arch/vax/compile/test/../../../../arch/vax/vax/subr.S: Assembler messages:
/home/netbsd/src/src/sys/arch/vax/compile/test/../../../../arch/vax/vax/subr.S:109: Warning: Symbol used as immediate operand in PIC mode.
/home/netbsd/src/src/sys/arch/vax/compile/test/../../../../arch/vax/vax/subr.S:599: Fatal error: PIC reference to Sysmap is indirect.
*** Error code 1
Stop.
nbmake: stopped in /home/netbsd/src/src/sys/arch/vax/compile/test
Any ideas?
/Anton