From nobody Fri Aug 18 15:39:54 2023 X-Original-To: dev-commits-src-main@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 4RS5fQ0XwWz4qhLS; Fri, 18 Aug 2023 15:39:58 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from omta002.cacentral1.a.cloudfilter.net (omta002.cacentral1.a.cloudfilter.net [3.97.99.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RS5fP6wRLz3Ggt; Fri, 18 Aug 2023 15:39:57 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Authentication-Results: mx1.freebsd.org; none Received: from shw-obgw-4001a.ext.cloudfilter.net ([10.228.9.142]) by cmsmtp with ESMTP id WysRq1Kxt6NwhX1Ztqc4xf; Fri, 18 Aug 2023 15:39:57 +0000 Received: from spqr.komquats.com ([70.66.152.170]) by cmsmtp with ESMTPA id X1ZrqNC5tHFsOX1ZsqujJb; Fri, 18 Aug 2023 15:39:57 +0000 X-Authority-Analysis: v=2.4 cv=XZqaca15 c=1 sm=1 tr=0 ts=64df90cd a=y8EK/9tc/U6QY+pUhnbtgQ==:117 a=y8EK/9tc/U6QY+pUhnbtgQ==:17 a=kj9zAlcOel0A:10 a=UttIx32zK-AA:10 a=6I5d2MoRAAAA:8 a=YxBL1-UpAAAA:8 a=EkcXrb_YAAAA:8 a=r-HGUgrYWZ_Vcz6z9EoA:9 a=CjuIK1q_8ugA:10 a=IjZwj45LgO3ly-622nXo:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=LK5xJRSDVpKd5WXXoEvA:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id 59E09D2D; Fri, 18 Aug 2023 08:39:55 -0700 (PDT) Received: by slippy.cwsent.com (Postfix, from userid 1000) id 143512F3; Fri, 18 Aug 2023 08:39:55 -0700 (PDT) X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.8+dev Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Konstantin Belousov cc: Cy Schubert , src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: 1384a0b940e8 - main - kern/subr_unit.c: fix non-debug build In-reply-to: References: <202308181337.37IDbMwl051912@gitrepo.freebsd.org> <20230818144345.9998F2EF@slippy.cwsent.com> Comments: In-reply-to Konstantin Belousov message dated "Fri, 18 Aug 2023 17:57:29 +0300." List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 18 Aug 2023 08:39:54 -0700 Message-Id: <20230818153955.143512F3@slippy.cwsent.com> X-CMAE-Envelope: MS4xfM0oaFNXM44gTzTcNgEP8dP3gIREMbKJ2uK0eX3BronzXmpil8g217rQiVJgU3jtvwEKhD35KDYHG9YRXLELGueYo+0HNpRqtJDNakvh9ZdKItV5vvX6 VyeviVlUltxAMRzSzzpljoJ7A7ylrPAbEGqg9elAg2ykPA2L7KW7gWFxuZaV3AiDv+qAmVmjottLzxd3KsgUG2ZTAPgujmXSZEGt5Ufbm36QwPv8z3h5Abpx z3GtM6BNy5V31APDuhaleXXiKquVm4q5pPc5YCBSFY0Zh8IrFlyrOKCuha9+L/aguCo9qhkDWAXQmHaQ7knN6f1gM4G6QwnAu/SPn8OotKs= X-Rspamd-Queue-Id: 4RS5fP6wRLz3Ggt X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US] In message , Konstantin Belousov writes: > On Fri, Aug 18, 2023 at 07:43:45AM -0700, Cy Schubert wrote: > > In message <202308181337.37IDbMwl051912@gitrepo.freebsd.org>, Konstantin > > Belous > > ov writes: > > > The branch main has been updated by kib: > > > > > > URL: https://cgit.FreeBSD.org/src/commit/?id=1384a0b940e87876d36d50ad5858 > 1c24 > > > dc642714 > > > > > > commit 1384a0b940e87876d36d50ad58581c24dc642714 > > > Author: Konstantin Belousov > > > AuthorDate: 2023-08-18 13:36:06 +0000 > > > Commit: Konstantin Belousov > > > CommitDate: 2023-08-18 13:37:16 +0000 > > > > > > kern/subr_unit.c: fix non-debug build > > > > > > Sponsored by: The FreeBSD Foundation > > > MFC after: 1 week > > > --- > > > sys/kern/subr_unit.c | 2 +- > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > diff --git a/sys/kern/subr_unit.c b/sys/kern/subr_unit.c > > > index 3d45a0c1c5cb..7a23f216d98e 100644 > > > --- a/sys/kern/subr_unit.c > > > +++ b/sys/kern/subr_unit.c > > > @@ -353,7 +353,7 @@ check_unrhdr(struct unrhdr *uh, int line) > > > struct unr *up; > > > struct unrb *ub; > > > int w; > > > - u_int y, z; > > > + u_int y __diagused, z __diagused; > > > > It still doesn't like it. > How do you build it? > Is it kernel? If yes, which kernel config? It's not in kernel. It's in tests. ===> tests/sys/kern (all) (cd /opt/src/git-src/tests/sys/kern && DEPENDFILE=.depend.coredump_phnum_he lper NO_SUBDIR=1 make -f /opt/src/git-src/tests/sys/kern/Makefile _RECURSING_PROGS=t PROG=coredump_phnum_helper ) (cd /opt/src/git-src/tests/sys/kern && DEPENDFILE=.depend.pdeathsig_helper NO_SUBDIR=1 make -f /opt/src/git-src/tests/sys/kern/Makefile _RECURSING_PROGS=t PROG=pdeathsig_helper ) (cd /opt/src/git-src/tests/sys/kern && DEPENDFILE=.depend.sendfile_helper NO_SUBDIR=1 make -f /opt/src/git-src/tests/sys/kern/Makefile _RECURSING_PROGS=t PROG=sendfile_helper ) (cd /opt/src/git-src/tests/sys/kern && DEPENDFILE=.depend.subr_unit_test NO_SUBDIR=1 make -f /opt/src/git-src/tests/sys/kern/Makefile _RECURSING_PROGS=t PROG=subr_unit_test ) rm -f .depend.subr_unit_test echo subr_unit_test.full: /export/obj/opt/src/git-src/amd64.amd64/tmp/usr/li b/libc.a >> .depend.subr_unit_test cc -target x86_64-unknown-freebsd14.0 --sysroot=/export/obj/opt/src/git-src/ amd64.amd64/tmp -B/export/obj/opt/src/git-src/amd64.amd64/tmp/usr/bin -O2 -pipe -pipe -fno-common -fPIE -g -gz=zlib -MD -MF.depend.subr_unit_test.s ubr_unit.o -MTsubr_unit.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wdate-time -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-parameter -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Qunused-arguments -Wno-missing-prototypes -c /opt/src/git-src/sys/kern/su br_unit.c -o subr_unit.o /opt/src/git-src/sys/kern/subr_unit.c:356:9: error: expected ';' at end of declaration u_int y __diagused, z __diagused; ^ ; /opt/src/git-src/sys/kern/subr_unit.c:359:2: error: use of undeclared identifier 'z' z = 0; ^ /opt/src/git-src/sys/kern/subr_unit.c:361:3: error: use of undeclared identifier 'z' z++; ^ /opt/src/git-src/sys/kern/subr_unit.c:367:4: error: use of undeclared identifier 'z' z++; ^ /opt/src/git-src/sys/kern/subr_unit.c:377:11: error: use of undeclared identifier 'z' KASSERT (z == uh->alloc, ^ /opt/src/git-src/sys/kern/subr_unit.c:379:17: error: use of undeclared identifier 'z' uh->alloc, z, line)); ^ 6 errors generated. *** Error code 1 Stop. make[6]: stopped in /opt/src/git-src/tests/sys/kern *** Error code 1 Stop. make[5]: stopped in /opt/src/git-src/tests/sys/kern *** Error code 1 Stop. make[4]: stopped in /opt/src/git-src/tests/sys *** Error code 1 Stop. make[3]: stopped in /opt/src/git-src/tests *** Error code 1 Stop. make[2]: stopped in /opt/src/git-src 277.70 real 126.62 user 65.55 sys *** Error code 1 Stop. make[1]: stopped in /opt/src/git-src *** Error code 1 Stop. make: stopped in /opt/src/git-src -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org e^(i*pi)+1=0 L@A