From owner-freebsd-current@freebsd.org Sun Aug 12 22:25:42 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D0ED91055817 for ; Sun, 12 Aug 2018 22:25:41 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x22b.google.com (mail-io0-x22b.google.com [IPv6:2607:f8b0:4001:c06::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6674D7CC1D for ; Sun, 12 Aug 2018 22:25:41 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x22b.google.com with SMTP id z20-v6so12775393iol.0 for ; Sun, 12 Aug 2018 15:25:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VaCjEWc5stBfseoJJCFaWfUs/vVa7EGMgLDti64d9J4=; b=kZVpMnPvKPNn/hFVGjy8ShmFq6GfoDKCuhu3RSuC8kckt0cVR5POLwquRd3UFpVzMb 6V7RmVXbutolo32fF27VMxhXTdemfQRJYCWXWncv/4AVBAB6M2BwDs8r7gOHAqN3M38o blY5Ud+VuHF9OwPi1YDugabApKYFz9Gsw/IOd5+J6njePFKhUjMTnUfCx66vguqWQc0r NhQttIk+QLU0XBuWljLMjLFRUpnvf9JPzHoVmKZzGr3u79hzBJRFvtBkFErGmtTycHOk hv7U6gp71PMAWaCjvvcMGSbEJlvQeyWIec0JekcMOK849eixvkw6iCIaIvW7lSEAWaJ0 +3TA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VaCjEWc5stBfseoJJCFaWfUs/vVa7EGMgLDti64d9J4=; b=e4TlVbm/BazFVp8Ykh5eFZLMuVOmB4LK+6Y6IZAGWGHzEr9hxi/o4U0jLgY7v1zPTB 5AyUF2Jr1Sm63PcEqoiznoRIkTlsqFA+MmcRLUkvGa0c1XFGqiXc5U/0/aP0CGR3+KBy bCf8TlM32NLceC6yhKgUFx4o5W5aUVUO6vdnaZy3zi+BG6iMZ9A/VoCVTsfUgvZ3emRD ediZeCa7LmwnVm77dyyyLMtB340DSckyQBWAQY5Sq74Ur+XFq7MFW2t5jobNFCd35h+g Uc4W05Lp62FDmaf9iECCi/uo7SxMPfwvThk7Qm2oa7IMILNq7vqADdc1F0HLFTX0fknd cdMA== X-Gm-Message-State: AOUpUlEN2/EZFjcivGDxtpt0JkAcNtXJhFjOziC+IjSEI5S745nmgWUN xKIgxiEN8QDfbIpIqJ4xcfwNl9I4DWb+7lrazmgl7g== X-Google-Smtp-Source: AA+uWPzMTAFIup9g/Dn0TqKVgS48KGBUj438B7mx9cHBIXTBb5z+MNDdwitdpoRbWeGsHmCA1NECJniqcbPaCCSS3Gc= X-Received: by 2002:a6b:f70f:: with SMTP id k15-v6mr5362797iog.37.1534112740683; Sun, 12 Aug 2018 15:25:40 -0700 (PDT) MIME-Version: 1.0 References: <748179e1-72bd-99e3-2267-302274be3d32@protected-networks.net> In-Reply-To: From: Warner Losh Date: Sun, 12 Aug 2018 16:25:28 -0600 Message-ID: Subject: Re: kernel build failure To: Matt Macy Cc: =?UTF-8?Q?Trond_Endrest=C3=B8l?= , Michael Butler , freebsd-current Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2018 22:25:42 -0000 On Sun, Aug 12, 2018, 3:40 PM Matthew Macy wrote: > Sorry guys, last time I touched ZFS I tried to push to make it an option = to > statically link and was actually told that it wasn't something anyone els= e > wanted. The issue comes from ZFS not being in NOTES and thus not in LINT. > LINT is generated from NOTES automatically... Warner -M > > On Sun, Aug 12, 2018 at 12:46 PM Trond Endrest=C3=B8l < > Trond.Endrestol@fagskolen.gjovik.no> wrote: > > > On Sun, 12 Aug 2018 16:51+0200, Trond Endrest=C3=B8l wrote: > > > > > On Sun, 12 Aug 2018 09:37-0400, Michael Butler wrote: > > > > > > > Is anyone else seeing this when building a new kernel with ZFS > > compiled in? > > > > > > > > Building /usr/obj/usr/src/amd64.amd64/sys/VM01/vers.o > > > > Building /usr/obj/usr/src/amd64.amd64/sys/VM01/kernel > > > > --- kernel --- > > > > linking kernel > > > > ld: error: undefined symbol: dbuf_stats_init > > > > >>> referenced by dbuf.c > > > > >>> dbuf.o:(dbuf_init) > > > > > > > > ld: error: undefined symbol: dbuf_stats_destroy > > > > >>> referenced by dbuf.c > > > > >>> dbuf.o:(dbuf_fini) > > > > *** [kernel] Error code 1 > > > > > > I was just about to create a thread of my own. > > > > > > I suspect r337670 didn't add everything > > > cddl/contrib/opensolaris/uts/common/fs/zfs/dbuf.c depends on. See > > > lines 652 and 697. > > > > > > Meanwhile, I'll attempt to revert to r337669. > > > > r337669 builds and runs. > > > > Looking further into r337670, it seems > > cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dbuf.h added prototypes > > for dbuf_stats_init() and dbuf_stats_destroy(), but no implementation > > can be found in any of the files affected by r337670. > > > > -- > > Trond. > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " >