1 |
make.defaults should be CHOST="powerpc64le-linux-gnu" |
2 |
make.conf should be CHOST="powerpc64le-unknown-linux-gnu" |
3 |
|
4 |
*Leno Hou* |
5 |
E-mail : lenohou@×××××.com |
6 |
|
7 |
|
8 |
On Wed, Oct 28, 2015 at 2:30 AM, Anthony G. Basile <blueness@g.o> |
9 |
wrote: |
10 |
|
11 |
> Hi everyone, |
12 |
> |
13 |
> I'm going to implement the following sometime today. I know this doesn't |
14 |
> match what Kevin, Leno and Linda have done, but it does mesh with our |
15 |
> standards in Gentoo and it should be easy for either their team or me to |
16 |
> change over the CHOST once we get the osuosl ppc64le slice. The profile |
17 |
> change should be transparent. |
18 |
> |
19 |
> Any last minute objections? |
20 |
> |
21 |
> |
22 |
> |
23 |
> On 10/23/15 6:58 PM, Anthony G. Basile wrote: |
24 |
> |
25 |
>> Hi Leno and ppc team, |
26 |
>> |
27 |
>> I received a pull request from Leno Hou on github. The pr is |
28 |
>> https://github.com/gentoo/gentoo/pull/271. There are a few issues we |
29 |
>> should discuss about that commit and I don't want to do it on github. |
30 |
>> Important discussions belong on gentoo infra. |
31 |
>> |
32 |
>> 1) The PR included a commit against eclass/golang-base.eclass. Obviously |
33 |
>> this can't go in that way since it affects all of gentoo, not just |
34 |
>> ppc64le. I can help Leno out with that commit later. |
35 |
>> |
36 |
>> 2) The CHOST name specified in the make.defaults should be |
37 |
>> CHOST="powerpc64le-linux-gnu". We should follow the rest of Gentoo's |
38 |
>> convention with respect to the tuple and use |
39 |
>> CHOST="powerpc64le-unknown-linux-gnu" This is identical to the big endian |
40 |
>> ppc64 CHOST with le after powerpc64. While the tuple doesn't necessarily |
41 |
>> need the -unknown- it is a de facto standard that we don't want to break in |
42 |
>> Gentoo because I'm sure there stuff that assumes it. |
43 |
>> |
44 |
>> 3) Leno is suggesting we add the usual directories |
45 |
>> |
46 |
>> profiles/arch/powerpc/ppc64/little-endian |
47 |
>> profiles/default/linux/powerpc/ppc64/13.0/64bit-userland/little-endian |
48 |
>> |
49 |
>> I'd like to change the first one to profiles/arch/powerpc/ppc64/64le to |
50 |
>> fit the naming of the other ppc64 subdirs. It should not affect his |
51 |
>> stage3. (The CHOST change will.) |
52 |
>> |
53 |
>> 4) I'm not at all happy with the stacking of the ppc64 profiles in |
54 |
>> general, but we may be stuck with it. Currently |
55 |
>> default/linux/powerpc/ppc64/13.0/64bit-userland gives |
56 |
>> |
57 |
>> /usr/portage/profiles/base |
58 |
>> /usr/portage/profiles/default/linux |
59 |
>> /usr/portage/profiles/arch/base |
60 |
>> /usr/portage/profiles/arch/powerpc |
61 |
>> /usr/portage/profiles/default/linux/powerpc |
62 |
>> /usr/portage/profiles/arch/base |
63 |
>> /usr/portage/profiles/arch/powerpc |
64 |
>> /usr/portage/profiles/arch/powerpc/ppc64 |
65 |
>> /usr/portage/profiles/default/linux/powerpc/ppc64 |
66 |
>> /usr/portage/profiles/releases |
67 |
>> /usr/portage/profiles/releases/13.0 |
68 |
>> /usr/portage/profiles/default/linux/powerpc/ppc64/13.0 |
69 |
>> /usr/portage/profiles/features/64bit-native |
70 |
>> /usr/portage/profiles/arch/base |
71 |
>> /usr/portage/profiles/arch/powerpc |
72 |
>> /usr/portage/profiles/arch/powerpc/ppc64 |
73 |
>> /usr/portage/profiles/arch/powerpc/ppc64/64ul |
74 |
>> /usr/portage/profiles/default/linux/powerpc/ppc64/13.0/64bit-userland |
75 |
>> |
76 |
>> The new ppc64le profile as Leno proposes it (module my small |
77 |
>> little-endian -> 64le change in arch) gives the same followed by the |
78 |
>> following 5 lines |
79 |
>> |
80 |
>> (above plus ...) |
81 |
>> /usr/portage/profiles/arch/base |
82 |
>> /usr/portage/profiles/arch/powerpc |
83 |
>> /usr/portage/profiles/arch/powerpc/ppc64 |
84 |
>> /usr/portage/profiles/arch/powerpc/ppc64/64el |
85 |
>> /usr/portage/profiles/default/linux/powerpc/ppc64/13.0/64bit-userland/little-endian |
86 |
>> |
87 |
>> |
88 |
>> Notice that the sequence arch/base -> arch/powerpc -> arch/powerpc/ppc64 |
89 |
>> is repeated 3 times. I think I will stick with Leno's suggestion for now |
90 |
>> since it extends what we already have, but at some point in the future, I'd |
91 |
>> like to refactor these profiles to avoid the repetitions. |
92 |
>> |
93 |
>> 5) We need a line in profiles.desc which reads |
94 |
>> |
95 |
>> ppc64 default/linux/powerpc/ppc64/13.0/64bit-userland/little-endian dev |
96 |
>> |
97 |
>> |
98 |
>> Any comments before I implement the above. Leno, you don't need a new |
99 |
>> pull request on github, just let me know if anything above is a bad idea. |
100 |
>> |
101 |
>> |
102 |
> |
103 |
> -- |
104 |
> Anthony G. Basile, Ph.D. |
105 |
> Gentoo Linux Developer [Hardened] |
106 |
> E-Mail : blueness@g.o |
107 |
> GnuPG FP : 1FED FAD9 D82C 52A5 3BAB DC79 9384 FA6E F52D 4BBA |
108 |
> GnuPG ID : F52D4BBA |
109 |
> |
110 |
> |