Subject: Re: Build problems with 1.6.1
To: Jarkko Teppo <jarkko.teppo@er-grp.com>
From: Frederick Bruckman <fredb@immanent.net>
List: port-mac68k
Date: 08/20/2003 08:19:54
On Wed, 20 Aug 2003, Jarkko Teppo wrote:

> I'm having problems building a kernel for my dinky SE/30. I grabbed the
> 1.6-branch via cvs (-rnetbsd-1-6), compiled tools via ./build.sh -m mac68k -t
> and tried to build a new kernel via [long path to tooldir]/nbconfig SE30,
> [long path]/nbmake depend and [long path]/nbmake.

Use .../nbmake-mac68k. The "-mac68k" is important. By omitting it,
what you're actually doing, below, is trying to compile this kernel
with the native toolchain...

> m68k/cacheops_40.h: In function `TBIS_40':
> m68k/cacheops_40.h:57: invalid register name `%a0' for register variable
> m68k/cacheops_40.h: In function `DCIAS_40':
> m68k/cacheops_40.h:140: invalid register name `%a0' for register variable

> Build hosts I tried were i386 and alpha, both -current(ish). Yes, I know
> building on alpha probably wont work.

Frederick