Subject: kern/35115: i386-current kernel with "file-system ADOSFS" does not build anymore
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <jdbaker@mylinuxisp.com>
List: netbsd-bugs
Date: 11/25/2006 00:10:00
>Number: 35115
>Category: kern
>Synopsis: i386-current kernel with "file-system ADOSFS" does not build anymore
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Nov 25 00:10:00 +0000 2006
>Originator: John D. Baker
>Release: 4.0_BETA, building -current
>Organization:
>Environment:
NetBSD verthandi 4.0_BETA NetBSD 4.0_BETA (VERTHANDI) #0: Sat Sep 9 00:17:16 CDT 2006 sysop@verthandi:/space/nbsd/sys/arch/i386/compile/VERTHANDI i386
>Description:
Prior to the planned re-branching of NetBSD 4.0, I was tracking the
netbsd-4 tag, building the previous 4.0_BETA system from time to time.
For purposes of data interchange, I have been including
"file-system ADOSFS" in my kernel on any arch I use. This was no
problem.
Following the suggestion regarding the upcoming re-branching, I've
updated my source tree to -current and am attempting to build the
new kernel. It fails as follows:
[...]
# compile VERTHANDI/advfsops.o
/space/nbsd/bin/i386--netbsdelf-gcc -ffreestanding -fno-zero-initialized-in-bss -march=pentium2 -mmmx -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-sign-compare -Wno-pointer-sign -Wno-attributes -Wextra -Wno-unused-parameter -fno-strict-aliasing -Di386 -I. -I/usr/src/sys/../common/include -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -I/usr/src/sys/lib/libkern/../../../common/lib/libc/quad -I/usr/src/sys/lib/libkern/../../../common/lib/libc/string -I/usr/src/sys/lib/libkern/../../../common/lib/libc/arch/i386/string -I/usr/src/sys/dist/pf -I/usr/src/sys/dist/ipf -c /usr/src/sys/fs/adosfs/advfsops.c
cc1: warnings being treated as errors
/usr/src/sys/fs/adosfs/advfsops.c:867: warning: missing initializer
/usr/src/sys/fs/adosfs/advfsops.c:867: warning: (near initialization for 'adosfs_vfsops.vfs_refcount')
*** Failed target: advfsops.o
*** Failed command: echo '# ' "compile VERTHANDI/advfsops.o"; echo /space/nbsd/bin/i386--netbsdelf-gcc -ffreestanding -fno-zero-initialized-in-bss -march=pentium2 -mmmx -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-sign-compare -Wno-pointer-sign -Wno-attributes -Wextra -Wno-unused-parameter -fno-strict-aliasing -Di386 -I. -I/usr/src/sys/../common/include -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -I/usr/src/sys/lib/libkern/../../../common/lib/libc/quad -I/usr/src/sys/lib/libkern/../../../common/lib/libc/string -I/usr/src/sys/lib/libkern/../../../common/lib/libc/arch/i386/string -I/usr/src/sys/dist/pf -I/usr/src/sys/dist/ipf -c /usr/src/sys/fs/adosfs/advfsops.c; /space/nbsd/bin/i386--netbsdelf-gcc -ffreestanding -fno-zero-initialized-in-bss -march=pentium2 -mmmx -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpoin
ter-arith -Wmissing-prototypes -Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-sign-compare -Wno-pointer-sign -Wno-attributes -Wextra -Wno-unused-parameter -fno-strict-aliasing -Di386 -I. -I/usr/src/sys/../common/include -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -I/usr/src/sys/lib/libkern/../../../common/lib/libc/quad -I/usr/src/sys/lib/libkern/../../../common/lib/libc/string -I/usr/src/sys/lib/libkern/../../../common/lib/libc/arch/i386/string -I/usr/src/sys/dist/pf -I/usr/src/sys/dist/ipf -c /usr/src/sys/fs/adosfs/advfsops.c
*** Error code 1
Stop.
nbmake: stopped in /space/nbsd/sys/arch/i386/compile/VERTHANDI
ERROR: Failed to make all in /space/nbsd/sys/arch/i386/compile/VERTHANDI
*** BUILD ABORTED ***
>How-To-Repeat:
Configure an i386 (other?) kernel to include:
file-system ADOSFS
and attempt to build that kernel.
>Fix: