Date: Mon, 14 Sep 2020 13:29:01 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 249311] r365715: OpenZFS: buildkernel failure: ld: error: undefined symbol: dataset_kstats_destroy Message-ID: <bug-249311-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249311 Bug ID: 249311 Summary: r365715: OpenZFS: buildkernel failure: ld: error: undefined symbol: dataset_kstats_destroy Product: Base System Version: 12.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: ohartmann@walstatt.org Running 12-STABLE (FreeBSD 12.2-STABLE #34 r365625: Fri Sep 11 09:57:09 CEST 2020 amd64) and compiling 12-STABLE sources for revision 365715 with a customozed kernel (which compiled fine with r365625 as could be seen above) fails to buildkernel with the error shown below: [...] cc -target x86_64-unknown-freebsd12.2 --sysroot=3D/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -c -O2 -pipe -O3 -DNDEBUG -march=3Dnative -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -DKLD_T= IED -nostdinc -I/usr/src/sys/contrib -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/amd64.amd64/sys/FREYJA/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -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/FREYJA -MD -MF.depend.genoffset.o -MTgenoffset.o -mcmodel=3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-flo= at -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -W= all -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-comp= are -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 -mno-aes -mno= -avx -std=3Diso9899:1999 -fcommon /usr/src/sys/kern/genoffset.c --- kernel --- ld: error: undefined symbol: dataset_kstats_destroy >>> referenced by zfs_vfsops.c >>> zfs_vfsops.o:(zfsvfs_free) >>> referenced by zvol.c >>> zvol.o:(zvol_remove_minors_impl) ld: error: undefined symbol: dataset_kstats_create >>> referenced by zfs_vfsops.c >>> zfs_vfsops.o:(zfsvfs_setup) >>> referenced by zvol.c >>> zvol.o:(zvol_create_minor) ld: error: undefined symbol: dataset_kstats_update_read_kstats >>> referenced by zfs_vnops.c >>> zfs_vnops.o:(zfs_freebsd_read) >>> referenced by zvol.c >>> zvol.o:(zvol_strategy) ld: error: undefined symbol: dataset_kstats_update_write_kstats >>> referenced by zfs_vnops.c >>> zfs_vnops.o:(zfs_freebsd_write) >>> referenced by zvol.c >>> zvol.o:(zvol_strategy) *** [kernel] 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-249311-227>