Gentoo Archives: gentoo-dev

From: Kent Fredric <kentnl@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC: Standard build environment variables
Date: Sun, 28 Jun 2020 14:52:43
Message-Id: 20200629025229.1aba405f@katipo2.lan
In Reply to: [gentoo-dev] RFC: Standard build environment variables by Michael Orlitzky
1 On Sun, 28 Jun 2020 08:18:23 -0400
2 Michael Orlitzky <mjo@g.o> wrote:
3
4 > With LD set to something libtooly in the
5 > environment, the pari build fails. We can solve that by unsetting LD in
6 > the ebuild, but for that to be The Right Thing To Do, we should be
7 > expecting LD to contain something libtooly, and thus something
8 > inappropriate to be passed to the pari build.
9 >
10 > To avoid these issues, I suggest creating a list of "Gentoo environment
11 > variables" in the devmanual with descriptions of how they should be used
12 > and pointers to the references (for why we chose that meaning). That way
13 > a user can export LD, for example, and know that it will be used how he
14 > thinks it will be used.
15
16 That LD problem is not unique to Pari, ftr. Its a problem in *all* Perl
17 things that involve C parts.
18
19 Because Perl code expects "LD" to be a "CCLD", and passes flags a CCLD
20 would expect, which LD can't handle.