From owner-freebsd-bugs@freebsd.org Mon Sep 14 13:29:02 2020 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 295F53D651A for ; Mon, 14 Sep 2020 13:29:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BqnJG0LMnz4gDH for ; Mon, 14 Sep 2020 13:29:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 0BBE13D6515; Mon, 14 Sep 2020 13:29:02 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0B8603D65B1 for ; Mon, 14 Sep 2020 13:29:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BqnJF6b2Hz4gB0 for ; Mon, 14 Sep 2020 13:29:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C17B617BCC for ; Mon, 14 Sep 2020 13:29:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 08EDT1QK066039 for ; Mon, 14 Sep 2020 13:29:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 08EDT1xw066038 for bugs@FreeBSD.org; Mon, 14 Sep 2020 13:29:01 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 249311] r365715: OpenZFS: buildkernel failure: ld: error: undefined symbol: dataset_kstats_destroy Date: Mon, 14 Sep 2020 13:29:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ohartmann@walstatt.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Sep 2020 13:29:02 -0000 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.=