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 CF7391382C5 for ; Sun, 28 Jun 2020 14:52:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B4603E0969; Sun, 28 Jun 2020 14:52:40 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 79BDBE0959 for ; Sun, 28 Jun 2020 14:52:40 +0000 (UTC) Date: Mon, 29 Jun 2020 02:52:29 +1200 From: Kent Fredric To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] RFC: Standard build environment variables Message-ID: <20200629025229.1aba405f@katipo2.lan> In-Reply-To: <91a59b26-94e1-9494-3f2c-ca75e8ff1426@gentoo.org> References: <91a59b26-94e1-9494-3f2c-ca75e8ff1426@gentoo.org> Organization: Gentoo X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; 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 X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/3KDmCF+yYBe_fYRZxau6ujF"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Archives-Salt: dc2512c5-0683-46dc-8d29-a5320d8ca9d0 X-Archives-Hash: 2af1ea62c2b3e1d2dbc692988135b410 --Sig_/3KDmCF+yYBe_fYRZxau6ujF Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 28 Jun 2020 08:18:23 -0400 Michael Orlitzky wrote: > With LD set to something libtooly in the > environment, the pari build fails. We can solve that by unsetting LD in > the ebuild, but for that to be The Right Thing To Do, we should be > expecting LD to contain something libtooly, and thus something > inappropriate to be passed to the pari build. >=20 > To avoid these issues, I suggest creating a list of "Gentoo environment > variables" in the devmanual with descriptions of how they should be used > and pointers to the references (for why we chose that meaning). That way > a user can export LD, for example, and know that it will be used how he > thinks it will be used. That LD problem is not unique to Pari, ftr. Its a problem in *all* Perl things that involve C parts. Because Perl code expects "LD" to be a "CCLD", and passes flags a CCLD would expect, which LD can't handle. --Sig_/3KDmCF+yYBe_fYRZxau6ujF Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEgdrME8Lrmai3DXYJda6SGagVg7UFAl74rq0ACgkQda6SGagV g7WrOw//acpNLrmqCGA2Rp42EBskZTWjsI0fsGZJrPjJL8u+eErriRFau4lAxWub Emtg1ROucSRrxfeeYMRB9p55NjFgzAVsGbHRKgjlAWHXFajY8V+yHKylOw3sPZwa OdyyjziTCELQ1Iv1BtFmNNwTDPDkYJuhFkHxab1tUxF17clJye61dvZS4kHsbfls y4lQmFZYX4lRcbzaIzXnyymetoDb/5EatXTrrLCejEl+Pc7h8vtZbUh3KTqEY3mi 6jmWDw9jYzxObsjDBEgHoh6zLTMG7Qz55+wDZOQOhqSrKjHyJ6lsxm/vVw+pfID+ V457MtGO+8oy5RAGpC+fbqrkkK+/9ldmOFuxjaQmFljwi/o7U3Nu9x4T8L/yQUHo 2u7LOcppBr4tDHXrlhHfk6qPE0cv+CyjAmp5rBvmiKtX3x/R1kn68PnFmZ2O7YjB YKV6zOHbIYR+pwY0C5P0GSJPx/6GuLvLO1gzmEWGbpI0cIj7g/QLv/1EWX9RMRnN g8/JZEvCM26pNZE65LICO92+OY6z1nZCj6YDtX82l8bkIDPl4cs/0+JRjko/26Vr 1vOzin78AfcQl1rmmRjHA6IQQRERAncLtfOSxIQg39BVJVbN1qKymW5ZMSUDWx8h nN1GMtxRp9yHl3nv+DOYSMi4DrJEgD77IVuRkZb8HSvUxtvwhQ0= =QB9U -----END PGP SIGNATURE----- --Sig_/3KDmCF+yYBe_fYRZxau6ujF--