⬢ DragonFlyBSD Kernel Audit
DF-4260 / build.log
← back to finding ↓ download raw
Warning: Object directory not changed from original /usr/src/sys/dev/netif/pocdead
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  -DKLD_MODULE -nostdinc  -I. -Idragonfly -I/usr/src/sys/dev/netif/pocdead/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 poc_deadlock.c
cc -Wl,--build-id=sha1 -nostdlib -Wl,--hash-style=sysv   -r -Wl,-d -o poc_deadlock.ko poc_deadlock.o
total 8
-rw-r--r--  1 root  wheel    60 Sep 19 00:27 Makefile
-rw-r--r--  1 root  wheel  4739 Sep 19 00:27 poc_deadlock.c
-rw-r--r--  1 root  wheel  6080 Sep 19 00:28 poc_deadlock.ko

=== module build (final successful; captured during run) ===
cc -O2 -pipe ... -DKLD_MODULE -nostdinc ... -c poc_deadlock.c
cc -Wl,--build-id=sha1 -nostdlib -Wl,--hash-style=sysv   -r -Wl,-d -o poc_deadlock.ko poc_deadlock.o
(module builds clean; only warnings were the -Wcomment fixed pre-run)

=== fix compile-check (captured during run) ===
baseline:  cc ... -c if_vr.c ; cc -Wl,... -r -o if_vr.ko if_vr.o  -> BASELINE_BUILD_OK
patched:   Hunk #1 succeeded at 827. / Hunk #2 succeeded at 1639.
           -rw-r--r--  1 root wheel 25320 if_vr.ko  -> PATCHED_BUILD_OK
           (guest tree reverted with patch -R afterwards)