Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Aug 2018 15:26:54 -0700
From:      Matthew Macy <mmacy@freebsd.org>
To:        Warner Losh <imp@bsdimp.com>
Cc:        Trond.Endrestol@fagskolen.gjovik.no,  Michael Butler <imb@protected-networks.net>, freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: kernel build failure
Message-ID:  <CAPrugNri-N6Mq3iCKnbXZwVcCVRy3o5ZUT1QK-9bLMCj01G9Rg@mail.gmail.com>
In-Reply-To: <CANCZdfqB00WCsfy68jzQ1C_V96xO2HNDOVA8zuU0L=eS7e5fgQ@mail.gmail.com>
References:  <748179e1-72bd-99e3-2267-302274be3d32@protected-networks.net> <alpine.BSF.2.21.9999.1808121646120.69607@mail.fig.ol.no> <alpine.BSF.2.21.9999.1808122143300.69607@mail.fig.ol.no> <CAPrugNq5=8fcqsGyjuJ5wfEfC4ZdxNQi9Wx7SMkLiF0CjWOsOg@mail.gmail.com> <CANCZdfqB00WCsfy68jzQ1C_V96xO2HNDOVA8zuU0L=eS7e5fgQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Aug 12, 2018 at 3:25 PM Warner Losh <imp@bsdimp.com> wrote:

>
>
> On Sun, Aug 12, 2018, 3:40 PM Matthew Macy <mmacy@freebsd.org> 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 el=
se
>> wanted. The issue comes from ZFS not being in NOTES and thus not in LINT=
.
>>
>
> LINT is generated from NOTES automatically...
>

Yes, hence the "and thus not in LINT"




> 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.or=
g
>> "
>>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPrugNri-N6Mq3iCKnbXZwVcCVRy3o5ZUT1QK-9bLMCj01G9Rg>