building standard spmath library
# compile GENERIC/kern_mutex.o
/build/netbsd-local/tools/x86_64/hp700/bin/hppa--netbsd-gcc
-mpa-risc-1-1 -msoft-float -mdisable-fpregs -mno-space-regs
-mfast-indirect-calls -mportable-runtime -fno-omit-frame-pointer
-ffreestanding -fno-zero-initialized-in-bss -O2 -fno-strict-aliasing
-fno-common -std=gnu99 -Werror -Wall -Wno-main -Wno-format-zero-length
-Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes
-Wold-style-definition -Wswitch -Wshadow -Wcast-qual -Wwrite-strings
-Wno-unreachable-code -Wno-pointer-sign -Wno-attributes
-Wno-sign-compare --sysroot=/build/netbsd-local/dest/hp700 -Dhppa
-Dhp700 -I. -I/build/netbsd-local/src/sys/../common/include
-I/build/netbsd-local/src/sys/arch -I/build/netbsd-local/src/sys
-nostdinc -DHP8700_CPU -DGSCVERBOSE -DMAXUSERS=32 -D_KERNEL
-D_KERNEL_OPT -std=gnu99
-I/build/netbsd-local/src/sys/lib/libkern/../../../common/lib/libc/quad -I/build/netbsd-local/src/sys/lib/libkern/../../../common/lib/libc/string
-I/build/netbsd-local/src/sys/lib/libkern/../../../common/lib/libc/arch/hppa/string
-I/build/netbsd-local/src/sys/external/bsd/ipf -c
/build/netbsd-local/src/sys/kern/kern_mutex.c
/build/netbsd-local/src/sys/kern/kern_mutex.c:223:1: error:
redefinition of 'MUTEX_CLEAR_WAITERS'
./hppa/mutex.h:175:1: note: previous definition of
'MUTEX_CLEAR_WAITERS' was here
*** [kern_mutex.o] Error code 1