Date: Sun, 02 Oct 2022 11:44:47 -0500 From: Larry Rosenman <ler@lerctr.org> To: "Alexander V. Chernikov" <melifaro@ipfw.ru> Cc: Freebsd current <freebsd-current@freebsd.org> Subject: Re: Build Break? Message-ID: <fe3c03f9b6654c0b65e4ee2ea66f88b6@lerctr.org> In-Reply-To: <1818751664728043@mf26vabs2z5ql63q.myt.yp-c.yandex.net> References: <c45ee995837ef99cb7c4e7ca2397b399@lerctr.org> <f649e982004a88f10aeccdcf3a82b199@lerctr.org> <7F2A1941-C042-47FF-969C-3D993D56D088@ipfw.ru> <1818751664728043@mf26vabs2z5ql63q.myt.yp-c.yandex.net>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On 10/02/2022 11:27 am, Alexander V. Chernikov wrote: > 02.10.2022, 17:18, "Larry Rosenman" <ler@lerctr.org>: > > On 10/02/2022 8:12 am, Alexander V. Chernikov wrote: On 1 Oct 2022, at > 22:57, Larry Rosenman <ler@lerctr.org> wrote: > > --- all_subdir_nfscommon --- > Building > /usr/obj/usr/src/amd64.amd64/sys/LER-MINIMAL/modules/usr/src/sys/modules/nfscommon/nfs_commonkrpc.o > --- all_subdir_netgraph --- > --- all_subdir_netgraph/deflate --- > Building > /usr/obj/usr/src/amd64.amd64/sys/LER-MINIMAL/modules/usr/src/sys/modules/netgraph/deflate/offset.inc > --- all_subdir_netgraph/device --- > Building > /usr/obj/usr/src/amd64.amd64/sys/LER-MINIMAL/modules/usr/src/sys/modules/netgraph/device/i386 > --- all_subdir_netgraph/echo --- > ===> netgraph/echo (all) > --- all_subdir_netlink --- > --- netlink_io.o --- > /usr/src/sys/netlink/netlink_io.c:146:2: error: implicit declaration > of function 'mtx_lock' is invalid in C99 > [-Werror,-Wimplicit-function-declaration] > NLP_LOCK(nlp); That's interesting. netlink_io.c includes sys/mutex.h > which defines > mutex_lock() / mutex_unlock(). > Could you share the diff between GENERIC and LER-MINIMAL? I sent the diff in another message, but here is LER-MINIMAL. Thank you! So it's non-networking config. I'll make netlink build conditional on INET || INET6 today/tomorrow. I actually kldload a bunch of stuff. kld_list="aesni coretemp filemon linux ichsmb ichwd cpuctl cryptodev dtraceall i pmi " kld_list="$kld_list if_bridge bridgestp if_tuntap hwpmc tcp_rack mfip ioat" kld_list="$kld_list if_bce usb ukbd usb_quirk usb_template ums uhci xhci ehci oh ci" kld_list="$kld_list efirt nfscl nfscommon nfsd nfslockd nfssvc" kld_list="$kld_list ataintel geom_label" #kld_list="$kld_list geom_label" > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 214-642-9640 E-Mail: ler@lerctr.org > US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106 -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106 [-- Attachment #2 --] <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Arial,Helvetica,sans-serif'> <p id="reply-intro">On 10/02/2022 11:27 am, Alexander V. Chernikov wrote:</p> <blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"> <div id="replybody1">02.10.2022, 17:18, "Larry Rosenman" <ler@lerctr.org>:<br /> <blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"> <p>On 10/02/2022 8:12 am, Alexander V. Chernikov wrote:</p> <blockquote class="v1210e7a848e8fcb45wmi-quote"> <blockquote class="v1210e7a848e8fcb45wmi-quote"> On 1 Oct 2022, at 22:57, Larry Rosenman <<a href="mailto:ler@lerctr.org" rel="noreferrer">ler@lerctr.org</a>> wrote:<br /> <br /> --- all_subdir_nfscommon ---<br /> Building <br /> /usr/obj/usr/src/amd64.amd64/sys/LER-MINIMAL/modules/usr/src/sys/modules/nfscommon/nfs_commonkrpc.o<br /> --- all_subdir_netgraph ---<br /> --- all_subdir_netgraph/deflate ---<br /> Building <br /> /usr/obj/usr/src/amd64.amd64/sys/LER-MINIMAL/modules/usr/src/sys/modules/netgraph/deflate/offset.inc<br /> --- all_subdir_netgraph/device ---<br /> Building <br /> /usr/obj/usr/src/amd64.amd64/sys/LER-MINIMAL/modules/usr/src/sys/modules/netgraph/device/i386<br /> --- all_subdir_netgraph/echo ---<br /> ===> netgraph/echo (all)<br /> --- all_subdir_netlink ---<br /> --- netlink_io.o ---<br /> /usr/src/sys/netlink/netlink_io.c:146:2: error: implicit declaration <br /> of function 'mtx_lock' is invalid in C99 <br /> [-Werror,-Wimplicit-function-declaration]<br /> NLP_LOCK(nlp);</blockquote> That's interesting. netlink_io.c includes sys/mutex.h which defines <br /> mutex_lock() / mutex_unlock().<br /> Could you share the diff between GENERIC and LER-MINIMAL?<br /> </blockquote> <p>I sent the diff in another message, but here is LER-MINIMAL.</p> </blockquote> Thank you! <div>So it's non-networking config. I'll make netlink build conditional on INET || INET6 today/tomorrow.</div> <div> </div> <div>I actually kldload a bunch of stuff.</div> <div>kld_list="aesni coretemp filemon linux ichsmb ichwd cpuctl cryptodev dtraceall i<br />pmi "<br />kld_list="$kld_list if_bridge bridgestp if_tuntap hwpmc tcp_rack mfip ioat"<br />kld_list="$kld_list if_bce usb ukbd usb_quirk usb_template ums uhci xhci ehci oh<br />ci"<br />kld_list="$kld_list efirt nfscl nfscommon nfsd nfslockd nfssvc"<br />kld_list="$kld_list ataintel geom_label"<br />#kld_list="$kld_list geom_label"</div> <div> </div> <div><br /> <blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"> <p><br /></p> <span class="v1f55bbb4eeef208e8wmi-sign">-- <br />Larry Rosenman <a href="http://www.lerctr.org/~ler" target="_blank" rel="noopener noreferrer">http://www.lerctr.org/~ler</a><br />Phone: <span class="v11f1ea193f6735cf0wmi-callto">+1 214-642-9640</span> E-Mail: <a href="mailto:ler@lerctr.org" rel="noreferrer">ler@lerctr.org</a><br />US Mail: 5708 Sabbia Dr, Round Rock, TX <span class="v11f1ea193f6735cf0wmi-callto">78665-2106</span><br /></span></blockquote> </div> </div> </blockquote> <p><br /></p> <div id="signature"> <div class="pre" style="margin: 0; padding: 0; font-family: monospace"><span class="sig">-- <br />Larry Rosenman <a href="http://www.lerctr.org/~ler" target="_blank" rel="noopener noreferrer">http://www.lerctr.org/~ler</a><br />Phone: +1 214-642-9640 E-Mail: <a href="mailto:ler@lerctr.org">ler@lerctr.org</a><br />US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106<br /></span></div> </div> </body></html>help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fe3c03f9b6654c0b65e4ee2ea66f88b6>
