Subject: problems building -current
To: None <>
From: Steven M. Bellovin <>
List: current-users
Date: 01/10/2005 14:59:22
I'm doing a 'make release'; on the INSTALL kernels, I'm getting this

#   compile  INSTALL/ext2fs_vfsops.o
cc -ffreestanding -Os -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -fno-zero-initialized-in-bss -Di386 -I. -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DMALLOC_NOINLINE -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c /usr/src/sys/ufs/ext2fs/ext2fs_vfsops.c
/usr/src/sys/ufs/ext2fs/ext2fs_vfsops.c: In function `ext2fs_mount':
/usr/src/sys/ufs/ext2fs/ext2fs_vfsops.c:252: warning: `devvp' might be used uninitialized in this function
*** Error code 1

For reasons that are not immediately obvious to me, the GENERIC.*
kernels build successfully, including ext2fs_vfsops.o.  It's also
not obvious to me why the complier thinks that devvp might be
uninitialized, though that may just be the limits of the compiler's
flow analysis ability.