DF-1215 / build.log
===== DF-1215 build (guest, 2026-10-11) =====
--- userland PoCs (as maxx) ---
$ cc -O2 -Wall -o poc_physdma poc_physdma.c
$ cc -O2 -Wall -o poc_rig poc_rig.c
BUILD_OK (both; no warnings after memset/include fixes)
--- rig KLD module (as root, /root/bktrig) ---
^~~~~~~~~~
cc1: all warnings being treated as errors
*** Error code 1
Stop.
make: stopped making "all" in /root/bktrig
ls: bktrig.ko: No such file or directory
Warning: Object directory not changed from original /root/bktrig
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/bktrig/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 bktrig.c
cc -Wl,--build-id=sha1 -nostdlib -Wl,--hash-style=sysv -r -Wl,-d -o bktrig.ko bktrig.o
-rw-r--r-- 1 root wheel 4496 Oct 11 21:49 bktrig.ko
U video_ioctl
--- nodep variant (as root, /root/bktrig/nodep) ---
$ make -m /usr/src/share/mk SYSDIR=/usr/src/sys
cc ... -DKLD_MODULE ... -c bktrig.c
cc -Wl,--build-id=sha1 -nostdlib -Wl,--hash-style=sysv -r -Wl,-d -o bktrig_nodep.ko bktrig.o
$ nm bktrig.ko bktrig_nodep.ko | grep video_ioctl
U video_ioctl (both -- resolved from production bktr.ko / fixed kernel)