Date: Sun, 14 Jun 2020 15:16:08 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 247256] ld error: undefined symbol: M_UFSMNT Message-ID: <bug-247256-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247256 Bug ID: 247256 Summary: ld error: undefined symbol: M_UFSMNT Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: driesm.michiels@gmail.com When updating from r361107 => r362175 I get the following error when building my custom kernel. I do not have UFS included in my KERNCONF, this was a clean build. cc -target x86_64-unknown-freebsd13.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -O2 -pipe -fno-common -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -DKLD_TIED -nostdinc -I. -I/usr/src/sys/dev/ath -I/usr/src/sys/dev/ath/ath_hal -I. -I/usr/src/sys/contrib/dev/ath/ath_hal/ -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/amd64.amd64/sys/VADOS/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -I/usr/obj/usr/src/amd64.amd64/sys/VADOS -MD -MF.depend.ar5416_interrupts.o -MTar5416_interrupts.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-address-of-packed-member -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c /usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_interrupts.c -o ar5416_interrupts.o --- all_subdir_ata --- ctfconvert -L VERSION -g ata-ite.o --- ataite.ko.full --- ld -m elf_x86_64_fbsd -d -warn-common --build-id=sha1 -T /usr/src/sys/conf/ldscript.kmod.amd64 -r -d -o ataite.ko.full ata-ite.o ctfmerge -L VERSION -g -o ataite.ko.full ata-ite.o --- kernel.full --- ld: error: undefined symbol: M_UFSMNT >>> referenced by ffs_subr.c:226 (/usr/src/sys/ufs/ffs/ffs_subr.c:226) >>> ffs_subr.o:(ffs_fsfail_unmount) --- modules-all --- :> export_syms awk -f /usr/src/sys/conf/kmod_syms.awk ataite.ko.full export_syms | xargs -J% objcopy % ataite.ko.full --- ataite.ko.debug --- objcopy --only-keep-debug ataite.ko.full ataite.ko.debug --- ataite.ko --- objcopy --strip-debug --add-gnu-debuglink=ataite.ko.debug ataite.ko.full ataite.ko --- all_subdir_ata/atapci/chipsets/atajmicron --- ===> ata/atapci/chipsets/atajmicron (all) --- kernel.full --- *** [kernel.full] Error code 1 -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-247256-227>
