Most recent kernel (r256850) fails to build:
cc -c -pipe -O3 -fno-strict-aliasing -march=native -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror vers.c linking kernel freebsd32_misc.o: In function `freebsd32_recvmsg': /usr/src/sys/compat/freebsd32/freebsd32_misc.c:(.text+0x1369): undefined reference to `kern_recvit' freebsd32_misc.o: In function `freebsd32_sendmsg': /usr/src/sys/compat/freebsd32/freebsd32_misc.c:(.text+0x171c): undefined reference to `getsockaddr' /usr/src/sys/compat/freebsd32/freebsd32_misc.c:(.text+0x1785): undefined reference to `sockargs' /usr/src/sys/compat/freebsd32/freebsd32_misc.c:(.text+0x1853): undefined reference to `kern_sendit' freebsd32_misc.o: In function `freebsd32_recvfrom': /usr/src/sys/compat/freebsd32/freebsd32_misc.c:(.text+0x1915): undefined reference to `kern_recvit' [...] /usr/src/sys/ufs/ufs/ufs_vnops.c:(.text+0x1df9): undefined reference to `softdep_setup_link' /usr/src/sys/ufs/ufs/ufs_vnops.c:(.text+0x1ed7): undefined reference to `softdep_revert_link' ufs_vnops.o: In function `ufs_rename': /usr/src/sys/ufs/ufs/ufs_vnops.c:(.text+0x2d02): undefined reference to `softdep_setup_link' /usr/src/sys/ufs/ufs/ufs_vnops.c:(.text+0x2ef6): undefined reference to `softdep_change_linkcnt' /usr/src/sys/ufs/ufs/ufs_vnops.c:(.text+0x2f25): undefined reference to `softdep_change_linkcnt' /usr/src/sys/ufs/ufs/ufs_vnops.c:(.text+0x3074): undefined reference to `softdep_revert_link' /usr/src/sys/ufs/ufs/ufs_vnops.c:(.text+0x311a): undefined reference to `softdep_change_linkcnt' /usr/src/sys/ufs/ufs/ufs_vnops.c:(.text+0x3145): undefined reference to `softdep_change_linkcnt' /usr/src/sys/ufs/ufs/ufs_vnops.c:(.text+0x3261): undefined reference to `softdep_setup_dotdot_link' /usr/src/sys/ufs/ufs/ufs_vnops.c:(.text+0x32de): undefined reference to `softdep_setup_dotdot_link' ufs_vnops.o: In function `ufs_mkdir': /usr/src/sys/ufs/ufs/ufs_vnops.c:(.text+0x35e2): undefined reference to `softdep_revert_link' /usr/src/sys/ufs/ufs/ufs_vnops.c:(.text+0x3725): undefined reference to `softdep_setup_mkdir' /usr/src/sys/ufs/ufs/ufs_vnops.c:(.text+0x3cbc): undefined reference to `softdep_revert_mkdir' ufs_vnops.o: In function `ufs_rmdir': /usr/src/sys/ufs/ufs/ufs_vnops.c:(.text+0x3da6): undefined reference to `softdep_setup_rmdir' /usr/src/sys/ufs/ufs/ufs_vnops.c:(.text+0x3df2): undefined reference to `softdep_revert_rmdir' ufs_vnops.o: In function `ufs_makeinode': /usr/src/sys/ufs/ufs/ufs_vnops.c:(.text+0x455c): undefined reference to `softdep_revert_link' /usr/src/sys/ufs/ufs/ufs_vnops.c:(.text+0x464b): undefined reference to `softdep_setup_create' /usr/src/sys/ufs/ufs/ufs_vnops.c:(.text+0x49b3): undefined reference to `softdep_revert_create' *** Error code 1
signature.asc
Description: PGP signature