On Wed, 2016-03-09 at 08:11 +0300, Michael Tokarev wrote:
> Hello!
> 
> 
> 09.03.2016 04:56, Ben Hutchings wrote:
> > 
> > Package: qemu-user-static
> > Version: 1:2.5+dfsg-5
> > Severity: normal
> > 
> > In addition to bug #813698, I found that most Debian ppc64el binaries
> > go horribly wrong when running on the i386 build of
> > qemu-ppc64le-static even with QEMU_CPU=POWER8.  This seems to be
> > related to system call translation.  The amd64 build seems to be fine.
> I'm afraid i386 host in qemu receives almost no testing for a long time,
> especially for 64bit targets.   Some places in the code use types such
> as int or long to represent 64 bits, incl. syscall translation, or, if
> that's done correctly, fail to translate high bits in host integers.
> 
> Anyway, can you be a bit more specific about the failures?  Maybe some
> simple test cases, something reproducible, because I'm not sure I'll
> find the right bugs when trying to reproduce this :)

Run the first stage of debootstrap, then try running 'ls' using QEMU.
 It usually shows an empty directory list.

> Is 386 host important these days, when almost all x86 machines are
> 64bits-capable and have large address space not easily accessible
> in 32bit mode?

That's your choice to make, but please don't ship broken binaries.

Ben.

-- 
Ben Hutchings
When in doubt, use brute force. - Ken Thompson

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

Reply via email to