⬢ DragonFlyBSD Kernel Audit
DF-3981 / build.log
← back to finding ↓ download raw
Warning: Object directory not changed from original /root/kmod
dragonfly -> /sys
machine_base -> /sys/platform/pc64
machine -> /sys/platform/pc64/include
cpu_base -> /sys/cpu/x86_64
cpu -> /sys/cpu/x86_64/include
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/alignbytes.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/asm.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/asm_mjgmacros.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/asmacros.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/atomic.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/bus_dma.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/cpu.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/cpufunc.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/cpumask.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/cputypes.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/db_machdep.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/elf.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/endian.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/exec.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/frame.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/ieeefp.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/int_const.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/int_limits.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/inttypes.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/limits.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/lwbuf.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/npx.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/param.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/pat.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/pmap.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/profile.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/psl.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/reg.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/reloc.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/segments.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/setjmp.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/sigframe.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/signal.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/specialreg.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/stdarg.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/stdint.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/sysarch.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/tls.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/trap.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/tss.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/types.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/ucontext.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/vframe.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/wchar.h
creating machine/ forwarding header /root/kmod/forwarder_x86_64/include/machine/wchar_limits.h
creating sys/ forwarding header /root/kmod/forwarder_x86_64/include/aio.h
creating sys/ forwarding header /root/kmod/forwarder_x86_64/include/errno.h
creating sys/ forwarding header /root/kmod/forwarder_x86_64/include/fcntl.h
creating sys/ forwarding header /root/kmod/forwarder_x86_64/include/linker_set.h
creating sys/ forwarding header /root/kmod/forwarder_x86_64/include/poll.h
creating sys/ forwarding header /root/kmod/forwarder_x86_64/include/syslog.h
creating sys/ forwarding header /root/kmod/forwarder_x86_64/include/ucontext.h
cc  -O2 -pipe   -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Wcast-qual  -Wold-style-definition -Wmissing-include-dirs  -Wno-pointer-sign -Winit-self -Wundef -Wno-unused-but-set-variable -std=gnu11 -Werror -DKLD_MODULE -nostdinc  -I. -Idragonfly -I/root/kmod/forwarder_x86_64/include -Idragonfly/../include -I/usr/include  -Wold-style-declaration -fno-common -ffreestanding -fno-stack-protector -fno-strict-aliasing -fno-strict-overflow -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -mno-fp-ret-in-387 -mindirect-branch=thunk-inline   -c sbp_replica.c
sbp_replica.c: In function 'a_sysctl':
sbp_replica.c:90:3: error: implicit declaration of function 'CALLOUT_INIT'; did you mean 'CALLOUT_DEBUG'? [-Werror=implicit-function-declaration]
   CALLOUT_INIT(&a_obj->login_callout);
   ^~~~~~~~~~~~
   CALLOUT_DEBUG
sbp_replica.c:90:3: error: nested extern declaration of 'CALLOUT_INIT' [-Werror=nested-externs]
sbp_replica.c: In function 'sbpprep_modevent':
sbp_replica.c:205:58: error: macro "SYSCTL_ADD_PROC" requires 10 arguments, but only 9 given
       "A: arm+free callout container (DF-3981 mechanism)");
                                                          ^
sbp_replica.c:203:3: error: 'SYSCTL_ADD_PROC' undeclared (first use in this function)
   SYSCTL_ADD_PROC(NULL, SYSCTL_STATIC_CHILDREN(_kern), OID_AUTO,
   ^~~~~~~~~~~~~~~
sbp_replica.c:203:3: note: each undeclared identifier is reported only once for each function it appears in
sbp_replica.c:208:55: error: macro "SYSCTL_ADD_PROC" requires 10 arguments, but only 9 given
       "B: arm mgm-timeout replica (DF-3982 mechanism)");
                                                       ^
sbp_replica.c:211:48: error: macro "SYSCTL_ADD_PROC" requires 10 arguments, but only 9 given
       "B: callout_stop under crit while INPROG");
                                                ^
At top level:
sbp_replica.c:154:1: error: 'stopb_sysctl' defined but not used [-Werror=unused-function]
 stopb_sysctl(SYSCTL_HANDLER_ARGS)
 ^~~~~~~~~~~~
sbp_replica.c:138:1: error: 'armb_sysctl' defined but not used [-Werror=unused-function]
 armb_sysctl(SYSCTL_HANDLER_ARGS)
 ^~~~~~~~~~~
sbp_replica.c:80:1: error: 'a_sysctl' defined but not used [-Werror=unused-function]
 a_sysctl(SYSCTL_HANDLER_ARGS)
 ^~~~~~~~
cc1: all warnings being treated as errors
*** Error code 1

Stop.
make: stopped making "all" in /root/kmod
Warning: Object directory not changed from original /root/kmod
cc  -O2 -pipe   -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Wcast-qual  -Wold-style-definition -Wmissing-include-dirs  -Wno-pointer-sign -Winit-self -Wundef -Wno-unused-but-set-variable -std=gnu11 -Werror -DKLD_MODULE -nostdinc  -I. -Idragonfly -I/root/kmod/forwarder_x86_64/include -Idragonfly/../include  -Wold-style-declaration -fno-common -ffreestanding -fno-stack-protector -fno-strict-aliasing -fno-strict-overflow -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -mno-fp-ret-in-387 -mindirect-branch=thunk-inline   -c sbp_replica.c
cc -Wl,--build-id=sha1 -nostdlib -Wl,--hash-style=sysv   -r -Wl,-d -o sbpprep.ko sbp_replica.o
-rw-r--r--  1 root  wheel  10168 Sep 17 09:14 sbpprep.ko