Building coreOS for power linux arch : "ppc64le"

91 views
Skip to first unread message

Amit Ghatwal

unread,
Aug 3, 2015, 6:06:38 AM8/3/15
to CoreOS Dev
Hi All ,

I am new to coreOS , I was trying to build coreOS – SDK from below link :
https://coreos.com/os/docs/latest/sdk-modifying-coreos.html , While building an image with step “./chromite/bin/cros_sdk “ , I am getting below errors :
 
“cros_sdk: error: cros_sdk is currently only supported on x86_64; you're running ppc64le.  Please find a x86_64 machine “  . I am a newbie to porting open source packages.
 Please let me know the way forward /steps to port it on ppc64le architecture.
 
I am interested in porting coreOS onto a new architecture ( ppc64le ).

# lscpu

Architecture:                                     ppc64le

Byte Order:                                        Little Endian

CPU(s):                                                 2

# lscpu

Architecture:                                     ppc64le

Byte Order:                                        Little Endian

CPU(s):                                                 2


Regards,
Amit
 

Alex Crawford

unread,
Aug 3, 2015, 2:42:28 PM8/3/15
to coreo...@googlegroups.com
On 08/03, Amit Ghatwal wrote:
> Please let me know the way forward /steps to port it on ppc64le
> architecture.

Porting (and maintaining!) an entire operating system to another
architecture is going to be a lot of work. Unless you have a small team
of people who are willing to put in a few months of work, it probably
isn't going to happen. Even more problematic is the fact that this port
will invariably take up a lot of our time as well (which we are already
very short on).

Unfortunately, my suggestion is that you run CoreOS on an AMD64 box for
now.

-Alex
signature.asc

Geoff Levand

unread,
Aug 3, 2015, 5:38:51 PM8/3/15
to coreo...@googlegroups.com
On Mon, 2015-08-03 at 03:06 -0700, Amit Ghatwal wrote:


> “cros_sdk: error: cros_sdk is currently only supported on x86_64; you're running ppc64le. Please find a x86_64 machine “

CoreOS is cross compiled. This tells you that you cannot
host the CoreOS build on anything but an x86_64 machine.

You MUST build CoreOS on an x86_64 host machine.

> I am interested in porting coreOS onto a new architecture ( ppc64le ).

This is a big job, and based on your mail, I would say
too big a job for you.

If you want to consider it, I recommend you start with
what to do about Gentoo's lack of ppc64le support. Is
the first step to port Gentoo to ppc64le? Will the
CoreOS maintainers accept all the work-arounds needed to
support an architecture that Gentoo does not yet support?

-Geoff




Amit Ghatwal

unread,
Aug 5, 2015, 2:03:46 AM8/5/15
to CoreOS Dev, ge...@infradead.org
Hi Geoff,

Thanks for your reply.
I was trying your said approach of firstly porting Gentoo onto Ubuntu14.04/ppc64le platform . I am following below link for the same
But on running the very first command ( to install portage ) , I am getting below

$ ./bootstrap-portage
Setting up initial environment
Please set ARCH

Any pointers how to resolve/install Gentoo/portage on ppc64le ?

Regards,
Amit

Geoff Levand

unread,
Aug 5, 2015, 12:16:06 PM8/5/15
to Amit Ghatwal, CoreOS Dev
On Tue, 2015-08-04 at 23:03 -0700, Amit Ghatwal wrote:

> Any pointers how to resolve/install Gentoo/portage on ppc64le ?

My best advice would be to ask on the gentoo mail lists.

-Geoff


Reply all
Reply to author
Forward
0 new messages