Subject: Re: HELP! hpcarm can't compile
To: Thomas Asami <thomas_asami@hotmail.com>
From: Ben Harris <bjh21@netbsd.org>
List: port-arm
Date: 06/19/2002 10:52:22
On Wed, 19 Jun 2002, Thomas Asami wrote:
> 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:
[...]
> /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
[...]
> Would anyone tell me how to solve it? Thanks.
Well, it looks like your compile has MACHINE_ARCH=i386, which is clearly
wrong. Can you tell us the precise build.sh and nbmake-hpcarm commands
you used? Also show us what /etc/mk.conf and nbmake-hpcarm contain?
--
Ben Harris <bjh21@netbsd.org>
Portmaster, NetBSD/acorn26 <URL:http://www.netbsd.org/Ports/acorn26/>