[Bug 1948684] Re: qemu-user-static/binfmt skips first argument

2021-10-26 Thread Christian Ehrhardt 
*** This bug is a duplicate of bug 1947860 *** https://bugs.launchpad.net/bugs/1947860 Hi Björn, you are right and I wanted to thank you for the pre-work on this. I have seen another report which I think is the same case so I'll mark it as a dup and carry your insights over there. But I want

[Bug 1948684] Re: qemu-user-static/binfmt skips first argument

2021-10-26 Thread Björn Töpel
This might have been fixed in Debian. From the changelog: qemu (1:6.1+dfsg-5) unstable; urgency=medium * updated debian/patches/linux-user-binfmt-P.diff to work with in-kernel code Closes: #993658 * d/rules: do not mark configure target as .PHONY since it is a real file -- Mich

[Bug 1948684] Re: qemu-user-static/binfmt skips first argument

2021-10-25 Thread Björn Töpel
** Description changed: I've found a regression in qemu-user-static. I'm using binfmt to run riscv64 application on an x86-64. Steps to reproduce (using golang for ease of cross-compiling): -- $ cat rv.go package main import ( - "fmt" - "os" + "fmt" + "os" )