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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3F7E3139694 for ; Wed, 28 Jun 2017 22:29:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 733CA224117; Wed, 28 Jun 2017 22:29:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2AF022240E2 for ; Wed, 28 Jun 2017 22:29:16 +0000 (UTC) Received: from symphony.aura-online.co.uk (154.189.187.81.in-addr.arpa [81.187.189.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: chewi) by smtp.gentoo.org (Postfix) with ESMTPSA id A5954341739 for ; Wed, 28 Jun 2017 22:29:14 +0000 (UTC) Date: Wed, 28 Jun 2017 23:29:03 +0100 From: James Le Cuirot To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Profile-enforced big-endian USE flag Message-ID: <20170628232903.0230bc8e@symphony.aura-online.co.uk> In-Reply-To: References: <20170627234459.5bcb0d1b@symphony.aura-online.co.uk> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) 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 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/_KPb2N+TUd0mxy6+V_815BK"; protocol="application/pgp-signature" X-Archives-Salt: 3f20aa4d-0906-493b-ab13-151921fb67ee X-Archives-Hash: 72d52f10467f2dee333f0bc3a08551db --Sig_/_KPb2N+TUd0mxy6+V_815BK Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 28 Jun 2017 17:52:26 -0400 Mike Gilbert wrote: > On Tue, Jun 27, 2017 at 6:44 PM, James Le Cuirot wrote: > > I am therefore proposing a new global big-endian flag. This could be > > masked by default and unmasked + forced in the relevant profiles under > > arch. I will apply this according to the mapping defined in tc-endian of > > toolchain-funcs.eclass. =20 I've just been putting the patch together. I made it slightly simpler by masking *and* forcing it by default so that it only needs to be unmasked were necessary. > A possible alternative would be to create a new USE_EXPAND variable > for this. That would allow for easier expansion in case we ever > support something other than big/little endian machines. That way madness lies? Wikipedia talks about middle-endian as being the catch all for other random orderings that have appeared over the years but I don't think any of them were used on a system-wide basis. I can't imagine Linux ever supporting such a thing. Unless you're talking about dealing with soft vs hard float here too? --=20 James Le Cuirot (chewi) Gentoo Linux Developer --Sig_/_KPb2N+TUd0mxy6+V_815BK Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQKTBAEBCgB9FiEEUo3mvYaRpDkf2i7UIcYyEpxtfeQFAllULa9fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDUy OERFNkJEODY5MUE0MzkxRkRBMkVENDIxQzYzMjEyOUM2RDdERTQACgkQIcYyEpxt feTGmRAAogSBKjaUH/IaCTPGwrT2dprJmOt66j9twE9sS+2rXSQ/bn1jSsyyAQpF S8aVf9bI1wHiq76y7LazsrJkVtdzW0iLpUzqEFSUHzuQXdlXT9d7xr0TYF25bzi9 twf5365+SVQtY5HLJHixZdB20Y97kRIATDB9Yyw9ywtCiJOkXVOXXa1pvQSNH1Xf VpEmjl9Zkkt0Qi6SaOuXnmGxo3I0GzdwfG3nGlmNCLVuRCKNPrlTEi9Cv+A117Z1 uacwfugabJCbAsrGqhvoABdxXmtxSkmAZ8arDtJb0LhinYmt8+DnRlFXvKcJxTbF KJVQ1i3Ui/+OyyMhH2bk7gfSOZdejYSOKXuj2fzqLAEIrm85CyF8FrscneeFlyFI r08QfIzmgD6M4w7GGdXmLJvPjCHzT47if5Ze39lm7RhH5MUXQCVp9/kmuW57vByc No3gYTg+STH7b64L0FtFCWj56NXMyQFiLCcgJzKI2E7H/qbWWauTdujAJ90i2yf/ 7O1mySymxCEJ5KdF15+3EG+jXfQ/mR0nQ7fwhLIHHXfzNxD1+uy4/RDzyHJKACAg WgZzmFp6oeTkMtaa9MoPuSUk6hZZ2rEL7r/waBWrMMEeAuQYKwKElvtENHFfVub3 QsJk0dK7/f55mSVXgLf7SlbajhjCT2YP0PuFrwoLBhktp8T52uo= =t5+t -----END PGP SIGNATURE----- --Sig_/_KPb2N+TUd0mxy6+V_815BK--