From nobody Sun Oct 2 16:44:47 2022 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MgVDz6vbKz4dnnq for ; Sun, 2 Oct 2022 16:44:51 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [192.147.25.65]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "*.lerctr.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MgVDz1HN8z3C4k for ; Sun, 2 Oct 2022 16:44:51 +0000 (UTC) (envelope-from ler@lerctr.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=ler2019; h=Content-Type:Message-ID:References:In-Reply-To:Subject:Cc:To: From:Date:MIME-Version:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=QQIMuG03wMemA/o2l32QqcVmlXbxP2eJWhKbmwWmQhQ=; b=sibvLUHgz2gC6HLinMAtl7hHxB 8e+XlGSiK5d4UUHTyJe2TRU2rHrvBAYndDpSNnjhx+GgxdZwHnvJv+Ko0H361jOB/IqNOSzpvKz6D /cQKcumml7onb1lIz1QhY/OIVnlgvpGWbJQn5qsH1krXB5H6z8J2TjNm4p9WXSn39vlEMbLWeEaT+ ta2+6UutagGEqRIwrjZWO3rfjBGvxDn4fXSg8YlQyIJchEwEoGdCkadcRhwaJoe+ubZH9SiOyYi+f BOyhBRCw7jB3vJy8Vj8OaJUzN2doy/TChqMR+ehUEHOBZoJivMEcaVQcr5JB70M4WWXkmtdb8NLgJ aJiFs1UQ==; Received-SPF: pass (thebighonker.lerctr.org: domain of lerctr.org designates 2602:fcdb:0:10:7ae3:b5ff:fe1b:23b4 as permitted sender) client-ip=2602:fcdb:0:10:7ae3:b5ff:fe1b:23b4; envelope-from=ler@lerctr.org; helo=webmail.lerctr.org; Received: from thebighonker.lerctr.org ([2602:fcdb:0:10:7ae3:b5ff:fe1b:23b4]:61045 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.95 (FreeBSD)) (envelope-from ) id 1of25A-000Fu0-2R; Sun, 02 Oct 2022 11:44:48 -0500 Received: from 2600:1700:210:b18f:8cb4:f417:c3e6:a42 by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Sun, 02 Oct 2022 11:44:47 -0500 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Date: Sun, 02 Oct 2022 11:44:47 -0500 From: Larry Rosenman To: "Alexander V. Chernikov" Cc: Freebsd current Subject: Re: Build Break? In-Reply-To: <1818751664728043@mf26vabs2z5ql63q.myt.yp-c.yandex.net> References: <7F2A1941-C042-47FF-969C-3D993D56D088@ipfw.ru> <1818751664728043@mf26vabs2z5ql63q.myt.yp-c.yandex.net> Message-ID: X-Sender: ler@lerctr.org Content-Type: multipart/alternative; boundary="=_abe3dae1e14f244fab9f2abc05ac4b14" X-Rspamd-Queue-Id: 4MgVDz1HN8z3C4k X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=lerctr.org header.s=ler2019 header.b=sibvLUHg; dmarc=pass (policy=none) header.from=lerctr.org; spf=pass (mx1.freebsd.org: domain of ler@lerctr.org designates 192.147.25.65 as permitted sender) smtp.mailfrom=ler@lerctr.org X-Spamd-Result: default: False [-3.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[lerctr.org,none]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[lerctr.org:s=ler2019]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MLMMJ_DEST(0.00)[freebsd-current@FreeBSD.org]; FROM_EQ_ENVFROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:55103, ipnet:192.147.25.0/24, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEFALL_USER(0.00)[ler]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[lerctr.org:+]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --=_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" : > > On 10/02/2022 8:12 am, Alexander V. Chernikov wrote: On 1 Oct 2022, at > 22:57, Larry Rosenman 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

On 10/02/2022 11:27 am, Alexander V. Chernikov wrote:=

02.10.2022, 17:18, "Larry Rosenman" <ler@lerctr.o= rg>:

On 10/02/2022 8:12 am, Alexander V. Chernikov wrote:

 On 1 Oct 2022, at 2= 2:57, Larry Rosenman <ler@lerctr.org> wrote:
 
 --- all_subdir_nfsc= ommon ---
 Building
 /usr/obj/usr/src/amd64.amd64/sys/= LER-MINIMAL/modules/usr/src/sys/modules/nfscommon/nfs_commonkrpc.o
&nb= sp;--- all_subdir_netgraph ---
 --- all_subdir_netgraph/deflate -= --
 Building
 /usr/obj/usr/src/amd64.amd64/sys/LER-MIN= IMAL/modules/usr/src/sys/modules/netgraph/deflate/offset.inc
 ---= all_subdir_netgraph/device ---
 Building
 /usr/obj/us= r/src/amd64.amd64/sys/LER-MINIMAL/modules/usr/src/sys/modules/netgraph/devi= ce/i386
 --- all_subdir_netgraph/echo ---
 =3D=3D=3D>= ; 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]
  &nbs= p;     NLP_LOCK(nlp);
 That's interesting. netlink_io.c includes sys/mutex.h which defines <= br /> 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  condition= al on INET || INET6 today/tomorrow.
 
I actually kldload a bunch of stuff.
kld_list=3D"aesni coretemp filemon linux ichsmb ichwd cpuctl cryptodev= dtraceall i
pmi "
kld_list=3D"$kld_list if_bridge bridgestp if_t= untap hwpmc tcp_rack mfip ioat"
kld_list=3D"$kld_list if_bce usb ukbd = usb_quirk usb_template ums uhci xhci ehci oh
ci"
kld_list=3D"$kld= _list efirt nfscl nfscommon nfsd nfslockd nfssvc"
kld_list=3D"$kld_lis= t ataintel geom_label"
#kld_list=3D"$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           &n= bsp;     E-Mail: ler@lerctr.org=
US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106
--=_abe3dae1e14f244fab9f2abc05ac4b14--