Subject: Build problems with 1.6.1
To: None <port-mac68k@netbsd.org>
From: Jarkko Teppo <jarkko.teppo@er-grp.com>
List: port-mac68k
Date: 08/20/2003 15:23:09
Hi!

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.

It bombs out doing depend with:

cat ../../../../arch/mac68k/mac68k/genassym.cf  |  sh ../../../../kern/genassym.sh cc  -pipe -msoft-float -ffreestanding  -pipe -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-uninitialized  -Dmac68k -I.  -I../../../../arch -I../../../.. -nostdinc -DHZ="0x3c" -DM68030 -DFPU_EMULATE -DGRF_COMPAT -DMAXUSERS=16 -D_KERNEL -D_KERNEL_OPT   > assym.h.tmp &&  mv -f assym.h.tmp assym.h
In file included from m68k/cacheops.h:48,
                 from machine/cpu.h:80,
		  from ../../../../sys/proc.h:51,
		  from /tmp/9760.c:13:
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
m68k/cacheops_40.h: In function `ICPL_40':
m68k/cacheops_40.h:165: invalid register name `%a0' for register variable
m68k/cacheops_40.h: In function `ICPP_40':
m68k/cacheops_40.h:176: invalid register name `%a0' for register variable
m68k/cacheops_40.h: In function `DCPL_40':
m68k/cacheops_40.h:187: invalid register name `%a0' for register variable
m68k/cacheops_40.h: In function `DCPP_40':
m68k/cacheops_40.h:198: invalid register name `%a0' for register variable
m68k/cacheops_40.h: In function `DCFL_40':
m68k/cacheops_40.h:217: invalid register name `%a0' for register variable
m68k/cacheops_40.h: In function `DCFP_40':
m68k/cacheops_40.h:228: invalid register name `%a0' for register variable
In file included from m68k/cacheops.h:49,
	from machine/cpu.h:80,
        from ../../../../sys/proc.h:51,
        from /tmp/9760.c:13:
m68k/cacheops_60.h: In function `TBIS_60':
m68k/cacheops_60.h:57: invalid register name `%a0' for register variable
m68k/cacheops_60.h: In function `DCIAS_60':
m68k/cacheops_60.h:158: invalid register name `%a0' for register variable
m68k/cacheops_60.h: In function `ICPL_60':
m68k/cacheops_60.h:183: invalid register name `%a0' for register variable
m68k/cacheops_60.h: In function `ICPP_60':
m68k/cacheops_60.h:194: invalid register name `%a0' for register variable
m68k/cacheops_60.h: In function `DCPL_60':
m68k/cacheops_60.h:205: invalid register name `%a0' for register variable
m68k/cacheops_60.h: In function `DCPP_60':
m68k/cacheops_60.h:216: invalid register name `%a0' for register variable
m68k/cacheops_60.h: In function `DCFL_60':
m68k/cacheops_60.h:235: invalid register name `%a0' for register variable
m68k/cacheops_60.h: In function `DCFP_60':
m68k/cacheops_60.h:246: invalid register name `%a0' for register variable
*** Error code 1

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

Any ideas ?

ps. please keep me on the cc, thanks!
-- 
jht