Bug#970460: [Bug libc/23960] [2.28 Regression]: New getdents{64} implementation breaks qemu-user

2020-10-03 Thread John Paul Adrian Glaubitz
Hi!

On 10/3/20 1:12 AM, Thorsten Glaser wrote:
> could you work around the problem by starting an i386 VM on
> your amd64 system, and then running the qemu-user buildds on
> that? The return values from the syscalls will natively be
> correct 32 bit there…

We already tried that if I remember, this doesn't help and the issue
remains. Apparently i386 is special in this regard by using 64-bit
extended values [1].

Adrian

> [1] https://bugzilla.kernel.org/show_bug.cgi?id=205957

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Bug#970460: [Bug libc/23960] [2.28 Regression]: New getdents{64} implementation breaks qemu-user

2020-10-02 Thread Thorsten Glaser
Hi Adrian,

could you work around the problem by starting an i386 VM on
your amd64 system, and then running the qemu-user buildds on
that? The return values from the syscalls will natively be
correct 32 bit there…

In the meantime, someone found that this bug also hits without
any qemu involvement:


danny.milo at gmail dot com dixit:

>https://sourceware.org/bugzilla/show_bug.cgi?id=23960

>--- Comment #58 from Danny Milosavljevic  ---
>The title should be changed to be more general because this does not only break
>qemu-user.  In fact, mentioning qemu would make it seem that it can be fixed in
>qemu-user--which it can't.
>
>The same happens on aarch64 if running armhf executables (no qemu anywhere).
[…]


It was also found that this cannot be fixed “only” in qemu.
The GNU libc people are discussing…

bye,
//mirabilos
-- 
16:47⎜«mika:#grml» .oO(mira ist einfach gut)  23:22⎜«mikap:#grml»
mirabilos: und dein bootloader ist geil :)23:29⎜«mikap:#grml» und ich
finds saugeil dass ich ein bsd zum booten mit grml hab, das muss ich dann
gleich mal auf usb-stick installieren   -- Michael Prokop über MirOS bsd4grml