* [gentoo-powerpc] Re: RFC: new profiles for ppc64le
[not found] ` <562FC2AB.1000405@gentoo.org>
@ 2015-10-28 4:46 ` Leno Hou
0 siblings, 0 replies; 3+ messages in thread
From: Leno Hou @ 2015-10-28 4:46 UTC (permalink / raw
To: Anthony G. Basile; +Cc: gentoo-powerpc, Zhao Kevin, Linda Jiang
[-- Attachment #1: Type: text/plain, Size: 4191 bytes --]
make.defaults should be CHOST="powerpc64le-linux-gnu"
make.conf should be CHOST="powerpc64le-unknown-linux-gnu"
*Leno Hou*
E-mail : lenohou@gmail.com
On Wed, Oct 28, 2015 at 2:30 AM, Anthony G. Basile <blueness@gentoo.org>
wrote:
> Hi everyone,
>
> I'm going to implement the following sometime today. I know this doesn't
> match what Kevin, Leno and Linda have done, but it does mesh with our
> standards in Gentoo and it should be easy for either their team or me to
> change over the CHOST once we get the osuosl ppc64le slice. The profile
> change should be transparent.
>
> Any last minute objections?
>
>
>
> On 10/23/15 6:58 PM, Anthony G. Basile wrote:
>
>> Hi Leno and ppc team,
>>
>> I received a pull request from Leno Hou on github. The pr is
>> https://github.com/gentoo/gentoo/pull/271. There are a few issues we
>> should discuss about that commit and I don't want to do it on github.
>> Important discussions belong on gentoo infra.
>>
>> 1) The PR included a commit against eclass/golang-base.eclass. Obviously
>> this can't go in that way since it affects all of gentoo, not just
>> ppc64le. I can help Leno out with that commit later.
>>
>> 2) The CHOST name specified in the make.defaults should be
>> CHOST="powerpc64le-linux-gnu". We should follow the rest of Gentoo's
>> convention with respect to the tuple and use
>> CHOST="powerpc64le-unknown-linux-gnu" This is identical to the big endian
>> ppc64 CHOST with le after powerpc64. While the tuple doesn't necessarily
>> need the -unknown- it is a de facto standard that we don't want to break in
>> Gentoo because I'm sure there stuff that assumes it.
>>
>> 3) Leno is suggesting we add the usual directories
>>
>> profiles/arch/powerpc/ppc64/little-endian
>> profiles/default/linux/powerpc/ppc64/13.0/64bit-userland/little-endian
>>
>> I'd like to change the first one to profiles/arch/powerpc/ppc64/64le to
>> fit the naming of the other ppc64 subdirs. It should not affect his
>> stage3. (The CHOST change will.)
>>
>> 4) I'm not at all happy with the stacking of the ppc64 profiles in
>> general, but we may be stuck with it. Currently
>> default/linux/powerpc/ppc64/13.0/64bit-userland gives
>>
>> /usr/portage/profiles/base
>> /usr/portage/profiles/default/linux
>> /usr/portage/profiles/arch/base
>> /usr/portage/profiles/arch/powerpc
>> /usr/portage/profiles/default/linux/powerpc
>> /usr/portage/profiles/arch/base
>> /usr/portage/profiles/arch/powerpc
>> /usr/portage/profiles/arch/powerpc/ppc64
>> /usr/portage/profiles/default/linux/powerpc/ppc64
>> /usr/portage/profiles/releases
>> /usr/portage/profiles/releases/13.0
>> /usr/portage/profiles/default/linux/powerpc/ppc64/13.0
>> /usr/portage/profiles/features/64bit-native
>> /usr/portage/profiles/arch/base
>> /usr/portage/profiles/arch/powerpc
>> /usr/portage/profiles/arch/powerpc/ppc64
>> /usr/portage/profiles/arch/powerpc/ppc64/64ul
>> /usr/portage/profiles/default/linux/powerpc/ppc64/13.0/64bit-userland
>>
>> The new ppc64le profile as Leno proposes it (module my small
>> little-endian -> 64le change in arch) gives the same followed by the
>> following 5 lines
>>
>> (above plus ...)
>> /usr/portage/profiles/arch/base
>> /usr/portage/profiles/arch/powerpc
>> /usr/portage/profiles/arch/powerpc/ppc64
>> /usr/portage/profiles/arch/powerpc/ppc64/64el
>> /usr/portage/profiles/default/linux/powerpc/ppc64/13.0/64bit-userland/little-endian
>>
>>
>> Notice that the sequence arch/base -> arch/powerpc -> arch/powerpc/ppc64
>> is repeated 3 times. I think I will stick with Leno's suggestion for now
>> since it extends what we already have, but at some point in the future, I'd
>> like to refactor these profiles to avoid the repetitions.
>>
>> 5) We need a line in profiles.desc which reads
>>
>> ppc64 default/linux/powerpc/ppc64/13.0/64bit-userland/little-endian dev
>>
>>
>> Any comments before I implement the above. Leno, you don't need a new
>> pull request on github, just let me know if anything above is a bad idea.
>>
>>
>
> --
> Anthony G. Basile, Ph.D.
> Gentoo Linux Developer [Hardened]
> E-Mail : blueness@gentoo.org
> GnuPG FP : 1FED FAD9 D82C 52A5 3BAB DC79 9384 FA6E F52D 4BBA
> GnuPG ID : F52D4BBA
>
>
[-- Attachment #2: Type: text/html, Size: 5285 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread