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

John Paul Adrian Glaubitz <[email protected]>
Newsgroups gmane.linux.debian.ports.68k,gmane.linux.debian.ports.superh
Message-ID <[email protected]>
On 9/16/20 8:42 PM, Thorsten Glaser wrote:
> John Paul Adrian Glaubitz dixit:
> 
>> That’s been fixed upstream and can be configured with the
>> qemu-binfmt.sh script and the option “preserved=yes”.
> 
> $ locate qemu-binfmt.sh | wc
>       0       0       0

Well, to be honest, you should never use the Debian QEMU package. It's almost
always very outdated and would lack important patches like these. It's easier
to use local builds from git.

> Also, why didn’t you fix that on the m68k and sh4 qemu buildds then? ;-)

I did. But I'm updating the QEMU version on the buildds from time to time
by rebasing with git master and then I drop all the patches that have been
applied upstream.

Since I incorrectly assumed the patch was already merged upstream, it got
lost in the process. I will re-apply it locally when I update QEMU on the
buildds the next time.

Mistakes happen, but I already ran into this bug with the Perl package
almost a year ago and there was a patch around to fix this early on
which is why I somehow assumed it was already fixed in git.

Adrian
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.