From owner-freebsd-current@freebsd.org Sun Aug 12 22:28:25 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 C2DA71055A08 for ; Sun, 12 Aug 2018 22:28:25 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x235.google.com (mail-it0-x235.google.com [IPv6:2607:f8b0:4001:c0b::235]) (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 5580C7CE98 for ; Sun, 12 Aug 2018 22:28:25 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x235.google.com with SMTP id d70-v6so9868052ith.1 for ; Sun, 12 Aug 2018 15:28:25 -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=tdIusj2GIkCLwQz3pWfMiMHpFOdG7L8d5qP6TF7HYnw=; b=1R/xJo/HKU+HClDCQk7F5DwQZVLhYCVKYlyWJcD9TTuQXuvc5lFcsYyLNs8jwaVVWv QyniSTpm2LLFtiJ1FFKv5XmXTSLhlYRMmm9FfSb2Wze1zjcAII7WBeX7fGRWNytoFDLe kdvkjRdpCvTTEJnvfnAYJATO7vTAT4/6F5NDllCMVpQenx+4+EGc9oFsa5S+Dt4DZDL/ OxM3qNWJRmX9m1uKNrspl/8G6Euz586lztxKoaTGtAy60FTesFbbWMlD7LxcsnheQYUD e3NmV6cbKSZzjbqy/3gqdENNuw/d909gUMR2saMHUcUTpfMTvDU7O8o0gsuC6qbeBlYy n0PA== 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=tdIusj2GIkCLwQz3pWfMiMHpFOdG7L8d5qP6TF7HYnw=; b=YtWrWZwFBHNkpskye1cGXWUsk+5MY4DsoAL3RtBk9ryxluehE2P7uWA0XZHeh9QC8Q eo2f0no8LzLh/EyaurWtR3n/YUzvjhApujMkNlqpXSNoUh2FtajPx0R7ZyovRfdnc+MU MmOprO/tdM1uWGHQvJryNs77IKfltwzna+iV1ANINqmcbLHmbHoDUh/YLry2KKQyPymL CLlZS6n/Q+FVpnfi/riJpX+YxOH2aEtxUJTfyERPYjLZY1ZrUTE+Pi8IAczwqIkezrDl w2hG7oH3Hz2aFqIyjwxeL3yQusalIMijkUVh1NYxYbhiw8+FZLO3jZ7I/N/NVeoreBkU kd+w== X-Gm-Message-State: AOUpUlG3w3swXzbBS+j6Kd6syhlqFl5CIVH42xKn6d8vXfx4Fw2ZqPgY bjkFefpWafeap8wpp93+/yPgjoJS+WGDRo7g2WIUqBvpwz0= X-Google-Smtp-Source: AA+uWPyF59QJ410PFcc43HrD22BdC6pb/ngtwdLRQEDyI7/lhXL4krl8db+6cWIzDm/dcDlNfdoSCFS3vw1XHZMaW0g= X-Received: by 2002:a02:3344:: with SMTP id k4-v6mr13473036jak.45.1534112904576; Sun, 12 Aug 2018 15:28:24 -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:28:13 -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:28:26 -0000 On Sun, Aug 12, 2018, 4:27 PM Matthew Macy wrote: > > > On Sun, Aug 12, 2018 at 3:25 PM Warner Losh wrote: > >> >> >> 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 optio= n >>> to >>> statically link and was actually told that it wasn't something anyone >>> else >>> wanted. The issue comes from ZFS not being in NOTES and thus not in LIN= T. >>> >> >> LINT is generated from NOTES automatically... >> > > Yes, hence the "and thus not in LINT" > I missed one of the nots :( Warner > >> 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 prototype= s >>> > 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" >>> >>