* [gentoo-dev] Introduce ppc64le architecture into gentoo ! please share your comments @ 2015-08-11 9:22 Leno Hou 2015-08-11 9:49 ` James Le Cuirot 0 siblings, 1 reply; 33+ messages in thread From: Leno Hou @ 2015-08-11 9:22 UTC (permalink / raw To: gentoo-dev, gentoo-powerpc [-- Attachment #1: Type: text/plain, Size: 731 bytes --] Greetings ! Any Ideas/steps of how to porting gentoo on ppc64le architecture? Is it that we should add 'ppc64le' keyword to portage ? As some of you might know, Ubuntu has been introduced in support of ppc64le. <http://www.ubuntu.com/download/server/power8> ! It's just as it sounds ppc64( 64bit only ) but little endian. I've been made basic chroot environment in my Ubuntu 14.04 ppc64le manually, the packages was built and you can see here for detail: https://bpaste.net/show/e99035777057 And another way how to porting is: https://wiki.gentoo.org/wiki/Porting Please let me know forward/steps to port gentoo on ppc64le. Appreciated your thoughts, comments and efforts on it ~~~ Leno Hou E-mail: lenohou@gmail.com [-- Attachment #2: Type: text/html, Size: 1141 bytes --] ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-dev] Introduce ppc64le architecture into gentoo ! please share your comments 2015-08-11 9:22 [gentoo-dev] Introduce ppc64le architecture into gentoo ! please share your comments Leno Hou @ 2015-08-11 9:49 ` James Le Cuirot 2015-08-11 10:11 ` Leno Hou 2015-08-12 3:50 ` Mike Frysinger 0 siblings, 2 replies; 33+ messages in thread From: James Le Cuirot @ 2015-08-11 9:49 UTC (permalink / raw To: Leno Hou; +Cc: gentoo-dev, gentoo-powerpc On Tue, 11 Aug 2015 17:22:21 +0800 Leno Hou <lenohou@gmail.com> wrote: > Please let me know forward/steps to port gentoo on ppc64le. I'm not on the ppc team but I do some ppc(64) testing for Java packages. Although these are relatively well-maintained keywords overall, I think the team would struggle to cope with an additional one. It's also important to note that while ppc and ppc64 can be tested on the same hardware, I think ppc64le would require different hardware? If ppc64le does become popular then I would suggest that we drop 32-bit ppc first. Others may disagree though. :) -- James Le Cuirot (chewi) Gentoo Linux Developer ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-dev] Introduce ppc64le architecture into gentoo ! please share your comments 2015-08-11 9:49 ` James Le Cuirot @ 2015-08-11 10:11 ` Leno Hou 2015-08-11 14:33 ` Ian Stakenvicius 2015-08-12 3:50 ` Mike Frysinger 1 sibling, 1 reply; 33+ messages in thread From: Leno Hou @ 2015-08-11 10:11 UTC (permalink / raw To: James Le Cuirot; +Cc: gentoo-dev, gentoo-powerpc [-- Attachment #1: Type: text/plain, Size: 1104 bytes --] I think ppc64le would become popular, https://en.wikipedia.org/wiki/Ppc64. 1. enable porting x86 Linux based application with minimal effort. 2. Some PowerPC user, little endian apparently feels cheap, wrong, and PCish. 3. Other distrbutions like Ubuntu, Redhat and SUSE already support little endian in powerpc. *Leno Hou* E-mail : lenohou@gmail.com On Tue, Aug 11, 2015 at 5:49 PM, James Le Cuirot <chewi@gentoo.org> wrote: > On Tue, 11 Aug 2015 17:22:21 +0800 > Leno Hou <lenohou@gmail.com> wrote: > > > Please let me know forward/steps to port gentoo on ppc64le. > > I'm not on the ppc team but I do some ppc(64) testing for Java > packages. Although these are relatively well-maintained keywords > overall, I think the team would struggle to cope with an additional > one. It's also important to note that while ppc and ppc64 can be tested > on the same hardware, I think ppc64le would require different hardware? > If ppc64le does become popular then I would suggest that we drop 32-bit > ppc first. Others may disagree though. :) > > -- > James Le Cuirot (chewi) > Gentoo Linux Developer > [-- Attachment #2: Type: text/html, Size: 1903 bytes --] ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-dev] Introduce ppc64le architecture into gentoo ! please share your comments 2015-08-11 10:11 ` Leno Hou @ 2015-08-11 14:33 ` Ian Stakenvicius 2015-08-11 14:44 ` James Le Cuirot 2015-08-11 14:45 ` Anthony G. Basile 0 siblings, 2 replies; 33+ messages in thread From: Ian Stakenvicius @ 2015-08-11 14:33 UTC (permalink / raw To: gentoo-dev -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 11/08/15 06:11 AM, Leno Hou wrote: > I think ppc64le would become popular, > https://en.wikipedia.org/wiki/Ppc64. > > 1. enable porting x86 Linux based application with minimal effort. > 2. Some PowerPC user, little endian apparently feels cheap, wrong, > and PCish. 3. Other distrbutions like Ubuntu, Redhat and SUSE > already support little endian in powerpc. > > In terms of the codepaths, what's different between ppc64le vs ppc64, and ppc64le vs amd64 ? Obviously kernels will differ, but in terms of C/C++/other compiled source code what needs to change? If all this needs is its own profile for a CHOST/CBUILD specification and it can leverage an existing keyword, then this should be rather simple to implement yes? -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREIAAYFAlXKB7UACgkQAJxUfCtlWe1sbQD+KcbYpfo56GrLIVlFyw2iXbMB ZOWzuvyI8SVq/DY0SQMBAJgDIjCza8QyUgWEtq2/g5Yu+uWiCibf2ouMeNAOkQ33 =YoUg -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-dev] Introduce ppc64le architecture into gentoo ! please share your comments 2015-08-11 14:33 ` Ian Stakenvicius @ 2015-08-11 14:44 ` James Le Cuirot 2015-08-11 14:45 ` Anthony G. Basile 1 sibling, 0 replies; 33+ messages in thread From: James Le Cuirot @ 2015-08-11 14:44 UTC (permalink / raw To: gentoo-dev On Tue, 11 Aug 2015 10:33:26 -0400 Ian Stakenvicius <axs@gentoo.org> wrote: > On 11/08/15 06:11 AM, Leno Hou wrote: > > I think ppc64le would become popular, > > https://en.wikipedia.org/wiki/Ppc64. > > > > 1. enable porting x86 Linux based application with minimal effort. > > 2. Some PowerPC user, little endian apparently feels cheap, wrong, > > and PCish. 3. Other distrbutions like Ubuntu, Redhat and SUSE > > already support little endian in powerpc. > > > > > > In terms of the codepaths, what's different between ppc64le vs ppc64, > and ppc64le vs amd64 ? Obviously kernels will differ, but in terms of > C/C++/other compiled source code what needs to change? > > If all this needs is its own profile for a CHOST/CBUILD specification > and it can leverage an existing keyword, then this should be rather > simple to implement yes? I spoke to blueness in #gentoo-powerpc and he basically said the same thing, that the existing ppc64 keyword should suffice. He noted that we do not have different keywords for every mips variant because that would be a lot of keywords! Stage 3 tarballs (possibly cross-compiled) could be provided and some initial work could be done to ensure they actually function but beyond that, endian issues would simply be dealt with as they are reported. -- James Le Cuirot (chewi) Gentoo Linux Developer ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-dev] Introduce ppc64le architecture into gentoo ! please share your comments 2015-08-11 14:33 ` Ian Stakenvicius 2015-08-11 14:44 ` James Le Cuirot @ 2015-08-11 14:45 ` Anthony G. Basile 2015-08-12 3:50 ` Mike Frysinger 1 sibling, 1 reply; 33+ messages in thread From: Anthony G. Basile @ 2015-08-11 14:45 UTC (permalink / raw To: gentoo-dev On 8/11/15 10:33 AM, Ian Stakenvicius wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > On 11/08/15 06:11 AM, Leno Hou wrote: >> I think ppc64le would become popular, >> https://en.wikipedia.org/wiki/Ppc64. >> >> 1. enable porting x86 Linux based application with minimal effort. >> 2. Some PowerPC user, little endian apparently feels cheap, wrong, >> and PCish. 3. Other distrbutions like Ubuntu, Redhat and SUSE >> already support little endian in powerpc. >> >> > In terms of the codepaths, what's different between ppc64le vs ppc64, > and ppc64le vs amd64 ? Obviously kernels will differ, but in terms of > C/C++/other compiled source code what needs to change? > > If all this needs is its own profile for a CHOST/CBUILD specification > and it can leverage an existing keyword, then this should be rather > simple to implement yes? We would leverage this on ppc64 keyword. It is a bit dangerous to claim that a pkg stable on ppc64 is stable on ppc64le, but we would live with that risk. Ideally you should test on both. The situation is analogous to mips where there are many different ISAs and both be and le. It is one of the reasons mips is hard to move back into stable. But having stable keywords is really nice when it comes to building and maintaining stages and keeping base pkgs versions in sync with the other arches. For this reason, I would even been in favor of restoring stable mips with the understanding that "stable" carries something of a risk when crossing the be/le boundry, or the mips I vs mips III, or 32 vs 64, etc. Having said that, what would break? Assembly and other code that makes assumption about byte order. There is some out there, but not much. We'll deal with it when we hit it. Any of the heavy duty stuff, like syscall interfaces or setjmp/longjmp etc, should be relegated to the libc and kernel. > > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2 > > iF4EAREIAAYFAlXKB7UACgkQAJxUfCtlWe1sbQD+KcbYpfo56GrLIVlFyw2iXbMB > ZOWzuvyI8SVq/DY0SQMBAJgDIjCza8QyUgWEtq2/g5Yu+uWiCibf2ouMeNAOkQ33 > =YoUg > -----END PGP SIGNATURE----- > -- 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 ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-dev] Introduce ppc64le architecture into gentoo ! please share your comments 2015-08-11 14:45 ` Anthony G. Basile @ 2015-08-12 3:50 ` Mike Frysinger 2015-08-12 7:20 ` Leno Hou 0 siblings, 1 reply; 33+ messages in thread From: Mike Frysinger @ 2015-08-12 3:50 UTC (permalink / raw To: gentoo-dev [-- Attachment #1: Type: text/plain, Size: 2013 bytes --] On 11 Aug 2015 10:45, Anthony G. Basile wrote: > On 8/11/15 10:33 AM, Ian Stakenvicius wrote: > > On 11/08/15 06:11 AM, Leno Hou wrote: > >> I think ppc64le would become popular, > >> https://en.wikipedia.org/wiki/Ppc64. > >> > >> 1. enable porting x86 Linux based application with minimal effort. > >> 2. Some PowerPC user, little endian apparently feels cheap, wrong, > >> and PCish. 3. Other distrbutions like Ubuntu, Redhat and SUSE > >> already support little endian in powerpc. > > > > In terms of the codepaths, what's different between ppc64le vs ppc64, > > and ppc64le vs amd64 ? Obviously kernels will differ, but in terms of > > C/C++/other compiled source code what needs to change? > > > > If all this needs is its own profile for a CHOST/CBUILD specification > > and it can leverage an existing keyword, then this should be rather > > simple to implement yes? > > We would leverage this on ppc64 keyword. It is a bit dangerous to claim > that a pkg stable on ppc64 is stable on ppc64le, but we would live with > that risk. Ideally you should test on both. The situation is analogous > to mips where there are many different ISAs and both be and le. It is > one of the reasons mips is hard to move back into stable. But having > stable keywords is really nice when it comes to building and maintaining > stages and keeping base pkgs versions in sync with the other arches. > For this reason, I would even been in favor of restoring stable mips > with the understanding that "stable" carries something of a risk when > crossing the be/le boundry, or the mips I vs mips III, or 32 vs 64, etc. yes, we should just re-use the existing KEYWORDS and control the endian differences via profiles. it's how other arches (mips, ppc, arm, arm64) are handled currently. note: people have already built Gentoo for ppc little endian, but that tends to only be used in embedded setups, so the builds don't get published like other arches as stages. -mike [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-dev] Introduce ppc64le architecture into gentoo ! please share your comments 2015-08-12 3:50 ` Mike Frysinger @ 2015-08-12 7:20 ` Leno Hou 2015-08-12 7:47 ` Mike Frysinger 0 siblings, 1 reply; 33+ messages in thread From: Leno Hou @ 2015-08-12 7:20 UTC (permalink / raw To: gentoo-dev, gentoo-powerpc, Anthony G. Basile, Mike Frysinger [-- Attachment #1: Type: text/plain, Size: 3258 bytes --] On Wed, Aug 12, 2015 at 11:50 AM, Mike Frysinger <vapier@gentoo.org> wrote: > On 11 Aug 2015 10:45, Anthony G. Basile wrote: > > On 8/11/15 10:33 AM, Ian Stakenvicius wrote: > > > On 11/08/15 06:11 AM, Leno Hou wrote: > > >> I think ppc64le would become popular, > > >> https://en.wikipedia.org/wiki/Ppc64. > > >> > > >> 1. enable porting x86 Linux based application with minimal effort. > > >> 2. Some PowerPC user, little endian apparently feels cheap, wrong, > > >> and PCish. 3. Other distrbutions like Ubuntu, Redhat and SUSE > > >> already support little endian in powerpc. > > > > > > In terms of the codepaths, what's different between ppc64le vs ppc64, > > > and ppc64le vs amd64 ? Obviously kernels will differ, but in terms of > > > C/C++/other compiled source code what needs to change? > > > > > > If all this needs is its own profile for a CHOST/CBUILD specification > > > and it can leverage an existing keyword, then this should be rather > > > simple to implement yes? > > > > We would leverage this on ppc64 keyword. It is a bit dangerous to claim > > that a pkg stable on ppc64 is stable on ppc64le, but we would live with > > that risk. Ideally you should test on both. The situation is analogous > > to mips where there are many different ISAs and both be and le. It is > > one of the reasons mips is hard to move back into stable. But having > > stable keywords is really nice when it comes to building and maintaining > > stages and keeping base pkgs versions in sync with the other arches. > > For this reason, I would even been in favor of restoring stable mips > > with the understanding that "stable" carries something of a risk when > > crossing the be/le boundry, or the mips I vs mips III, or 32 vs 64, etc. > > yes, we should just re-use the existing KEYWORDS and control the endian > differences via profiles. it's how other arches (mips, ppc, arm, arm64) > are handled currently. > > note: people have already built Gentoo for ppc little endian, but that > tends to only be used in embedded setups, so the builds don't get published > like other arches as stages. -mike > 1. I have successfully complied ppc64le chroot environment manually. General Steps that omitted modify USE flag are here. https://docs.google.com/document/d/1zGO5Gvu4DGPX7Pn70q5vbW_uF___4h8_pIpOtoOEdnY/edit?usp=sharing 2. How to control endian difference via profiles ? i.e. *How to get ppc64le as a full stage/profile along side ppc64* ? Could you give me in detail ? 3. ppc64 already have stage3, why ppc64le tends to only be used in embedded setups ? If embedded setups, please let me know any forward/ steps . http://distfiles.gentoo.org/releases/ppc/autobuilds/current-iso/ 4. I would like become a developer of porting gentoo on ppc64le. Anyone could help/mentor me to join this project ? https://wiki.gentoo.org/wiki/Project:PowerPC appreciated your assistance and help. 5. https://wiki.gentoo.org/wiki/Porting The Section 'Converting to Gentoo' needs to be updated. From portage-2.2.20 on, please download portage and install it by 'python setup.py install' **Most importantly, Any Ideas/steps of how to porting gentoo on ppc64le architecture?** Leno Hou E-mail: lenohou@gmail.com [-- Attachment #2: Type: text/html, Size: 5260 bytes --] ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-dev] Introduce ppc64le architecture into gentoo ! please share your comments 2015-08-12 7:20 ` Leno Hou @ 2015-08-12 7:47 ` Mike Frysinger 2015-08-12 8:30 ` Anthony G. Basile ` (3 more replies) 0 siblings, 4 replies; 33+ messages in thread From: Mike Frysinger @ 2015-08-12 7:47 UTC (permalink / raw To: Leno Hou; +Cc: gentoo-dev, gentoo-powerpc, Anthony G. Basile [-- Attachment #1: Type: text/plain, Size: 1716 bytes --] On 12 Aug 2015 15:20, Leno Hou wrote: > 2. How to control endian difference via profiles ? i.e. *How to get > ppc64le as a full stage/profile along side ppc64* ? > Could you give me in detail ? you probably want to create a new profile dir: profiles/arch/powerpc/ppc64/little-endian/ then add a make.defaults file with the right CHOST defaults. as we find packages that have problems on little endian, that provides you a safe space to mask features too. then create a new target for linux users: profiles/default/linux/powerpc/ppc64/13.0/64bit-userland/little-endian/ that'll inherit the arch/powerpc/ppc64/little-endian parent > 3. ppc64 already have stage3, why ppc64le tends to only be used in > embedded setups ? i said "ppc little endian", not "ppc64le". historically speaking, ppc64le hasn't been a thing, and the only people doing ppc little endian are 32bit embedded users. that doesn't mean we can't make stages/iso for both. > 4. I would like become a developer of porting gentoo on ppc64le. Anyone > could help/mentor me to join this project ? ideally someone on the ppc side would pick you up, but i think they've been a bit of a skeleton team of late. so if need be, i can help you here. > 5. https://wiki.gentoo.org/wiki/Porting The Section 'Converting to > Gentoo' needs to be updated. > From portage-2.2.20 on, please download portage and install it by > 'python setup.py install' you mean my bootstrap-portage script ? > **Most importantly, Any Ideas/steps of how to porting gentoo on ppc64le > architecture?** do you have hardware ? then it's simply a matter of booting Gentoo in it and filing/fixing bugs :). -mike [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-dev] Introduce ppc64le architecture into gentoo ! please share your comments 2015-08-12 7:47 ` Mike Frysinger @ 2015-08-12 8:30 ` Anthony G. Basile 2015-09-11 12:01 ` Leno Hou 2015-09-17 7:06 ` Leno Hou 2015-08-12 9:46 ` Shuai Zhao ` (2 subsequent siblings) 3 siblings, 2 replies; 33+ messages in thread From: Anthony G. Basile @ 2015-08-12 8:30 UTC (permalink / raw To: gentoo-dev On 8/12/15 3:47 AM, Mike Frysinger wrote: > >> 4. I would like become a developer of porting gentoo on ppc64le. Anyone >> could help/mentor me to join this project ? > ideally someone on the ppc side would pick you up, but i think they've been > a bit of a skeleton team of late. so if need be, i can help you here. I can help out here. >> **Most importantly, Any Ideas/steps of how to porting gentoo on ppc64le >> architecture?** > do you have hardware ? then it's simply a matter of booting Gentoo in it and > filing/fixing bugs :). > -mike We should also start building stage3s. -- 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 ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-dev] Introduce ppc64le architecture into gentoo ! please share your comments 2015-08-12 8:30 ` Anthony G. Basile @ 2015-09-11 12:01 ` Leno Hou 2015-09-11 14:18 ` Ian Stakenvicius ` (3 more replies) 2015-09-17 7:06 ` Leno Hou 1 sibling, 4 replies; 33+ messages in thread From: Leno Hou @ 2015-09-11 12:01 UTC (permalink / raw To: gentoo-dev, gentoo-powerpc, Anthony G. Basile, Mike Frysinger [-- Attachment #1: Type: text/plain, Size: 2017 bytes --] On Wed, Aug 12, 2015 at 4:30 PM, Anthony G. Basile <blueness@gentoo.org> wrote: > On 8/12/15 3:47 AM, Mike Frysinger wrote: > >> >> 4. I would like become a developer of porting gentoo on ppc64le. Anyone >>> could help/mentor me to join this project ? >>> >> ideally someone on the ppc side would pick you up, but i think they've >> been >> a bit of a skeleton team of late. so if need be, i can help you here. >> > > I can help out here. See in my mail > > > **Most importantly, Any Ideas/steps of how to porting gentoo on ppc64le >>> architecture?** >>> >> do you have hardware ? then it's simply a matter of booting Gentoo in it >> and >> filing/fixing bugs :). >> -mike >> > We should also start building stage3s. > > > -- > 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 > > > Appreciated your efforts and comments. 1. We've successfully compiled stage 3 for ppc64le. The stage 3 covers most useful functionalities: - GNU tool chains. e.g. automake, autoconf, gcc & glibc. - Normally use Portage, e.g. emerge, ebuild & python - Normally chroot in this stage 3. - Not included linux kernel & bootloader yet. 2. We believe to make Gentoo support ppc64le, we still need to compile kernel and bootloader - Which version of kernel provided by Gentoo would you suggest us to use? As to Ubuntu, there will be many patches to make the kernel workable, so how to patch our Gentoo kernel to make it work for ppc64le? - Which version of grub suitable for ppc64le ? Is there any patches to ppc64le grub ? 3. When the gentoo we make out workable on ppc64le, we would like to know the process of making it officially supported by Gentoo community - For each arch, do we have a subteam to verify the packages? If so, how to reach these guys? - For hardware environment, does anyone have Power8 systems ? -Leno Hou [-- Attachment #2: Type: text/html, Size: 4012 bytes --] ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-dev] Introduce ppc64le architecture into gentoo ! please share your comments 2015-09-11 12:01 ` Leno Hou @ 2015-09-11 14:18 ` Ian Stakenvicius 2015-09-13 18:36 ` Mike Gilbert ` (2 subsequent siblings) 3 siblings, 0 replies; 33+ messages in thread From: Ian Stakenvicius @ 2015-09-11 14:18 UTC (permalink / raw To: gentoo-dev -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 11/09/15 08:01 AM, Leno Hou wrote: > 2. We believe to make Gentoo support ppc64le, we still need to > compile kernel and bootloader ...usually a gentoo installation requires you to build the kernel and bootloader yourself, inside of the chroot. Is this something that isn't possible? Or is the requirement related to a live-boot medium rather than the installation image? -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREIAAYFAlXy4qwACgkQAJxUfCtlWe2mRAD/esR4zuaVTW4d1DMO43JYUbTe NJVFMQmzNVnZypHi9k8A/jjm9cB2hvJPCdf6JEnPO6rD1bh8iqByD0DX3NZEpstt =967P -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-dev] Introduce ppc64le architecture into gentoo ! please share your comments 2015-09-11 12:01 ` Leno Hou 2015-09-11 14:18 ` Ian Stakenvicius @ 2015-09-13 18:36 ` Mike Gilbert 2015-09-17 6:53 ` Leno Hou 2015-09-24 12:23 ` Leno Hou 3 siblings, 0 replies; 33+ messages in thread From: Mike Gilbert @ 2015-09-13 18:36 UTC (permalink / raw To: Gentoo Dev On Fri, Sep 11, 2015 at 8:01 AM, Leno Hou <lenohou@gmail.com> wrote: > Which version of grub suitable for ppc64le ? Is there any patches to > ppc64le grub ? There appears to be at least partial support on the master branch upstream. Also, take a look at the grub-devel mailing list archives; there have been several proposed patches within the last year. http://lists.gnu.org/archive/html/grub-devel/ ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-dev] Introduce ppc64le architecture into gentoo ! please share your comments 2015-09-11 12:01 ` Leno Hou 2015-09-11 14:18 ` Ian Stakenvicius 2015-09-13 18:36 ` Mike Gilbert @ 2015-09-17 6:53 ` Leno Hou 2015-09-24 12:23 ` Leno Hou 3 siblings, 0 replies; 33+ messages in thread From: Leno Hou @ 2015-09-17 6:53 UTC (permalink / raw To: gentoo-dev, gentoo-powerpc, Anthony G. Basile, Mike Frysinger, grub-dev, houqy, shjq, kevinzs [-- Attachment #1: Type: text/plain, Size: 2060 bytes --] *Leno Hou* E-mail : lenohou@gmail.com Phone : 185-0093-5995 On Fri, Sep 11, 2015 at 8:01 PM, Leno Hou <lenohou@gmail.com> wrote: > > This is a great pleasure to announce that we've made ppc64le stage 3. > > 1. We've successfully compiled stage 3 for ppc64le. The stage 3 covers > most useful functionalities: > > - GNU tool chains. e.g. automake, autoconf, gcc & glibc. > - Normally use Portage, e.g. emerge, ebuild & python > - Normally chroot in this stage 3. > - Not included linux kernel & bootloader yet. > > 2. We believe to make Gentoo support ppc64le, we still need to compile > kernel and bootloader > > - Which version of kernel provided by Gentoo would you suggest us to > use? > > As to Ubuntu, there will be many patches to make the kernel > workable, so how to patch > our Gentoo kernel to make it work for ppc64le? > > - Which version of grub suitable for ppc64le ? Is there any patches > to ppc64le grub ? > > When I building grub, it happens https://bpaste.net/show/732172bfe927 . CC: grub-dev community , could you give me a hand with ppc64le grub ? Or the latest grub merged ppc64le patches ? > 3. When the gentoo we make out workable on ppc64le, we would like to know > the process of > making it officially supported by Gentoo community > > - For each arch, do we have a subteam to verify the packages? If so, > how to reach these guys? > > ppc64le are inherit from ppc64 profile. Is that say we should push this portage contains ppc64le profile. And provides this stage 3 made by catalyst ? What my mean is, I known arm64 ( aarch64 ?) was merged to portage, Could you let me know the process of ppc64le as same as arm64 supported by Gentoo community ? > > - For hardware environment, does anyone have Power8 systems ? > > If someone have POWER8 OR POWER 7 systems, it would be nice If you'll join this project. -Leno Hou > E-mail: houqy@linux.vnet.ibm.com E-mail: lenohou@gmail.com [-- Attachment #2: Type: text/html, Size: 3990 bytes --] ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-dev] Introduce ppc64le architecture into gentoo ! please share your comments 2015-09-11 12:01 ` Leno Hou ` (2 preceding siblings ...) 2015-09-17 6:53 ` Leno Hou @ 2015-09-24 12:23 ` Leno Hou 2015-09-25 18:27 ` [gentoo-powerpc] " Luca Barbato 2015-09-26 19:16 ` Anthony G. Basile 3 siblings, 2 replies; 33+ messages in thread From: Leno Hou @ 2015-09-24 12:23 UTC (permalink / raw To: gentoo-dev, gentoo-powerpc, Anthony G. Basile, Mike Frysinger, Zhao Kevin, linda.qj25, hechjie [-- Attachment #1: Type: text/plain, Size: 1400 bytes --] On Fri, Sep 11, 2015 at 8:01 PM, Leno Hou <lenohou@gmail.com> wrote: > > 2. We believe to make Gentoo support ppc64le, we still need to compile > kernel and bootloader > > - Which version of kernel provided by Gentoo would you suggest us to > use? > > As to Ubuntu, there will be many patches to make the kernel > workable, so how to patch > our Gentoo kernel to make it work for ppc64le? > Upstream's 4.2.1 is OK :-) I've compiled sys-kernel/gentoo-sources-4.2.1 on Ubuntu and successfully booted Ubuntu as following. root@ppc64le:~# uname -a Linux ppc64le 4.2.1-gentoo #1 SMP Wed Sep 23 19:28:17 PDT 2015 ppc64le ppc64le ppc64le GNU/Linux > - Which version of grub suitable for ppc64le ? Is there any patches > to ppc64le grub ? > > 3. When the gentoo we make out workable on ppc64le, we would like to know > the process of > making it officially supported by Gentoo community > > - For each arch, do we have a subteam to verify the packages? If so, > how to reach these guys? > - For hardware environment, does anyone have Power8 systems ? > > Again, please apply POWER8 Systems and join our work :-) [1]: https://www.runabove.com/instances/ibm-power8.xml [2]: https://ptopenlab.com/cloudlabconsole/#/ [3]: http://osuosl.org/services/powerdev/request_hosting > -Leno Hou > [-- Attachment #2: Type: text/html, Size: 3367 bytes --] ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-powerpc] Re: [gentoo-dev] Introduce ppc64le architecture into gentoo ! please share your comments 2015-09-24 12:23 ` Leno Hou @ 2015-09-25 18:27 ` Luca Barbato 2015-09-26 19:16 ` Anthony G. Basile 1 sibling, 0 replies; 33+ messages in thread From: Luca Barbato @ 2015-09-25 18:27 UTC (permalink / raw To: Leno Hou, gentoo-dev, gentoo-powerpc, Anthony G. Basile, Mike Frysinger, Zhao Kevin, linda.qj25, hechjie On 24/09/15 14:23, Leno Hou wrote: > On Fri, Sep 11, 2015 at 8:01 PM, Leno Hou <lenohou@gmail.com> wrote: > >> >> 2. We believe to make Gentoo support ppc64le, we still need to compile >> kernel and bootloader >> >> - Which version of kernel provided by Gentoo would you suggest us to >> use? >> >> As to Ubuntu, there will be many patches to make the kernel >> workable, so how to patch >> our Gentoo kernel to make it work for ppc64le? >> > > Upstream's 4.2.1 is OK :-) > I've compiled sys-kernel/gentoo-sources-4.2.1 on Ubuntu and > successfully booted Ubuntu as following. > root@ppc64le:~# uname -a > Linux ppc64le 4.2.1-gentoo #1 SMP Wed Sep 23 19:28:17 PDT 2015 > ppc64le ppc64le ppc64le GNU/Linux > > >> - Which version of grub suitable for ppc64le ? Is there any patches >> to ppc64le grub ? >> >> 3. When the gentoo we make out workable on ppc64le, we would like to know >> the process of >> making it officially supported by Gentoo community >> >> - For each arch, do we have a subteam to verify the packages? If so, >> how to reach these guys? >> - For hardware environment, does anyone have Power8 systems ? >> >> Again, please apply POWER8 Systems and join our work :-) > [1]: https://www.runabove.com/instances/ibm-power8.xml > [2]: https://ptopenlab.com/cloudlabconsole/#/ > [3]: http://osuosl.org/services/powerdev/request_hosting We do not have an IBM contact (that I know) otherwise I'd love to get 3 powerdev minimal paravirt enviroments to test BE, LE and Power7. Anybody with ties with IBM willing to help? =) lu ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-dev] Introduce ppc64le architecture into gentoo ! please share your comments 2015-09-24 12:23 ` Leno Hou 2015-09-25 18:27 ` [gentoo-powerpc] " Luca Barbato @ 2015-09-26 19:16 ` Anthony G. Basile 2015-10-21 8:55 ` Kevin Zhao 1 sibling, 1 reply; 33+ messages in thread From: Anthony G. Basile @ 2015-09-26 19:16 UTC (permalink / raw To: Leno Hou, gentoo-dev, gentoo-powerpc, Mike Frysinger, Zhao Kevin, linda.qj25, hechjie On 9/24/15 8:23 AM, Leno Hou wrote: > > > Again, please apply POWER8 Systems and join our work :-) > [1]: https://www.runabove.com/instances/ibm-power8.xml > [2]: https://ptopenlab.com/cloudlabconsole/#/ > [3]: http://osuosl.org/services/powerdev/request_hosting > > >> -Leno Hou >> I have applied to osuosl for an ibm power8 ppc64le node. I've put myself down as the point-of-contact. I asked for openstack gui access and will try to build a system using Leno's stage3. I'm not sure what the env looks like right now, but i assume i'll have to boot off a cd image. I'll use debians. I guess I could be macho and try to build everything from scratch, cross compile a kernel and all, but .... time. Has anyone tried qemu simulating ppc64le on amd64? Lu I thought you said you tried on x86 and it didn't work. -- 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 ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-dev] Introduce ppc64le architecture into gentoo ! please share your comments 2015-09-26 19:16 ` Anthony G. Basile @ 2015-10-21 8:55 ` Kevin Zhao 2015-11-23 19:54 ` Richard Yao 0 siblings, 1 reply; 33+ messages in thread From: Kevin Zhao @ 2015-10-21 8:55 UTC (permalink / raw To: Anthony G. Basile Cc: Leno Hou, gentoo-dev, gentoo-powerpc, Mike Frysinger, Linda Jiang, hechjie [-- Attachment #1: Type: text/plain, Size: 1536 bytes --] Hi Guys, We have finish compiling stage3 for ppc64 (little-endian).Here is the link: https://drive.google.com/file/d/0B2k84p6709AyTFlwLUF1WjlxUk0/view?usp=sharing Now we are going to build LiveCD using stage3. Could you help to give some demo or a guide for building LiveCD? That will help we a lot to make effort. Thanks ~ 2015-09-27 3:16 GMT+08:00 Anthony G. Basile <blueness@gentoo.org>: > On 9/24/15 8:23 AM, Leno Hou wrote: > >> >> >> Again, please apply POWER8 Systems and join our work :-) >> [1]: https://www.runabove.com/instances/ibm-power8.xml >> [2]: https://ptopenlab.com/cloudlabconsole/#/ >> [3]: http://osuosl.org/services/powerdev/request_hosting >> >> >> -Leno Hou >>> >>> > I have applied to osuosl for an ibm power8 ppc64le node. I've put myself > down as the point-of-contact. I asked for openstack gui access and will > try to build a system using Leno's stage3. I'm not sure what the env looks > like right now, but i assume i'll have to boot off a cd image. I'll use > debians. I guess I could be macho and try to build everything from > scratch, cross compile a kernel and all, but .... time. > > Has anyone tried qemu simulating ppc64le on amd64? Lu I thought you said > you tried on x86 and it didn't work. > > > > -- > 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: 2778 bytes --] ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-dev] Introduce ppc64le architecture into gentoo ! please share your comments 2015-10-21 8:55 ` Kevin Zhao @ 2015-11-23 19:54 ` Richard Yao 0 siblings, 0 replies; 33+ messages in thread From: Richard Yao @ 2015-11-23 19:54 UTC (permalink / raw To: gentoo-dev [-- Attachment #1: Type: text/plain, Size: 1757 bytes --] On 10/21/2015 04:55 AM, Kevin Zhao wrote: > Hi Guys, We have finish compiling stage3 for ppc64 (little-endian).Here is > the link: > > https://drive.google.com/file/d/0B2k84p6709AyTFlwLUF1WjlxUk0/view?usp=sharing Awesome! > Now we are going to build LiveCD using stage3. Could you help to give > some demo or a guide for building LiveCD? That will help we a lot to make > effort. > Thanks ~ I suggest asking in #gentoo-releng on freenode or the Gentoo release engineering mailing ilst. > > > 2015-09-27 3:16 GMT+08:00 Anthony G. Basile <blueness@gentoo.org>: > >> On 9/24/15 8:23 AM, Leno Hou wrote: >> >>> >>> >>> Again, please apply POWER8 Systems and join our work :-) >>> [1]: https://www.runabove.com/instances/ibm-power8.xml >>> [2]: https://ptopenlab.com/cloudlabconsole/#/ >>> [3]: http://osuosl.org/services/powerdev/request_hosting >>> >>> >>> -Leno Hou >>>> >>>> >> I have applied to osuosl for an ibm power8 ppc64le node. I've put myself >> down as the point-of-contact. I asked for openstack gui access and will >> try to build a system using Leno's stage3. I'm not sure what the env looks >> like right now, but i assume i'll have to boot off a cd image. I'll use >> debians. I guess I could be macho and try to build everything from >> scratch, cross compile a kernel and all, but .... time. >> >> Has anyone tried qemu simulating ppc64le on amd64? Lu I thought you said >> you tried on x86 and it didn't work. >> >> >> >> -- >> 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: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-dev] Introduce ppc64le architecture into gentoo ! please share your comments 2015-08-12 8:30 ` Anthony G. Basile 2015-09-11 12:01 ` Leno Hou @ 2015-09-17 7:06 ` Leno Hou 1 sibling, 0 replies; 33+ messages in thread From: Leno Hou @ 2015-09-17 7:06 UTC (permalink / raw To: gentoo-dev, Anthony G. Basile, Mike Frysinger [-- Attachment #1: Type: text/plain, Size: 1216 bytes --] On Wed, Aug 12, 2015 at 4:30 PM, Anthony G. Basile <blueness@gentoo.org> wrote: > On 8/12/15 3:47 AM, Mike Frysinger wrote: > >> >> 4. I would like become a developer of porting gentoo on ppc64le. Anyone >>> could help/mentor me to join this project ? >>> >> ideally someone on the ppc side would pick you up, but i think they've >> been >> a bit of a skeleton team of late. so if need be, i can help you here. >> > > I can help out here. Great pleasure that you can pick me up. It would be nice that you can tell me how to reach guys ? Now we have some ppc64le profile & patches needs to be upload. > > > **Most importantly, Any Ideas/steps of how to porting gentoo on ppc64le >>> architecture?** >>> >> do you have hardware ? then it's simply a matter of booting Gentoo in it >> and >> filing/fixing bugs :). >> -mike >> > We should also start building stage3s. stage3s for ppc64, or ppc64le ? If its stage3s for ppc64le, that's perfect to work together. > > > -- > 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 > > > Leno Hou E-Mail: lenohou@gmail.com [-- Attachment #2: Type: text/html, Size: 2607 bytes --] ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-dev] Introduce ppc64le architecture into gentoo ! please share your comments 2015-08-12 7:47 ` Mike Frysinger 2015-08-12 8:30 ` Anthony G. Basile @ 2015-08-12 9:46 ` Shuai Zhao 2015-08-12 9:50 ` [gentoo-powerpc] " Luca Barbato 2015-08-12 23:58 ` 姜渠 2015-08-14 7:52 ` Leno Hou 3 siblings, 1 reply; 33+ messages in thread From: Shuai Zhao @ 2015-08-12 9:46 UTC (permalink / raw To: gentoo-dev, Leno Hou, gentoo-powerpc, Anthony G. Basile [-- Attachment #1: Type: text/plain, Size: 372 bytes --] 2015-08-12 15:47 GMT+08:00 Mike Frysinger <vapier@gentoo.org>: > On 12 Aug 2015 15:20, Leno Hou wrote: > > **Most importantly, Any Ideas/steps of how to porting gentoo on ppc64le > > architecture?** > > do you have hardware ? then it's simply a matter of booting Gentoo in it > and > filing/fixing bugs :). > -mike > Yeah, we has several virtual machines of PPC64le. [-- Attachment #2: Type: text/html, Size: 785 bytes --] ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-powerpc] Re: [gentoo-dev] Introduce ppc64le architecture into gentoo ! please share your comments 2015-08-12 9:46 ` Shuai Zhao @ 2015-08-12 9:50 ` Luca Barbato 0 siblings, 0 replies; 33+ messages in thread From: Luca Barbato @ 2015-08-12 9:50 UTC (permalink / raw To: Shuai Zhao, gentoo-dev, Leno Hou, gentoo-powerpc, Anthony G. Basile On 12/08/15 11:46, Shuai Zhao wrote: > 2015-08-12 15:47 GMT+08:00 Mike Frysinger <vapier@gentoo.org>: > >> On 12 Aug 2015 15:20, Leno Hou wrote: >>> **Most importantly, Any Ideas/steps of how to porting gentoo on ppc64le >>> architecture?** >> >> do you have hardware ? then it's simply a matter of booting Gentoo in it >> and >> filing/fixing bugs :). >> -mike >> > > Yeah, we has several virtual machines of PPC64le. > Are they based on qemu or something completely different? lu ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-dev] Introduce ppc64le architecture into gentoo ! please share your comments 2015-08-12 7:47 ` Mike Frysinger 2015-08-12 8:30 ` Anthony G. Basile 2015-08-12 9:46 ` Shuai Zhao @ 2015-08-12 23:58 ` 姜渠 2015-08-13 3:19 ` Mike Frysinger 2015-08-14 7:52 ` Leno Hou 3 siblings, 1 reply; 33+ messages in thread From: 姜渠 @ 2015-08-12 23:58 UTC (permalink / raw To: gentoo-dev, Leno Hou, gentoo-powerpc, Anthony G. Basile [-- Attachment #1: Type: text/plain, Size: 1188 bytes --] 2015-08-12 15:47 GMT+08:00 Mike Frysinger <vapier@gentoo.org>: > On 12 Aug 2015 15:20, Leno Hou wrote: > >> 2. How to control endian difference via profiles ? i.e. *How to get > >> ppc64le as a full stage/profile along side ppc64* ? > >> Could you give me in detail ? > > >you probably want to create a new profile dir: > > profiles/arch/powerpc/ppc64/little-endian/ > >then add a make.defaults file with the right CHOST defaults. as we find > >packages that have problems on little endian, that provides you a safe > >space to mask features too. > > >then create a new target for linux users: > > > profiles/default/linux/powerpc/ppc64/13.0/64bit-userland/little-endian/ > >that'll inherit the arch/powerpc/ppc64/little-endian parent > > I tried this way and could merge some packages quite well, that's great and really helpful. But I still quite confused about the CHOST, such as if I couldn't compile "sandbox" successfully in this method, however when I tried to use ppc32's profile, it builds well without any errors (similar situation of other packages on ppc64's profile as well). What's that mean? how to fix this? Could you give me some details ? > > -- Linda [-- Attachment #2: Type: text/html, Size: 1831 bytes --] ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-dev] Introduce ppc64le architecture into gentoo ! please share your comments 2015-08-12 23:58 ` 姜渠 @ 2015-08-13 3:19 ` Mike Frysinger 0 siblings, 0 replies; 33+ messages in thread From: Mike Frysinger @ 2015-08-13 3:19 UTC (permalink / raw To: gentoo-dev; +Cc: Leno Hou, gentoo-powerpc, Anthony G. Basile [-- Attachment #1: Type: text/plain, Size: 1346 bytes --] On 13 Aug 2015 07:58, 姜渠 wrote: > 2015-08-12 15:47 GMT+08:00 Mike Frysinger: > > On 12 Aug 2015 15:20, Leno Hou wrote: > > >> 2. How to control endian difference via profiles ? i.e. *How to get > > >> ppc64le as a full stage/profile along side ppc64* ? > > >> Could you give me in detail ? > > > > >you probably want to create a new profile dir: > > > profiles/arch/powerpc/ppc64/little-endian/ > > >then add a make.defaults file with the right CHOST defaults. as we find > > >packages that have problems on little endian, that provides you a safe > > >space to mask features too. > > > > >then create a new target for linux users: > > > > > profiles/default/linux/powerpc/ppc64/13.0/64bit-userland/little-endian/ > > >that'll inherit the arch/powerpc/ppc64/little-endian parent > > I tried this way and could merge some packages quite well, that's great > and really helpful. > But I still quite confused about the CHOST, such as if I couldn't compile > "sandbox" successfully in this method, however when I tried to use ppc32's > profile, it builds well without any errors (similar situation of other > packages on ppc64's profile as well). What's that mean? how to fix this? > Could you give me some details ? w/out error messages it's hard to guess at what the problem is you're seeing. -mike [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-dev] Introduce ppc64le architecture into gentoo ! please share your comments 2015-08-12 7:47 ` Mike Frysinger ` (2 preceding siblings ...) 2015-08-12 23:58 ` 姜渠 @ 2015-08-14 7:52 ` Leno Hou 2015-09-24 15:07 ` Mike Frysinger 3 siblings, 1 reply; 33+ messages in thread From: Leno Hou @ 2015-08-14 7:52 UTC (permalink / raw To: Leno Hou, gentoo-dev, gentoo-powerpc, Anthony G. Basile, Mike Frysinger [-- Attachment #1: Type: text/plain, Size: 3467 bytes --] On Wed, Aug 12, 2015 at 3:47 PM, Mike Frysinger <vapier@gentoo.org> wrote: > On 12 Aug 2015 15:20, Leno Hou wrote: > > 2. How to control endian difference via profiles ? i.e. *How to get > > ppc64le as a full stage/profile along side ppc64* ? > > Could you give me in detail ? > > you probably want to create a new profile dir: > profiles/arch/powerpc/ppc64/little-endian/ > then add a make.defaults file with the right CHOST defaults. as we find > packages that have problems on little endian, that provides you a safe > space to mask features too. > > then create a new target for linux users: > > profiles/default/linux/powerpc/ppc64/13.0/64bit-userland/little-endian/ > that'll inherit the arch/powerpc/ppc64/little-endian parent > > > 5. https://wiki.gentoo.org/wiki/Porting The Section 'Converting to > > Gentoo' needs to be updated. > > From portage-2.2.20 on, please download portage and install it by > > 'python setup.py install' > > you mean my bootstrap-portage script ? > See my comments in below mail. > > > **Most importantly, Any Ideas/steps of how to porting gentoo on ppc64le > > architecture?** > > do you have hardware ? then it's simply a matter of booting Gentoo in it > and > filing/fixing bugs :). > YES. We have KVM virtual machine of ppc64le. Can we booting/filing/fixing by KVM ? > -mike > Greetings !~~ *What I have done according to your suggestions.* Once you have these packages, you can easily install Portage. root #wget http://distfiles.gentoo.org/distfiles/portage-2.2.20.tar.bz2 root #tar -xvf portage-2.2.20 root #cd portage-2.2.20 && python setup.py install 1, sync up and we should have our Portage tree! root #emerge --sync Then we need to create a new profile for the new architecture ppc64le: root #cd /usr/portage/profiles/arch/powerpc/ppc64/ && mkdir little-endian root #cd little-endian root #echo '..' > parent root #cat << EOF > make.defaults CHOST="powerpc64le-linux-gnu" EOF 2, create a new target for linux users: root #cd /usr/portage/profiles/default/linux/powerpc/ppc64/13.0/64bit-userland/ root #mkdir little-endian && cd little-endian root #cat << EOF > parent .. ../../../../../../../arch/powerpc/ppc64/little-endian EOF root #cd /etc/portage root #ln -s ../../usr/portage/profiles/default/linux/powerpc/ppc64/13.0/64bit-userland/little-endian make.profile root #cd /etc/portage root #cat << EOF > make.conf PORTDIR_OVERLAY=/usr/local/portage MAKEOPTS="-j8" CFLAGS="-mcpu=power8 -mtune=power8 -O2 -pipe -I/gentoo/usr/include -L/gentoo/usr/lib64 -L/gentoo/lib -L/gentoo/lib64 -lpthread " CXXFLAGS="${CFLAGS}" CPPFLAGS="${CFLAGS}" LDFLAGS="-I/gentoo/usr/include -L/gentoo/usr/lib64 -L/gentoo/lib -L/gentoo/lib64 -lpthread " LC_ALL="en_US.UTF-8" FEATURES="buildpkg" USE="python_targets_python2_7" EOF 3, Fix Problem with sandbox root #apt-get install pax-utils build-essential gawk root # emerge --nodeps --ask sandbox 4, Build the whole system root #ROOT=/gentoo emerge @system Results: https://bpaste.net/show/e6db5a5a70aa Should `ROOT=/gentoo emerge glibc` or `ROOT=/gentoo emerge gcc` first to fix the circle dependencies ? Please let me know forward/steps to port gentoo on ppc64le. /etc/portage/package.accept_keywords in ppc64le and bug reports as following links. >=dev-libs/libffi-3.2.1 ~ppc64 >=dev-libs/gmp-6.0.0a ~ppc64 Links: https://bugzilla.redhat.com/show_bug.cgi?id=1083429 https://github.com/ffi/ffi/issues/413 [-- Attachment #2: Type: text/html, Size: 7432 bytes --] ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-dev] Introduce ppc64le architecture into gentoo ! please share your comments 2015-08-14 7:52 ` Leno Hou @ 2015-09-24 15:07 ` Mike Frysinger 2015-09-25 2:32 ` Leno Hou 0 siblings, 1 reply; 33+ messages in thread From: Mike Frysinger @ 2015-09-24 15:07 UTC (permalink / raw To: Leno Hou; +Cc: gentoo-dev, gentoo-powerpc, Anthony G. Basile [-- Attachment #1: Type: text/plain, Size: 662 bytes --] On 14 Aug 2015 15:52, Leno Hou wrote: > On Wed, Aug 12, 2015 at 3:47 PM, Mike Frysinger wrote: > > On 12 Aug 2015 15:20, Leno Hou wrote: > > > **Most importantly, Any Ideas/steps of how to porting gentoo on ppc64le > > > architecture?** > > > > do you have hardware ? then it's simply a matter of booting Gentoo in it > > and > > filing/fixing bugs :). > > > > YES. We have KVM virtual machine of ppc64le. Can we booting/filing/fixing > by KVM ? KVM is fine. i'm assuming you can't boot a ppc64le vm when the host is ppc64be ? i don't think any Gentoo dev has access to ppc64le hardware, so we'd rely on ibm to fix bugs and such. -mike [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-dev] Introduce ppc64le architecture into gentoo ! please share your comments 2015-09-24 15:07 ` Mike Frysinger @ 2015-09-25 2:32 ` Leno Hou 2015-09-25 5:05 ` Mike Frysinger 0 siblings, 1 reply; 33+ messages in thread From: Leno Hou @ 2015-09-25 2:32 UTC (permalink / raw To: Leno Hou, gentoo-dev, gentoo-powerpc, Anthony G. Basile [-- Attachment #1: Type: text/plain, Size: 1139 bytes --] On Thu, Sep 24, 2015 at 11:07 PM, Mike Frysinger <vapier@gentoo.org> wrote: > On 14 Aug 2015 15:52, Leno Hou wrote: > > On Wed, Aug 12, 2015 at 3:47 PM, Mike Frysinger wrote: > > > On 12 Aug 2015 15:20, Leno Hou wrote: > > > > **Most importantly, Any Ideas/steps of how to porting gentoo on > ppc64le > > > > architecture?** > > > > > > do you have hardware ? then it's simply a matter of booting Gentoo in > it > > > and > > > filing/fixing bugs :). > > > > > > > YES. We have KVM virtual machine of ppc64le. Can we > booting/filing/fixing > > by KVM ? > > KVM is fine. i'm assuming you can't boot a ppc64le vm when the host is > ppc64be ? We can boot ppc64le by KVM on POWER7 (abbrev. PowerKVM) and KVM on Power7 is big endian. If you have real POWER7 hardware, you can install Ubuntu or RedHat ( integrated with KVM by default) on POWER7. > i don't think any Gentoo dev has access to ppc64le hardware, > so we'd rely on ibm to fix bugs and such. > As above, we can boot ppc64le by KVM on POWER7. Is not mean that we can booting/filing/fixing by KVM? If so, i'll try to get some KVM virtual machines :-) -mike > -Leno Hou [-- Attachment #2: Type: text/html, Size: 2332 bytes --] ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-dev] Introduce ppc64le architecture into gentoo ! please share your comments 2015-09-25 2:32 ` Leno Hou @ 2015-09-25 5:05 ` Mike Frysinger 2015-09-25 7:34 ` Anthony G. Basile 0 siblings, 1 reply; 33+ messages in thread From: Mike Frysinger @ 2015-09-25 5:05 UTC (permalink / raw To: gentoo-dev; +Cc: Leno Hou, gentoo-powerpc, Anthony G. Basile [-- Attachment #1: Type: text/plain, Size: 1276 bytes --] On 25 Sep 2015 10:32, Leno Hou wrote: > On Thu, Sep 24, 2015 at 11:07 PM, Mike Frysinger wrote: > > On 14 Aug 2015 15:52, Leno Hou wrote: > > > On Wed, Aug 12, 2015 at 3:47 PM, Mike Frysinger wrote: > > > > On 12 Aug 2015 15:20, Leno Hou wrote: > > > > > **Most importantly, Any Ideas/steps of how to porting gentoo on > > > > > ppc64le architecture?** > > > > > > > > do you have hardware ? then it's simply a matter of booting Gentoo in > > > > it and filing/fixing bugs :). > > > > > > YES. We have KVM virtual machine of ppc64le. Can we > > > booting/filing/fixing by KVM ? > > > > KVM is fine. i'm assuming you can't boot a ppc64le vm when the host is > > ppc64be ? > > We can boot ppc64le by KVM on POWER7 (abbrev. PowerKVM) > and KVM on Power7 is big endian. If you have real POWER7 hardware, we have a Gentoo box running on a POWER7 from IBM: IBM,8231-E2B POWER7 32 x 3.5GHz it has KVM enabled in it. so i guess we should be able to start a LE instance in KVM there. > you can install Ubuntu or RedHat ( integrated with KVM by default) on > POWER7. are you really making this suggestion on a Gentoo list ? ;) booting other distros isn't generally interesting to us. don't you already have a Gentoo instance booting ? -mike [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-dev] Introduce ppc64le architecture into gentoo ! please share your comments 2015-09-25 5:05 ` Mike Frysinger @ 2015-09-25 7:34 ` Anthony G. Basile 2015-09-25 9:09 ` Leno Hou 0 siblings, 1 reply; 33+ messages in thread From: Anthony G. Basile @ 2015-09-25 7:34 UTC (permalink / raw To: gentoo-dev On 9/25/15 1:05 AM, Mike Frysinger wrote: > On 25 Sep 2015 10:32, Leno Hou wrote: >> On Thu, Sep 24, 2015 at 11:07 PM, Mike Frysinger wrote: >>> On 14 Aug 2015 15:52, Leno Hou wrote: >>>> On Wed, Aug 12, 2015 at 3:47 PM, Mike Frysinger wrote: >>>>> On 12 Aug 2015 15:20, Leno Hou wrote: >>>>>> **Most importantly, Any Ideas/steps of how to porting gentoo on >>>>>> ppc64le architecture?** >>>>> do you have hardware ? then it's simply a matter of booting Gentoo in >>>>> it and filing/fixing bugs :). >>>> YES. We have KVM virtual machine of ppc64le. Can we >>>> booting/filing/fixing by KVM ? >>> KVM is fine. i'm assuming you can't boot a ppc64le vm when the host is >>> ppc64be ? >> We can boot ppc64le by KVM on POWER7 (abbrev. PowerKVM) >> and KVM on Power7 is big endian. If you have real POWER7 hardware, > we have a Gentoo box running on a POWER7 from IBM: > IBM,8231-E2B POWER7 32 x 3.5GHz > > it has KVM enabled in it. so i guess we should be able to start a LE > instance in KVM there. > >> you can install Ubuntu or RedHat ( integrated with KVM by default) on >> POWER7. > are you really making this suggestion on a Gentoo list ? ;) > booting other distros isn't generally interesting to us. > don't you already have a Gentoo instance booting ? > -mike @Leno, can you give me a url where i can download the stage3 and i'll try to set up a development environment on our power7. -- 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 ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-dev] Introduce ppc64le architecture into gentoo ! please share your comments 2015-09-25 7:34 ` Anthony G. Basile @ 2015-09-25 9:09 ` Leno Hou 2015-09-25 10:59 ` Anthony G. Basile 0 siblings, 1 reply; 33+ messages in thread From: Leno Hou @ 2015-09-25 9:09 UTC (permalink / raw To: gentoo-dev, hechjie, Mike Frysinger, Zhao Kevin, linda.qj25 [-- Attachment #1: Type: text/plain, Size: 1696 bytes --] On Fri, Sep 25, 2015 at 3:34 PM, Anthony G. Basile <blueness@gentoo.org> wrote: > On 9/25/15 1:05 AM, Mike Frysinger wrote: > >> On 25 Sep 2015 10:32, Leno Hou wrote: >> >>> On Thu, Sep 24, 2015 at 11:07 PM, Mike Frysinger wrote: >>> >>>> On 14 Aug 2015 15:52, Leno Hou wrote: >>>> >>>>> On Wed, Aug 12, 2015 at 3:47 PM, Mike Frysinger wrote: >>>>> >>>>>> On 12 Aug 2015 15:20, Leno Hou wrote: >>>>>> >>>>>>> **Most importantly, Any Ideas/steps of how to porting gentoo on >>>>>>> ppc64le architecture?** >>>>>>> >>>>>> do you have hardware ? then it's simply a matter of booting Gentoo in >>>>>> it and filing/fixing bugs :). >>>>>> >>>>> YES. We have KVM virtual machine of ppc64le. Can we >>>>> booting/filing/fixing by KVM ? >>>>> >>>> KVM is fine. i'm assuming you can't boot a ppc64le vm when the host is >>>> ppc64be ? >>>> >>> We can boot ppc64le by KVM on POWER7 (abbrev. PowerKVM) >>> and KVM on Power7 is big endian. If you have real POWER7 hardware, >>> >> we have a Gentoo box running on a POWER7 from IBM: >> IBM,8231-E2B POWER7 32 x 3.5GHz >> >> it has KVM enabled in it. so i guess we should be able to start a LE >> instance in KVM there. >> >> you can install Ubuntu or RedHat ( integrated with KVM by default) on >>> POWER7. >>> >> are you really making this suggestion on a Gentoo list ? ;) >> booting other distros isn't generally interesting to us. >> don't you already have a Gentoo instance booting ? >> -mike >> > > @Leno, can you give me a url where i can download the stage3 and i'll try > to set up a development environment on our power7. > > -- > Anthony G. Basile, Ph.D. > Download ppc64le seed stage3 here. http://pan.baidu.com/s/1uiVtc -Leno Hou [-- Attachment #2: Type: text/html, Size: 3101 bytes --] ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-dev] Introduce ppc64le architecture into gentoo ! please share your comments 2015-09-25 9:09 ` Leno Hou @ 2015-09-25 10:59 ` Anthony G. Basile 2015-09-25 17:21 ` Anthony G. Basile 0 siblings, 1 reply; 33+ messages in thread From: Anthony G. Basile @ 2015-09-25 10:59 UTC (permalink / raw To: gentoo-dev On 9/25/15 5:09 AM, Leno Hou wrote: > On Fri, Sep 25, 2015 at 3:34 PM, Anthony G. Basile <blueness@gentoo.org> > wrote: > >> On 9/25/15 1:05 AM, Mike Frysinger wrote: >> >>> On 25 Sep 2015 10:32, Leno Hou wrote: >>> >>>> On Thu, Sep 24, 2015 at 11:07 PM, Mike Frysinger wrote: >>>> >>>>> On 14 Aug 2015 15:52, Leno Hou wrote: >>>>> >>>>>> On Wed, Aug 12, 2015 at 3:47 PM, Mike Frysinger wrote: >>>>>> >>>>>>> On 12 Aug 2015 15:20, Leno Hou wrote: >>>>>>> >>>>>>>> **Most importantly, Any Ideas/steps of how to porting gentoo on >>>>>>>> ppc64le architecture?** >>>>>>>> >>>>>>> do you have hardware ? then it's simply a matter of booting Gentoo in >>>>>>> it and filing/fixing bugs :). >>>>>>> >>>>>> YES. We have KVM virtual machine of ppc64le. Can we >>>>>> booting/filing/fixing by KVM ? >>>>>> >>>>> KVM is fine. i'm assuming you can't boot a ppc64le vm when the host is >>>>> ppc64be ? >>>>> >>>> We can boot ppc64le by KVM on POWER7 (abbrev. PowerKVM) >>>> and KVM on Power7 is big endian. If you have real POWER7 hardware, >>>> >>> we have a Gentoo box running on a POWER7 from IBM: >>> IBM,8231-E2B POWER7 32 x 3.5GHz >>> >>> it has KVM enabled in it. so i guess we should be able to start a LE >>> instance in KVM there. >>> >>> you can install Ubuntu or RedHat ( integrated with KVM by default) on >>>> POWER7. >>>> >>> are you really making this suggestion on a Gentoo list ? ;) >>> booting other distros isn't generally interesting to us. >>> don't you already have a Gentoo instance booting ? >>> -mike >>> >> @Leno, can you give me a url where i can download the stage3 and i'll try >> to set up a development environment on our power7. >> >> -- >> Anthony G. Basile, Ph.D. >> > Download ppc64le seed stage3 here. http://pan.baidu.com/s/1uiVtc > > -Leno Hou > baidu is a terrible site. it keeps failing. is there another site you can use? -- 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 ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-dev] Introduce ppc64le architecture into gentoo ! please share your comments 2015-09-25 10:59 ` Anthony G. Basile @ 2015-09-25 17:21 ` Anthony G. Basile 0 siblings, 0 replies; 33+ messages in thread From: Anthony G. Basile @ 2015-09-25 17:21 UTC (permalink / raw To: gentoo-dev On 9/25/15 6:59 AM, Anthony G. Basile wrote: > On 9/25/15 5:09 AM, Leno Hou wrote: >> On Fri, Sep 25, 2015 at 3:34 PM, Anthony G. Basile <blueness@gentoo.org> >> wrote: >> >>> On 9/25/15 1:05 AM, Mike Frysinger wrote: >>> >>>> On 25 Sep 2015 10:32, Leno Hou wrote: >>>> >>>>> On Thu, Sep 24, 2015 at 11:07 PM, Mike Frysinger wrote: >>>>> >>>>>> On 14 Aug 2015 15:52, Leno Hou wrote: >>>>>> >>>>>>> On Wed, Aug 12, 2015 at 3:47 PM, Mike Frysinger wrote: >>>>>>> >>>>>>>> On 12 Aug 2015 15:20, Leno Hou wrote: >>>>>>>> >>>>>>>>> **Most importantly, Any Ideas/steps of how to porting gentoo on >>>>>>>>> ppc64le architecture?** >>>>>>>>> >>>>>>>> do you have hardware ? then it's simply a matter of booting >>>>>>>> Gentoo in >>>>>>>> it and filing/fixing bugs :). >>>>>>>> >>>>>>> YES. We have KVM virtual machine of ppc64le. Can we >>>>>>> booting/filing/fixing by KVM ? >>>>>>> >>>>>> KVM is fine. i'm assuming you can't boot a ppc64le vm when the >>>>>> host is >>>>>> ppc64be ? >>>>>> >>>>> We can boot ppc64le by KVM on POWER7 (abbrev. PowerKVM) >>>>> and KVM on Power7 is big endian. If you have real POWER7 hardware, >>>>> >>>> we have a Gentoo box running on a POWER7 from IBM: >>>> IBM,8231-E2B POWER7 32 x 3.5GHz >>>> >>>> it has KVM enabled in it. so i guess we should be able to start a LE >>>> instance in KVM there. >>>> >>>> you can install Ubuntu or RedHat ( integrated with KVM by default) on >>>>> POWER7. >>>>> >>>> are you really making this suggestion on a Gentoo list ? ;) >>>> booting other distros isn't generally interesting to us. >>>> don't you already have a Gentoo instance booting ? >>>> -mike >>>> >>> @Leno, can you give me a url where i can download the stage3 and >>> i'll try >>> to set up a development environment on our power7. >>> >>> -- >>> Anthony G. Basile, Ph.D. >>> >> Download ppc64le seed stage3 here. http://pan.baidu.com/s/1uiVtc >> >> -Leno Hou >> > baidu is a terrible site. it keeps failing. is there another site > you can use? > it finally downloaded -- 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 ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-dev] Introduce ppc64le architecture into gentoo ! please share your comments 2015-08-11 9:49 ` James Le Cuirot 2015-08-11 10:11 ` Leno Hou @ 2015-08-12 3:50 ` Mike Frysinger 1 sibling, 0 replies; 33+ messages in thread From: Mike Frysinger @ 2015-08-12 3:50 UTC (permalink / raw To: gentoo-dev; +Cc: Leno Hou, gentoo-powerpc [-- Attachment #1: Type: text/plain, Size: 248 bytes --] On 11 Aug 2015 10:49, James Le Cuirot wrote: > If ppc64le does become popular then I would suggest that we drop 32-bit > ppc first. Others may disagree though. :) ppc isn't being dropped, and ppc64le is entirely orthogonal to support for it -mike [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 33+ messages in thread
end of thread, other threads:[~2015-11-23 19:54 UTC | newest] Thread overview: 33+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-08-11 9:22 [gentoo-dev] Introduce ppc64le architecture into gentoo ! please share your comments Leno Hou 2015-08-11 9:49 ` James Le Cuirot 2015-08-11 10:11 ` Leno Hou 2015-08-11 14:33 ` Ian Stakenvicius 2015-08-11 14:44 ` James Le Cuirot 2015-08-11 14:45 ` Anthony G. Basile 2015-08-12 3:50 ` Mike Frysinger 2015-08-12 7:20 ` Leno Hou 2015-08-12 7:47 ` Mike Frysinger 2015-08-12 8:30 ` Anthony G. Basile 2015-09-11 12:01 ` Leno Hou 2015-09-11 14:18 ` Ian Stakenvicius 2015-09-13 18:36 ` Mike Gilbert 2015-09-17 6:53 ` Leno Hou 2015-09-24 12:23 ` Leno Hou 2015-09-25 18:27 ` [gentoo-powerpc] " Luca Barbato 2015-09-26 19:16 ` Anthony G. Basile 2015-10-21 8:55 ` Kevin Zhao 2015-11-23 19:54 ` Richard Yao 2015-09-17 7:06 ` Leno Hou 2015-08-12 9:46 ` Shuai Zhao 2015-08-12 9:50 ` [gentoo-powerpc] " Luca Barbato 2015-08-12 23:58 ` 姜渠 2015-08-13 3:19 ` Mike Frysinger 2015-08-14 7:52 ` Leno Hou 2015-09-24 15:07 ` Mike Frysinger 2015-09-25 2:32 ` Leno Hou 2015-09-25 5:05 ` Mike Frysinger 2015-09-25 7:34 ` Anthony G. Basile 2015-09-25 9:09 ` Leno Hou 2015-09-25 10:59 ` Anthony G. Basile 2015-09-25 17:21 ` Anthony G. Basile 2015-08-12 3:50 ` Mike Frysinger
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox