⬢ DragonFlyBSD Kernel Audit
DF-5421 / fix_compile.log
← back to finding ↓ download raw
DF-5421 fix_compile.log -- patched production driver build (guest, live-captured tail)
================================================================================
Method: /usr/src/sys/bus/u4b/serial/uchcom.c (pristine, md5 3616dd7e880405bb1eeb0271b4be6712)
was replaced with fix.diff's result (md5 cc08d58eb9ad13a54ed646c873d862bb) and the
in-tree production kmod was built. RC=0, -Werror clean, uchcom.ko produced.
(The tee'd full log lived in /root/df5421/fix_compile.log on the guest and was removed
with the scratch dir during cleanup; these are the verbatim decisive lines from the
live session. The generated forwarder-header/awk preamble was identical to build.log's.)
--------------------------------------------------------------------------------
awk -f dragonfly/tools/usbdevs2h.awk dragonfly/bus/u4b/usbdevs -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/usr/src/sys/bus/u4b/serial/uchcom/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 /usr/src/sys/bus/u4b/serial/uchcom/../uchcom.c
cc -Wl,--build-id=sha1 -nostdlib -Wl,--hash-style=sysv   -r -Wl,-d -o uchcom.ko uchcom.o
-rw-r--r--  1 root@dfbsd  1000  11792 Oct  4 16:43 uchcom.ko
--------------------------------------------------------------------------------
After the check the pristine file was restored and verified:
MD5 (/usr/src/sys/bus/u4b/serial/uchcom.c) = 3616dd7e880405bb1eeb0271b4be6712