Subject: -current amd64 kernel compilation failure with COMPAT_NETBSD32
To: NetBSD amd64 <port-amd64@netbsd.org>
From: Nicolas Joly <njoly@pasteur.fr>
List: port-amd64
Date: 09/27/2005 14:08:17
Hi,

I just updated my -current sources and noticed that amd64 kernels with
COMPAT_NETBSD32 does not compile anymore :

#    create  GENERIC.MP/assym.h
cat /local/src/NetBSD/src/sys/arch/amd64/amd64/genassym.cf  |  /local/src/NetBSD/tool/amd64/bin/nbgenassym -- /local/src/NetBSD/tool/amd64/bin/x86_64--netbsd-gcc  -mcmodel=kernel -mno-red-zone  -ffreestanding   -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-sign-compare  -fno-zero-initialized-in-bss    -Damd64 -Dx86_64 -I.  -I/local/src/NetBSD/src/sys/arch -I/local/src/NetBSD/src/sys -nostdinc -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT  -I/local/src/NetBSD/src/sys/dist/ipf   > assym.h.tmp &&  mv -f assym.h.tmp assym.h
In file included from /tmp/genassym.7332/assym.c:23:
machine/netbsd32_machdep.h:86: error: parse error before "siginfo32_t"
machine/netbsd32_machdep.h:86: warning: no semicolon at end of struct or union
machine/netbsd32_machdep.h:88: error: parse error before '}' token

Thanks in advance,
Regards.

-- 
Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.