Re: Bug#970460: qemu-user: trashes argv[0] breaking multi-call binaries

John Paul Adrian Glaubitz <[email protected]>
Newsgroups gmane.linux.debian.ports.superh,gmane.linux.debian.ports.68k
Message-ID <[email protected]>
On 9/17/20 9:49 AM, Michael Tokarev wrote:
> You should not use upstream git of qemu, since it too lacks
> important patches like this, - please don't suggest people
> to use outdated sources.. :)

I think I'm one of the heaviest users of QEMU inside Debian and if
I had stuck with the Debian version of QEMU, the m68k and sh4 ports
would not be able to keep up due to QEMU issues. Laurent will confirm
the number of bugs I reported and that got fixed.

> (just as a matter of fact, debian usually has new version of
> qemu the next day it is released, and I usually keep it up
> to date in backports. With debian stable and current qemu 5.
> we have a bit of delay since there are a few other things to
> backport, but we have 5.0 there).

Well, the first thing would be to switch QEMU in Debian to finally
use systemd-binfmt instead of the old binfmt-support package,
something that has happened in other distributions long ago.

If you are willing to cooperate though, I'm happy to point you to
all the patches necessary to address all issues that we observed.

There is also an important glibc patch necessary to unbreak qemu-user
that still hasn't been merged in glibc upstream or in Debian's glibc
package [1, 2].

Adrian

> [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=916276
> [2] https://sourceware.org/bugzilla/show_bug.cgi?id=23960
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.