DF-3915 / fix_build.log
# fix validation build: single-fix kernel with DF-3914+DF-3915 patches applied to the # guest /usr/src copy (patch -p1, both hunks; source restored afterwards). # Command: cd /usr/src && make nativekernel KERNCONF=X86_64_GENERIC # Full log (5,386,161 bytes) SHA256 = 55641f6d20f32d6795026dd86d27cd571a9186beb0333830050a386f1fb57368 # grep -cE 'error:|Error code|warning:' on the full log = 0 # Extract below: the mpr_mapping.c compile passes (static + KLD_MODULE), the mpr.ko link, and the completion banner. awk -f /usr/src/sys/tools/makeobjops.awk -- -c /usr/src/sys/bus/mmc/mmcbus_if.m; cc -c -O2 -pipe -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 -g -nostdinc -I. -Iinclude -I/usr/src/sys -I/usr/obj/usr/src/sys/X86_64_GENERIC -I/usr/src/sys/dev/acpica -I/usr/src/sys/contrib/dev/acpica/source/include -I/usr/src/sys/dev/netif/ath/ath_hal -I/usr/src/sys/contrib/dev/ath/ath_hal -I/usr/src/sys/dev/drm/include -I/usr/src/sys/dev/drm/include/drm -I/usr/src/sys/dev/drm/include/uapi -I/usr/src/sys/dev/drm/amd/include -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -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 mmcbus_if.c -Werror cc -c -O2 -pipe -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 -g -nostdinc -I. -Iinclude -I/usr/src/sys -I/usr/obj/usr/src/sys/X86_64_GENERIC -I/usr/src/sys/dev/acpica -I/usr/src/sys/contrib/dev/acpica/source/include -I/usr/src/sys/dev/netif/ath/ath_hal -I/usr/src/sys/contrib/dev/ath/ath_hal -I/usr/src/sys/dev/drm/include -I/usr/src/sys/dev/drm/include/drm -I/usr/src/sys/dev/drm/include/uapi -I/usr/src/sys/dev/drm/amd/include -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -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 /usr/src/sys/dev/disk/mmcsd/mmcsd.c -Werror cc -c -O2 -pipe -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 -g -nostdinc -I. -Iinclude -I/usr/src/sys -I/usr/obj/usr/src/sys/X86_64_GENERIC -I/usr/src/sys/dev/acpica -I/usr/src/sys/contrib/dev/acpica/source/include -I/usr/src/sys/dev/netif/ath/ath_hal -I/usr/src/sys/contrib/dev/ath/ath_hal -I/usr/src/sys/dev/drm/include -I/usr/src/sys/dev/drm/include/drm -I/usr/src/sys/dev/drm/include/uapi -I/usr/src/sys/dev/drm/amd/include -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -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 /usr/src/sys/dev/raid/mpr/mpr.c -Werror cc -c -O2 -pipe -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 -g -nostdinc -I. -Iinclude -I/usr/src/sys -I/usr/obj/usr/src/sys/X86_64_GENERIC -I/usr/src/sys/dev/acpica -I/usr/src/sys/contrib/dev/acpica/source/include -I/usr/src/sys/dev/netif/ath/ath_hal -I/usr/src/sys/contrib/dev/ath/ath_hal -I/usr/src/sys/dev/drm/include -I/usr/src/sys/dev/drm/include/drm -I/usr/src/sys/dev/drm/include/uapi -I/usr/src/sys/dev/drm/amd/include -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -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 /usr/src/sys/dev/raid/mpr/mpr_config.c -Werror cc -c -O2 -pipe -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 -g -nostdinc -I. -Iinclude -I/usr/src/sys -I/usr/obj/usr/src/sys/X86_64_GENERIC -I/usr/src/sys/dev/acpica -I/usr/src/sys/contrib/dev/acpica/source/include -I/usr/src/sys/dev/netif/ath/ath_hal -I/usr/src/sys/contrib/dev/ath/ath_hal -I/usr/src/sys/dev/drm/include -I/usr/src/sys/dev/drm/include/drm -I/usr/src/sys/dev/drm/include/uapi -I/usr/src/sys/dev/drm/amd/include -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -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 /usr/src/sys/dev/raid/mpr/mpr_mapping.c -Werror cc -c -O2 -pipe -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 -g -nostdinc -I. -Iinclude -I/usr/src/sys -I/usr/obj/usr/src/sys/X86_64_GENERIC -I/usr/src/sys/dev/acpica -I/usr/src/sys/contrib/dev/acpica/source/include -I/usr/src/sys/dev/netif/ath/ath_hal -I/usr/src/sys/contrib/dev/ath/ath_hal -I/usr/src/sys/dev/drm/include -I/usr/src/sys/dev/drm/include/drm -I/usr/src/sys/dev/drm/include/uapi -I/usr/src/sys/dev/drm/amd/include -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -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 /usr/src/sys/dev/raid/mpr/mpr_pci.c -Werror cc -c -O2 -pipe -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 -g -nostdinc -I. -Iinclude -I/usr/src/sys -I/usr/obj/usr/src/sys/X86_64_GENERIC -I/usr/src/sys/dev/acpica -I/usr/src/sys/contrib/dev/acpica/source/include -I/usr/src/sys/dev/netif/ath/ath_hal -I/usr/src/sys/contrib/dev/ath/ath_hal -I/usr/src/sys/dev/drm/include -I/usr/src/sys/dev/drm/include/drm -I/usr/src/sys/dev/drm/include/uapi -I/usr/src/sys/dev/drm/amd/include -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -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 /usr/src/sys/dev/raid/mpr/mpr_sas.c -Werror 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/obj/usr/src/sys/X86_64_GENERIC -I/usr/obj/usr/src/sys/X86_64_GENERIC/include -Idragonfly/../include -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/X86_64_GENERIC/opt_global.h -g -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/dev/raid/mpr/mpr_user.c 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/obj/usr/src/sys/X86_64_GENERIC -I/usr/obj/usr/src/sys/X86_64_GENERIC/include -Idragonfly/../include -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/X86_64_GENERIC/opt_global.h -g -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/dev/raid/mpr/mpr_config.c 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/obj/usr/src/sys/X86_64_GENERIC -I/usr/obj/usr/src/sys/X86_64_GENERIC/include -Idragonfly/../include -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/X86_64_GENERIC/opt_global.h -g -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/dev/raid/mpr/mpr_mapping.c 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/obj/usr/src/sys/X86_64_GENERIC -I/usr/obj/usr/src/sys/X86_64_GENERIC/include -Idragonfly/../include -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/X86_64_GENERIC/opt_global.h -g -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/dev/raid/mpr/mpr_sas_lsi.c cc -Wl,--build-id=sha1 -nostdlib -Wl,--hash-style=sysv -r -Wl,-d -o mpr.ko mpr_pci.o mpr.o mpr_sas.o mpr_table.o mpr_user.o mpr_config.o mpr_mapping.o mpr_sas_lsi.o <=== dev/raid/mpr <=== libiconv -------------------------------------------------------------- >>> Kernel build for X86_64_GENERIC completed on Thu Sep 17 00:35:46 UTC 2026 --------------------------------------------------------------