Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help
--=_abe3dae1e14f244fab9f2abc05ac4b14
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII;
 format=flowed



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
--=_abe3dae1e14f244fab9f2abc05ac4b14
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset=
=3DUTF-8" /></head><body style=3D'font-size: 10pt; font-family: Arial,Helve=
tica,sans-serif'>
<p id=3D"reply-intro">On 10/02/2022 11:27 am, Alexander V. Chernikov wrote:=
</p>
<blockquote type=3D"cite" style=3D"padding: 0 0.4em; border-left: #1010ff 2=
px solid; margin: 0">
<div id=3D"replybody1">02.10.2022, 17:18, "Larry Rosenman" &lt;ler@lerctr.o=
rg&gt;:<br />
<blockquote type=3D"cite" style=3D"padding: 0 0.4em; border-left: #1010ff 2=
px solid; margin: 0">
<p>On 10/02/2022 8:12 am, Alexander V. Chernikov wrote:</p>
<blockquote class=3D"v1210e7a848e8fcb45wmi-quote">
<blockquote class=3D"v1210e7a848e8fcb45wmi-quote">&nbsp;On 1 Oct 2022, at 2=
2:57, Larry Rosenman &lt;<a href=3D"mailto:ler@lerctr.org" rel=3D"noreferre=
r">ler@lerctr.org</a>&gt; wrote:<br />&nbsp;<br />&nbsp;--- all_subdir_nfsc=
ommon ---<br />&nbsp;Building <br />&nbsp;/usr/obj/usr/src/amd64.amd64/sys/=
LER-MINIMAL/modules/usr/src/sys/modules/nfscommon/nfs_commonkrpc.o<br />&nb=
sp;--- all_subdir_netgraph ---<br />&nbsp;--- all_subdir_netgraph/deflate -=
--<br />&nbsp;Building <br />&nbsp;/usr/obj/usr/src/amd64.amd64/sys/LER-MIN=
IMAL/modules/usr/src/sys/modules/netgraph/deflate/offset.inc<br />&nbsp;---=
 all_subdir_netgraph/device ---<br />&nbsp;Building <br />&nbsp;/usr/obj/us=
r/src/amd64.amd64/sys/LER-MINIMAL/modules/usr/src/sys/modules/netgraph/devi=
ce/i386<br />&nbsp;--- all_subdir_netgraph/echo ---<br />&nbsp;=3D=3D=3D&gt=
; netgraph/echo (all)<br />&nbsp;--- all_subdir_netlink ---<br />&nbsp;--- =
netlink_io.o ---<br />&nbsp;/usr/src/sys/netlink/netlink_io.c:146:2: error:=
 implicit declaration <br />&nbsp;of function 'mtx_lock' is invalid in C99 =
<br />&nbsp;[-Werror,-Wimplicit-function-declaration]<br />&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NLP_LOCK(nlp);</blockquote>
&nbsp;That's interesting. netlink_io.c includes sys/mutex.h which defines <=
br />&nbsp;mutex_lock() / mutex_unlock().<br />&nbsp;&nbsp;Could you share =
the diff between GENERIC and LER-MINIMAL?<br />&nbsp;</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 &nbsp;condition=
al on INET || INET6 today/tomorrow.</div>
<div>&nbsp;</div>
<div>I actually kldload a bunch of stuff.</div>
<div>kld_list=3D"aesni coretemp filemon linux ichsmb ichwd cpuctl cryptodev=
 dtraceall i<br />pmi "<br />kld_list=3D"$kld_list if_bridge bridgestp if_t=
untap hwpmc tcp_rack mfip ioat"<br />kld_list=3D"$kld_list if_bce usb ukbd =
usb_quirk usb_template ums uhci xhci ehci oh<br />ci"<br />kld_list=3D"$kld=
_list efirt nfscl nfscommon nfsd nfslockd nfssvc"<br />kld_list=3D"$kld_lis=
t ataintel geom_label"<br />#kld_list=3D"$kld_list geom_label"</div>
<div>&nbsp;</div>
<div><br />
<blockquote type=3D"cite" style=3D"padding: 0 0.4em; border-left: #1010ff 2=
px solid; margin: 0">
<p><br /></p>
<span class=3D"v1f55bbb4eeef208e8wmi-sign">-- <br />Larry Rosenman <a href=
=3D"http://www.lerctr.org/~ler" target=3D"_blank" rel=3D"noopener noreferre=
r">http://www.lerctr.org/~ler</a><br />Phone: <span class=3D"v11f1ea193f673=
5cf0wmi-callto">+1 214-642-9640</span> E-Mail: <a href=3D"mailto:ler@lerctr=
=2Eorg" rel=3D"noreferrer">ler@lerctr.org</a><br />US Mail: 5708 Sabbia Dr,=
 Round Rock, TX <span class=3D"v11f1ea193f6735cf0wmi-callto">78665-2106</sp=
an><br /></span></blockquote>
</div>
</div>
</blockquote>
<p><br /></p>
<div id=3D"signature">
<div class=3D"pre" style=3D"margin: 0; padding: 0; font-family: monospace">=
<span class=3D"sig">--&nbsp;<br />Larry Rosenman &nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href=3D"http://www.lerctr.or=
g/~ler" target=3D"_blank" rel=3D"noopener noreferrer">http://www.lerctr.org=
/~ler</a><br />Phone: +1 214-642-9640 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &n=
bsp; &nbsp; &nbsp; E-Mail: <a href=3D"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>

--=_abe3dae1e14f244fab9f2abc05ac4b14--



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