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

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



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

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


Reply to: