Subject: Re: HELP! hpcarm can't compile
To: Thomas Asami <>
From: Ben Harris <>
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 -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 and nbmake-hpcarm commands
you used?  Also show us what /etc/mk.conf and nbmake-hpcarm contain?

Ben Harris                                                   <>
Portmaster, NetBSD/acorn26           <URL:>