Subject: -current broken for hpcarm
To: None <port-arm@netbsd.org>
From: Baldur Gislason <baldur@foo.is>
List: port-arm
Date: 07/25/2007 20:20:20
Alright, it seems the hpcarm port is broken in -current. Does not compile.

This is where it stops:

#   compile  vnd/lkminit_vnd.o
/home/baldur/netbsd/obj/tooldir.FreeBSD-6.2-PRERELEASE-i386/bin/arm--netbsdelf-gcc -O2 -ffreestanding  -fno-strict-aliasing -Wno-pointer-sign -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional  -Werror   -I/home/baldur/netbsd/src/common/include -nostdinc -I. -I/home/baldur/netbsd/src/sys/lkm/dev/vnd -isystem /home/baldur/netbsd/src/sys -isystem /home/baldur/netbsd/src/sys/arch -isystem /home/baldur/netbsd/src/sys/../common/include -D_KERNEL -D_LKM  -c    /home/baldur/netbsd/src/sys/lkm/dev/vnd/lkminit_vnd.c
In file included from ./arm/cpu.h:85,
                 from ./machine/cpu.h:3,
                 from ./arm/arm32/param.h:39,
                 from ./machine/param.h:45,
                 from /home/baldur/netbsd/src/sys/sys/param.h:145,
                 from /home/baldur/netbsd/src/sys/lkm/dev/vnd/lkminit_vnd.c:34:
/machine/intr.h:81: error: expected identifier or '(' before 'do'
/machine/intr.h:81: error: expected identifier or '(' before 'while'
In file included from ./arm/cpu.h:85,
                 from ./machine/cpu.h:3,
                 from ./arm/arm32/param.h:39,
                 from ./machine/param.h:45,
                 from /home/baldur/netbsd/src/sys/sys/param.h:145,
                 from /home/baldur/netbsd/src/sys/lkm/dev/vnd/lkminit_vnd.c:34:
/machine/intr.h:82:21: error: macro "setsoftnet" passed 1 arguments, but takes just 0

*** Failed target:  lkminit_vnd.o
*** Failed command: /home/baldur/netbsd/obj/tooldir.FreeBSD-6.2-PRERELEASE-i386/bin/arm--netbsdelf-gcc -O2 -ffreestanding -fno-strict-aliasing -Wno-pointer-sign -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Werror -I/home/baldur/netbsd/src/common/include -nostdinc -I. -I/home/baldur/netbsd/src/sys/lkm/dev/vnd -isystem /home/baldur/netbsd/src/sys -isystem /home/baldur/netbsd/src/sys/arch -isystem /home/baldur/netbsd/src/sys/../common/include -D_KERNEL -D_LKM -c /home/baldur/netbsd/src/sys/lkm/dev/vnd/lkminit_vnd.c
*** Error code 1

Stop.
nbmake: stopped in /home/baldur/netbsd/src/sys/lkm/dev/vnd


Any input?

Baldur