Subject: HELP! hpcarm can't compile
To: None <port-hpcarm@netbsd.org, port-arm@netbsd.org>
From: Thomas Asami <thomas_asami@hotmail.com>
List: port-arm
Date: 06/19/2002 08:55:28
Hi,

I'm running on -currnet, and using build.sh -m hpcarm, nbconfig and 
nbmake-hpcarm
to build toolchain and compile kernel. While compiling hpcarm code, I got 
the
following message:

...
AXUSERS=32 -D_KERNEL -D_KERNEL_OPT    -c 
/usr/src/sys/arch/hpcarm/compile/IPAQ/lib/kern/../../../../../../lib/libkern/bswap64.c
/usr/src/tools/obj/tools.NetBSD-1.5ZC-i386/bin/arm--netbsdelf-gcc -x 
assembler-with-cpp -D_LOCORE -I../../../../../../lib/libkern/arch/arm 
-Dhpcarm -Darm32 -I../../. -I../../../../../../arch -I../../../../../.. 
-nostdinc -DSAEGPIO_BASE="0x49000000" -DLKM -DDIAGNOSTIC -DCONSPEED="0x4b00" 
-DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT    -c -traditional-cpp 
/usr/src/sys/arch/hpcarm/compile/IPAQ/lib/kern/../../../../../../lib/libkern/arch/i386/byte_swap_2.S
/usr/src/sys/arch/hpcarm/compile/IPAQ/lib/kern/../../../../../../lib/libkern/arch/i386/byte_swap_2.S: 
Assembler messages:
/usr/src/sys/arch/hpcarm/compile/IPAQ/lib/kern/../../../../../../lib/libkern/arch/i386/byte_swap_2.S:50: 
Error: bad instruction `movzwl 4(%esp),%eax'
/usr/src/sys/arch/hpcarm/compile/IPAQ/lib/kern/../../../../../../lib/libkern/arch/i386/byte_swap_2.S:51: 
Error: bad instruction `rorw $8,%ax'
/usr/src/sys/arch/hpcarm/compile/IPAQ/lib/kern/../../../../../../lib/libkern/arch/i386/byte_swap_2.S:52: 
Error: bad instruction `ret'
*** Error code 1

Stop.
nbmake: stopped in /usr/src/sys/arch/hpcarm/compile/IPAQ/lib/kern
*** Error code 1

Would anyone tell me how to solve it? Thanks.


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com