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/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247256 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 =3D> r362175=20 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=3D/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -O2 -pipe -fno-common=20 -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 -inclu= de /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=3D./machine=3D/usr/src/sys/amd64/include -fdebug-prefix-map=3D./x86=3D/usr/src/sys/x86/include -I/usr/obj/usr/src/amd64.amd64/sys/VADOS -MD=20 -MF.depend.ar5416_interrupts.o -MTar5416_interrupts.o -mcmodel=3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tabl= es -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__=3D__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=20 -std=3Diso9899:1999 -c /usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_interrupt= s.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=3Dsha1 -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=3Dataite.ko.debug ataite.ko.full ataite.ko --- all_subdir_ata/atapci/chipsets/atajmicron --- =3D=3D=3D> ata/atapci/chipsets/atajmicron (all) --- kernel.full --- *** [kernel.full] Error code 1 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-247256-227>