From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 08E8A15806E for ; Fri, 26 May 2023 05:25:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 816D5E086E; Fri, 26 May 2023 05:25:23 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2F77DE0869 for ; Fri, 26 May 2023 05:25:23 +0000 (UTC) Date: Fri, 26 May 2023 01:25:19 -0400 From: Ionen Wolkens To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [PATCH 1/4] profiles/use.desc: create USE=strip global USE flag Message-ID: Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <20230526040219.10852-1-ionen@gentoo.org> <20230526040219.10852-2-ionen@gentoo.org> <87h6rzznlg.fsf@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="69m6CW0+K3bebuKY" Content-Disposition: inline In-Reply-To: <87h6rzznlg.fsf@gentoo.org> X-Archives-Salt: e4ccbcc3-9de9-4ccc-aa13-5fe7411e796b X-Archives-Hash: 2cd35faac061df32aeb0646be0daddaf --69m6CW0+K3bebuKY Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 26, 2023 at 06:06:46AM +0100, Sam James wrote: >=20 > Ionen Wolkens writes: >=20 > > Primarily intended for use by linux-mod-r1.eclass, which needs > > a global IUSE to control stripping of kernel modules *before* > > signatures and compression (alternative would be to simply never > > strip, but that seem sub-optimal). > > > > Originally meant to be USE=3Dmodules-strip or similar, but this can > > have a more general use case when portage does not know how to > > strip special files properly while the ebuild does. > > > > Notable is mingw ebuilds (wine-*, dxvk, vkd3d-proton, mingw64-*). > > If portage uses x86_64-pc-linux-strip on, e.g. mingw64-toolchain's > > runtime libraries, then at least the 32bit toolchain ends up broken > > and cannot compile anything anymore. But then dostrip -x results in > > unstripped files while we can use x86_64-w64-mingw32-strip in the > > ebuild potentially saving 60MB+. Currently this is done through > > USE=3Ddebug, but does not feel fully fitting given this isn't about > > adding debugging paths (or even symbols, or anything) and is merely > > "do not strip". > > > > No USE in ::gentoo currently contain the word "strip" and defining > > it should not conflict. >=20 > This sounds fine (and a good idea), but we may want some indication > in the USE flag description (eh), a QA policy to indicate > it's only for special situations, or some note in the devmanual. >=20 > Can see people getting this wrong and trying to use it in ebuilds > which would work otherwise. But maybe the "special" in the USE > description is enough? This is what I had in mind when I used that word. Didn't want the description to sound like it's aimed at developers more than users, but still have something that prevents matching common strip usage. --=20 ionen --69m6CW0+K3bebuKY Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEx3SLh1HBoPy/yLVYskQGsLCsQzQFAmRwQr8ACgkQskQGsLCs QzQYAwf7BdxYev4XS0PrGeVHFu+seEwBwLgVV/Ch8pOdYTCy2eDSpoHQ6by24E/p axb7W66iWHmP7+6aR+BK9Kt+cIybg6qgFAFkL5cac+GSdR63rG1KZhirbtXtm4C4 in1DxcaZcJ5NHPkoqFk7YroaZ99vD9sBK7v36WEbRWfCYLmXmWvPXyiuIHEN2lRY Do47tVSZk3EyvKm0n3XGEuEHaAdv8WxSiiR/YMUYdDS1pNMXL639U3osPh9LpYy+ 1hcdJkHb7/R+n1mBLIv1jgKbYKAqieNdda204E3SyvryYI1t9FEkLlov0UDks7eP L91YAr6lFmsITjAnRYBHekbsHNKz9A== =1RT7 -----END PGP SIGNATURE----- --69m6CW0+K3bebuKY--