[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH 2/7] ppc64el: kernel: config: little-endian powerpc64 options



On Mon, 2014-05-26 at 16:14 -0300, Mauricio Faria de Oliveira wrote:
> Hi Ben,
> 
> On 05/25/2014 09:49 PM, Ben Hutchings wrote:
> [...]
> >> The thing with ppc64el is that it's usually not available for most
> >> people to start on, so that debootstrap --second-stage (for running
> >> in qemu-kvm, at least) is quite a common scenario nowadays.
> > [...]
> >
> > Can you not run the second stage using qemu-ppc64le-static (or whatever
> > it's called)?
> 
> No; the kernel doesn't handle the 2 different ABIs at once, nor the
> exception handlers' endianness being changed constantly at runtime,
> I believe.
> 
> This is due to a combination of kernel/ABI/endianness incompatibility.
> I'll refer you to this short and clear post [1] about that. It's a
> good explanation that's been around.
[...]

But what does that have to do with QEMU?  Does a ppc64 kernel support
ppc64le executables just enough to fail without letting a userland
interpreter handle them?  Or does QEMU wrongly assume that it can rely
on the kernel and hardware for most of the emulation?

Ben.

-- 
Ben Hutchings
Humans are not rational beings; they are rationalising beings.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: