From nobody Tue Dec 7 22:27:45 2021 X-Original-To: dev-commits-src-all@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 C2F6F18C404A; Tue, 7 Dec 2021 22:27:47 +0000 (UTC) (envelope-from se@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J7w0g3mZYz3mDc; Tue, 7 Dec 2021 22:27:47 +0000 (UTC) (envelope-from se@freebsd.org) Received: from [IPV6:2003:cd:5f1d:f700:f420:16b:af2:5eb4] (p200300cd5f1df700f420016b0af25eb4.dip0.t-ipconnect.de [IPv6:2003:cd:5f1d:f700:f420:16b:af2:5eb4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: se/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id CF5692CB04; Tue, 7 Dec 2021 22:27:46 +0000 (UTC) (envelope-from se@freebsd.org) Message-ID: <25cb3c71-84bd-d243-8cbd-56175348826c@freebsd.org> Date: Tue, 7 Dec 2021 23:27:45 +0100 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Subject: Re: git: 74e014dbfab5 - main - sys/_bitset.h: Fix fall-out from commit 5e04571cf3c Content-Language: en-US From: Stefan Esser To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org References: <202112071928.1B7JSvRI041858@gitrepo.freebsd.org> In-Reply-To: <202112071928.1B7JSvRI041858@gitrepo.freebsd.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------tIMOYHounKajd6RPXV3tokQH" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638916067; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=0FIlCGMkhBvcMO8OfYYB6H9YE5fc3bkzENIQFy161pw=; b=b4sk2kNL2A17HVVkZ3mfp1I1CRJZoQxhJCQ16Pj1qI9/rHlxus+BHGFl/3Vlk/gCcbeJ9U dq7+mOcHADuDeEO542UgkrQJ7pGrvHAlw3oHpJHRPuKcN7vb+Nn27Ku8HO+lyTW3ds76Qs RnkV6qnjfSPH/EQBE0dV/WPlvUAkWrNxloY3S9XKs05QreHR4JS/1pJgq7YMI4T0+glxXF rBaT55SoUwOhFwiTFF+EQYNJjv3G/7j3zS2GB6EtvtuhG+6tZikKFpZFK6cYHEMDobJZxj 1gf9vuUbFwX054VRMMZS/wwa73V9aSMQV4bZQYMyFUqeHHXG7E0iIdHxwx3v7Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638916067; a=rsa-sha256; cv=none; b=o8fLBwiVLQeZ0Z1qWZmJSLA3FVf8aJAFWSruJ3eYBGTVmGHE6zDFGo3dEmx5kHfMy8/xw1 M5/UprTQQav1c64+VPpshtnDjJJj0pqAs8RPRrKira2MWxz5x3kdKB4heANkqTye1VUE5k Tx8fV1yZyQzsZ1cuILCkXQmFyMxnjiT9Io1fCF0ElssBvuYeDyTAv2MxNsC5hAW1gSWkRY yJ1LfHVEZ+dwV4GB9+GWCFbOeSltbMFHENyMxNFaQzdSypNUQ95QQfWyyQpIxKyGZyKyBO iaIGfG8Fu4EPEc9QLM2LhRFbX2FpXZPBqkfQR+0FplgwPIZh7Xg35xotFIYAsQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------tIMOYHounKajd6RPXV3tokQH Content-Type: multipart/mixed; boundary="------------m0PvFOL5AiyZfB2rsh6Wo7Pw"; protected-headers="v1" From: Stefan Esser To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Message-ID: <25cb3c71-84bd-d243-8cbd-56175348826c@freebsd.org> Subject: Re: git: 74e014dbfab5 - main - sys/_bitset.h: Fix fall-out from commit 5e04571cf3c References: <202112071928.1B7JSvRI041858@gitrepo.freebsd.org> In-Reply-To: <202112071928.1B7JSvRI041858@gitrepo.freebsd.org> --------------m0PvFOL5AiyZfB2rsh6Wo7Pw Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am 07.12.21 um 20:28 schrieb Stefan E=C3=9Fer: > The branch main has been updated by se: >=20 > URL: https://cgit.FreeBSD.org/src/commit/?id=3D74e014dbfab5d64acb3376ba= 77d5d61c4abf27d5 >=20 > commit 74e014dbfab5d64acb3376ba77d5d61c4abf27d5 > Author: Konstantin Belousov > AuthorDate: 2021-12-07 19:15:30 +0000 > Commit: Stefan E=C3=9Fer > CommitDate: 2021-12-07 19:28:22 +0000 >=20 > sys/_bitset.h: Fix fall-out from commit 5e04571cf3c > =20 > The changes to the bitset macros allowed sched.h to be included int= o > userland programs without name space pollution due to BIT_* and > BITSET_* macros. > =20 > The definition of a global variable "bitset" had been overlooked. > This name space pollution caused a compile failure in print/miktex.= > =20 > This commit renames the bitset variable to __bitset with the same > mapping back to the bitset if _KERNEL or _WANT_FREEBSD_BITSET is > defined. > =20 > This fix has been suggested by kib. It has been tested to let the > build of the print/miktex port succeed and to not break buildworld.= > =20 > This commit shall be MFCed together with commit 5e04571cf3c. > =20 > Reported by: arrowd > MFC after: 1 month > --- > sys/sys/_bitset.h | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) >=20 > diff --git a/sys/sys/_bitset.h b/sys/sys/_bitset.h > index 1c167daf3f09..8ce63233389a 100644 > --- a/sys/sys/_bitset.h > +++ b/sys/sys/_bitset.h > @@ -61,11 +61,13 @@ struct _t { \ > * Define a default type that can be used while manually specifying si= ze > * to every call. > */ > -__BITSET_DEFINE(bitset, 1); > +__BITSET_DEFINE(__bitset, 1); > =20 > #if defined(_KERNEL) || defined(_WANT_FREEBSD_BITSET) > #define BITSET_DEFINE(_t, _s) __BITSET_DEFINE(_t, _s) > #define BITSET_DEFINE_VAR(_t) __BITSET_DEFINE_VAR(_t) > + > +#define bitset __bitset > #endif > =20 > #endif /* !_SYS__BITSET_H_ */ >=20 This commit caused a build failure in PowerPC64 specific kernel code. I'm testing an alternative with "make universe" and will revert this commit and replace it by one that works on all architectures as soon as the make job has finished. --------------m0PvFOL5AiyZfB2rsh6Wo7Pw-- --------------tIMOYHounKajd6RPXV3tokQH Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEo3HqZZwL7MgrcVMTR+u171r99UQFAmGv3+EFAwAAAAAACgkQR+u171r99UTb Sgf+NyXToV6+B8/UeU/LhlU7po8YPh3tV5/itBoWARGKD2c2x0ZLIDb83sF5GWZIAIF/+FBRYRWU HoOWKJII1BNYLKB3DWI42HFyd2i17ROabtq95xo8InYBsgiwG6HXWlC8jvER95bLDOesTsefFGiL X28EkWKgBy0c5r2v/4Q+rcL0OvsDzI77yffeLYOcP74+i0D37w6vDr0arSL9eVQ2TSHB1yjfmB9T vPlQ1D1YUoMIixPImSsY3L405IYA69tcyZLryjpZWE3xh0spjx6aV3PsbthEuEZe3R4H3lDlQefr 5fsc+tVhKY35TJRJIfquxe5HqMu5l4z4jOEnTsoQjg== =T9jq -----END PGP SIGNATURE----- --------------tIMOYHounKajd6RPXV3tokQH--