From nobody Sun Oct 02 13:12:29 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 4MgPX53x0Dz4dPwN for ; Sun, 2 Oct 2022 13:12:37 +0000 (UTC) (envelope-from melifaro@ipfw.ru) Received: from forward500j.mail.yandex.net (forward500j.mail.yandex.net [5.45.198.250]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4MgPX33CV8z3rvk for ; Sun, 2 Oct 2022 13:12:35 +0000 (UTC) (envelope-from melifaro@ipfw.ru) Received: from iva5-057a0d1fbbd8.qloud-c.yandex.net (iva5-057a0d1fbbd8.qloud-c.yandex.net [IPv6:2a02:6b8:c0c:7f1c:0:640:57a:d1f]) by forward500j.mail.yandex.net (Yandex) with ESMTP id 2A76A6CB653D; Sun, 2 Oct 2022 16:12:32 +0300 (MSK) Received: by iva5-057a0d1fbbd8.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id xxp1p8T9HS-CUiGYDsY; Sun, 02 Oct 2022 16:12:31 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfw.ru; s=mail; t=1664716351; bh=EwJgxWdkZzPb+tNQBREoCUzkb+dJA7YBnLzUkMVpQgM=; h=Message-Id:To:Date:References:Cc:In-Reply-To:From:Subject; b=MgSmtRFTsQXHkpHqi2O7bIqDI8Nfo6AJuFOT7Jw0P8do6SmYK6hxeeemwIC3YITDv x5eKmK7rgxoc2y+s+3u+blW+01YujItSe805zE16Fyo+HVEU4UwDIZi05V91wohw3+ bMpESFqBM1A0O+L/6Q7biGg9yj98kENwPVrWhfKQ= Content-Type: text/plain; charset=utf-8 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 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: Build Break? From: "Alexander V. Chernikov" In-Reply-To: Date: Sun, 2 Oct 2022 14:12:29 +0100 Cc: Freebsd current Content-Transfer-Encoding: quoted-printable Message-Id: <7F2A1941-C042-47FF-969C-3D993D56D088@ipfw.ru> References: To: Larry Rosenman X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Rspamd-Queue-Id: 4MgPX33CV8z3rvk X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ipfw.ru header.s=mail header.b=MgSmtRFT; dmarc=none; spf=pass (mx1.freebsd.org: domain of melifaro@ipfw.ru designates 5.45.198.250 as permitted sender) smtp.mailfrom=melifaro@ipfw.ru X-Spamd-Result: default: False [-2.10 / 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)[-0.998]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:5.45.198.0/23]; R_DKIM_ALLOW(-0.20)[ipfw.ru:s=mail]; RCVD_IN_DNSWL_LOW(-0.10)[5.45.198.250:from]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ARC_NA(0.00)[]; DMARC_NA(0.00)[ipfw.ru]; FREEFALL_USER(0.00)[melifaro]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; DKIM_TRACE(0.00)[ipfw.ru:+]; TO_DN_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:13238, ipnet:5.45.192.0/18, country:RU]; RWL_MAILSPIKE_POSSIBLE(0.00)[5.45.198.250:from] X-ThisMailContainsUnwantedMimeParts: N > On 1 Oct 2022, at 22:57, Larry Rosenman wrote: >=20 > --- all_subdir_nfscommon --- > Building = /usr/obj/usr/src/amd64.amd64/sys/LER-MINIMAL/modules/usr/src/sys/modules/n= fscommon/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/n= etgraph/deflate/offset.inc > --- all_subdir_netgraph/device --- > Building = /usr/obj/usr/src/amd64.amd64/sys/LER-MINIMAL/modules/usr/src/sys/modules/n= etgraph/device/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] > NLP_LOCK(nlp); That=E2=80=99s interesting. netlink_io.c includes sys/mutex.h which = defines mutex_lock() / mutex_unlock(). Could you share the diff between GENERIC and LER-MINIMAL? > ^ > /usr/src/sys/netlink/netlink_var.h:79:25: note: expanded from macro = 'NLP_LOCK' > #define NLP_LOCK(_nlp) mtx_lock(&((_nlp)->nl_lock)) > ^ > /usr/src/sys/netlink/netlink_io.c:159:2: error: implicit declaration = of function 'mtx_unlock' is invalid in C99 = [-Werror,-Wimplicit-function-declaration] > NLP_UNLOCK(nlp); > ^ > /usr/src/sys/netlink/netlink_var.h:80:26: note: expanded from macro = 'NLP_UNLOCK' > #define NLP_UNLOCK(_nlp) mtx_unlock(&((_nlp)->nl_lock)) > ^ > /usr/src/sys/netlink/netlink_io.c:159:2: note: did you mean = 'mtx_lock'? > /usr/src/sys/netlink/netlink_var.h:80:26: note: expanded from macro = 'NLP_UNLOCK' > #define NLP_UNLOCK(_nlp) mtx_unlock(&((_nlp)->nl_lock)) > ^ > /usr/src/sys/netlink/netlink_io.c:146:2: note: 'mtx_lock' declared = here > NLP_LOCK(nlp); > ^ > /usr/src/sys/netlink/netlink_var.h:79:25: note: expanded from macro = 'NLP_LOCK' > #define NLP_LOCK(_nlp) mtx_lock(&((_nlp)->nl_lock)) > ^ > /usr/src/sys/netlink/netlink_io.c:177:2: error: implicit declaration = of function 'mtx_lock' is invalid in C99 = [-Werror,-Wimplicit-function-declaration] > SOCKBUF_LOCK(sb); > ^ > /usr/src/sys/sys/sockbuf.h:187:28: note: expanded from macro = 'SOCKBUF_LOCK' > #define SOCKBUF_LOCK(_sb) mtx_lock(SOCKBUF_MTX(_sb)) > ^ > /usr/src/sys/netlink/netlink_io.c:189:2: error: implicit declaration = of function 'mtx_unlock' is invalid in C99 = [-Werror,-Wimplicit-function-declaration] > SOCKBUF_UNLOCK(sb); > ^ > /usr/src/sys/sys/sockbuf.h:189:30: note: expanded from macro = 'SOCKBUF_UNLOCK' > #define SOCKBUF_UNLOCK(_sb) mtx_unlock(SOCKBUF_MTX(_sb)) > ^ > /usr/src/sys/netlink/netlink_io.c:202:2: error: implicit declaration = of function 'mtx_lock' is invalid in C99 = [-Werror,-Wimplicit-function-declaration] > NLP_LOCK(nlp); > ^ > /usr/src/sys/netlink/netlink_var.h:79:25: note: expanded from macro = 'NLP_LOCK' > #define NLP_LOCK(_nlp) mtx_lock(&((_nlp)->nl_lock)) > ^ > /usr/src/sys/netlink/netlink_io.c:207:3: error: implicit declaration = of function 'mtx_unlock' is invalid in C99 = [-Werror,-Wimplicit-function-declaration] > NLP_UNLOCK(nlp); > ^ > /usr/src/sys/netlink/netlink_var.h:80:26: note: expanded from macro = 'NLP_UNLOCK' > #define NLP_UNLOCK(_nlp) mtx_unlock(&((_nlp)->nl_lock)) > ^ > /usr/src/sys/netlink/netlink_io.c:225:3: error: implicit declaration = of function 'mtx_unlock' is invalid in C99 = [-Werror,-Wimplicit-function-declaration] > SOCKBUF_UNLOCK(sb); > ^ > /usr/src/sys/sys/sockbuf.h:189:30: note: expanded from macro = 'SOCKBUF_UNLOCK' > #define SOCKBUF_UNLOCK(_sb) mtx_unlock(SOCKBUF_MTX(_sb)) > ^ > /usr/src/sys/netlink/netlink_io.c:232:2: error: implicit declaration = of function 'mtx_unlock' is invalid in C99 = [-Werror,-Wimplicit-function-declaration] > NLP_UNLOCK(nlp); > ^ > /usr/src/sys/netlink/netlink_var.h:80:26: note: expanded from macro = 'NLP_UNLOCK' > #define NLP_UNLOCK(_nlp) mtx_unlock(&((_nlp)->nl_lock)) > ^ > /usr/src/sys/netlink/netlink_io.c:281:2: error: implicit declaration = of function 'mtx_lock' is invalid in C99 = [-Werror,-Wimplicit-function-declaration] > NLP_LOCK(nlp); > ^ > /usr/src/sys/netlink/netlink_var.h:79:25: note: expanded from macro = 'NLP_LOCK' > #define NLP_LOCK(_nlp) mtx_lock(&((_nlp)->nl_lock)) > ^ > /usr/src/sys/netlink/netlink_io.c:299:2: error: implicit declaration = of function 'mtx_unlock' is invalid in C99 = [-Werror,-Wimplicit-function-declaration] > NLP_UNLOCK(nlp); > ^ > /usr/src/sys/netlink/netlink_var.h:80:26: note: expanded from macro = 'NLP_UNLOCK' > #define NLP_UNLOCK(_nlp) mtx_unlock(&((_nlp)->nl_lock)) > ^ > /usr/src/sys/netlink/netlink_io.c:354:2: error: implicit declaration = of function 'mtx_lock' is invalid in C99 = [-Werror,-Wimplicit-function-declaration] > NLP_LOCK(nlp); > ^ > /usr/src/sys/netlink/netlink_var.h:79:25: note: expanded from macro = 'NLP_LOCK' > #define NLP_LOCK(_nlp) mtx_lock(&((_nlp)->nl_lock)) > ^ > /usr/src/sys/netlink/netlink_io.c:357:3: error: implicit declaration = of function 'mtx_unlock' is invalid in C99 = [-Werror,-Wimplicit-function-declaration] > NLP_UNLOCK(nlp); > ^ > /usr/src/sys/netlink/netlink_var.h:80:26: note: expanded from macro = 'NLP_UNLOCK' > #define NLP_UNLOCK(_nlp) mtx_unlock(&((_nlp)->nl_lock)) > ^ > /usr/src/sys/netlink/netlink_io.c:369:3: error: implicit declaration = of function 'mtx_unlock' is invalid in C99 = [-Werror,-Wimplicit-function-declaration] > NLP_UNLOCK(nlp); > ^ > /usr/src/sys/netlink/netlink_var.h:80:26: note: expanded from macro = 'NLP_UNLOCK' > #define NLP_UNLOCK(_nlp) mtx_unlock(&((_nlp)->nl_lock)) > ^ > /usr/src/sys/netlink/netlink_io.c:395:2: error: implicit declaration = of function 'mtx_unlock' is invalid in C99 = [-Werror,-Wimplicit-function-declaration] > NLP_UNLOCK(nlp); > ^ > /usr/src/sys/netlink/netlink_var.h:80:26: note: expanded from macro = 'NLP_UNLOCK' > #define NLP_UNLOCK(_nlp) mtx_unlock(&((_nlp)->nl_lock)) > ^ > /usr/src/sys/netlink/netlink_io.c:519:3: error: implicit declaration = of function 'mtx_lock' is invalid in C99 = [-Werror,-Wimplicit-function-declaration] > NLP_LOCK(nlp); > ^ > /usr/src/sys/netlink/netlink_var.h:79:25: note: expanded from macro = 'NLP_LOCK' > #define NLP_LOCK(_nlp) mtx_lock(&((_nlp)->nl_lock)) > ^ > /usr/src/sys/netlink/netlink_io.c:521:3: error: implicit declaration = of function 'mtx_unlock' is invalid in C99 = [-Werror,-Wimplicit-function-declaration] > NLP_UNLOCK(nlp); > ^ > /usr/src/sys/netlink/netlink_var.h:80:26: note: expanded from macro = 'NLP_UNLOCK' > #define NLP_UNLOCK(_nlp) mtx_unlock(&((_nlp)->nl_lock)) > ^ > 16 errors generated. > --- all_subdir_netgraph --- > --- all_subdir_netgraph/device --- > --- i386 --- > i386 -> /usr/src/sys/i386/include > Building = /usr/obj/usr/src/amd64.amd64/sys/LER-MINIMAL/modules/usr/src/sys/modules/n= etgraph/device/vnode_if_newproto.h > --- all_subdir_netlink --- > *** [netlink_io.o] Error code 1 >=20 > make[4]: stopped in /usr/src/sys/modules/netlink > .ERROR_TARGET=3D'netlink_io.o' > = .ERROR_META_FILE=3D'/usr/obj/usr/src/amd64.amd64/sys/LER-MINIMAL/modules/u= sr/src/sys/modules/netlink/netlink_io.o.meta' > .MAKE.LEVEL=3D'4' > MAKEFILE=3D'' > .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes= verbose' > 5.79 real 30.04 user 9.35 sys >=20 > make[1]: stopped in /usr/src >=20 > make: stopped in /usr/src >=20 > ler in =F0=9F=8C=90 borg in src=F0=9F=94=92 on =EE=82=A0 = ler/freebsd-main-changes:main [=E2=87=A1] on =E2=98=81=EF=B8=8F = (us-east-1) took 1m56s > =E2=9D=AF >=20 > ler in =F0=9F=8C=90 borg in src=F0=9F=94=92 on =EE=82=A0 = ler/freebsd-main-changes:main [=E2=87=A1] on =E2=98=81=EF=B8=8F = (us-east-1) > =E2=9D=AF >=20 >=20 >=20 > --=20 > 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 >=20