[Question] Is little endian supported on all the platforms?

Boqun Feng boqun.feng at gmail.com
Mon Aug 31 17:53:40 AEST 2015

On Mon, Aug 31, 2015 at 04:52:38PM +1000, Benjamin Herrenschmidt wrote:
> On Mon, 2015-08-31 at 14:44 +0800, Boqun Feng wrote:
> > Hi all,
> > 
> > I hit a strange build error on v4.2, when I try to build a LE kernel
> > with a slightly modification of the ppc64_defconfig. What I did is just
> > make ppc64_defconfig and make menuconfig to set CPU_LITTLE_ENDIAN=y, and
> > then build the kernel.
> > 
> > I did a little research myself, and found out the error is because of
> > trying to build a LE kernel with CONFIG_PPC_PS3=y. So a simple way to
> > reproduce is:
> First, LE isn't supported on PS/3 :-) It's only supported on POWER8
> machines (and *some* P7 machines and only when running as KVM guest).

Got it, thank you ;-)

So should we modify Kconfigs of all the platform to reflect this?

> But the specific problem you are having looks like a differnet issue
> with the PS3 boot wrapper.

But could the reason of this be that the building process of the PS3
boot wrapper assumes the kernel is BE?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20150831/e41b7986/attachment.sig>

More information about the Linuxppc-dev mailing list