--- ebh.o ---
# compile chfs/ebh.o
/usr/cross/sparc64/bin/sparc64--netbsd-gcc -O2 -g -std=gnu99 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare
-Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow
-Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare
-Werror -ffreestanding -fno-strict-aliasing -Wno-pointer-sign
-I/usr/src/common/include --sysroot=/usr/src/obj.sparc64/destdir.sparc64
-DDIAGNOSTIC -DDEBUG -DLOCKDEBUG -I/usr/src/common/include -nostdinc -I.
-I/usr/src/sys/modules/chfs -isystem /usr/src/sys -isystem /usr/src/sys/arch
-isystem /usr/src/sys/../common/include -D_KERNEL -D_LKM -D_MODULE
-DSYSCTL_INCLUDE_DESCR -c /usr/src/sys/ufs/chfs/ebh.c
cc1: warnings being treated as errors
/usr/src/sys/ufs/chfs/ebh.c: In function 'nand_process_eb':
/usr/src/sys/ufs/chfs/ebh.c:1372:7: error: declaration of 'isbad' shadows a
global declaration