Subject: i386->vax build fails
To: None <current-users@NetBSD.org>
From: Ben Collver <collver@peak.org>
List: current-users
Date: 07/01/2006 21:41:16
Justy FYI, when I tried to build a -current vax release on an i386 host,
it failed in GENERIC/assym.h
Ben
p.s. Here is the relevant section of the build log.
# create GENERIC/assym.h
cat /home/ben/src/netbsd/current/src/sys/arch/vax/vax/genassym.cf | /home/ben/
work/current/vax/obj/tooldir.NetBSD-3.0-i386/bin/nbgenassym -- /home/ben/work/cu
rrent/vax/obj/tooldir.NetBSD-3.0-i386/bin/vax--netbsdelf-gcc -ffreestanding -fn
o-zero-initialized-in-bss -O2 -Werror -Wall -Wno-main -Wno-format-zero-length
-Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wswitch -Wshadow -Wcas
t-qual -Wwrite-strings -Wno-sign-compare -D_VAX_INLINE_ -I. -I/home/ben/src
/netbsd/current/src/sys/../common/include -I/home/ben/src/netbsd/current/src/sys
/arch -I/home/ben/src/netbsd/current/src/sys -nostdinc -DLKM -DMAXUSERS=8 -D_KE
RNEL -D_KERNEL_OPT -I/home/ben/src/netbsd/current/src/sys/lib/libkern/../../../c
ommon/lib/libc/quad -I/home/ben/src/netbsd/current/src/sys/lib/libkern/../../../
common/lib/libc/string -I/home/ben/src/netbsd/current/src/sys/lib/libkern/../../
../common/lib/libc/arch/vax/string -I/home/ben/src/netbsd/current/src/sys/dist/
ipf > assym.h.tmp && mv -f assym.h.tmp assym.h
In file included from machine/param.h:171,
from /home/ben/src/netbsd/current/src/sys/sys/param.h:145,
from /tmp/genassym.27152/assym.c:2:
machine/macros.h:45: warning: static declaration for `ffs' follows non-static
machine/macros.h:60: warning: static declaration for `_remque' follows non-stati
c
machine/macros.h:69: warning: static declaration for `_insque' follows non-stati
c
machine/macros.h:78: warning: static declaration for `memcpy' follows non-static
machine/macros.h:91: warning: static declaration for `memmove' follows non-stati
c
machine/macros.h:116: warning: static declaration for `memset' follows non-stati
c
machine/macros.h:295: warning: static declaration for `scanc' follows non-static
machine/macros.h:308: warning: static declaration for `skpc' follows non-static
*** Failed target: assym.h