[CURRENT r256850]: kernel build failure due to issues in freebsd32/freebsd32_misc.c and sys/ufs/ufs/ufs_vnops.c

From: O. Hartmann <ohartman_at_zedat.fu-berlin.de>
Date: Mon, 21 Oct 2013 19:14:11 +0200
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

Received on Mon Oct 21 2013 - 15:14:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:43 UTC