[Bug 1926996] Re: qemu-user clone syscall fails

2021-05-03 Thread Aaron Simmons
clone_test (x86_64) ** Attachment added: "clone_test (x86_64)" https://bugs.launchpad.net/qemu/+bug/1926996/+attachment/5494470/+files/clone_test -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/192

[Bug 1926996] Re: qemu-user clone syscall fails

2021-05-03 Thread Aaron Simmons
clone_test aarch64 binary ** Attachment added: "clone_test (aarch64)" https://bugs.launchpad.net/qemu/+bug/1926996/+attachment/5494467/+files/clone_test -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/b

[Bug 1926996] [NEW] qemu-user clone syscall fails

2021-05-03 Thread Aaron Simmons
Public bug reported: qemu-user fails to emulate clone() (https://linux.die.net/man/2/clone). The architecture doesn't seem to matter, tho I've mostly been testing aarch64. Attached is clone_test.c that demonstrates the problem. Running it natively looks like this: $ bin/x86_64/clone_test The va

[Bug 1926996] Re: qemu-user clone syscall fails

2021-05-03 Thread Aaron Simmons
clone_test (aarch64) ** Attachment added: "clone_test (aarch64)" https://bugs.launchpad.net/qemu/+bug/1926996/+attachment/5494469/+files/clone_test -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1

[Bug 1926996] Re: qemu-user clone syscall fails

2021-05-03 Thread Aaron Simmons
clone_test x86_64 binary ** Description changed: qemu-user fails to emulate clone() (https://linux.die.net/man/2/clone). The architecture doesn't seem to matter, tho I've mostly been testing aarch64. Attached is clone_test.c that demonstrates the problem. Running it natively looks li

[Bug 1926202] Re: qemu-user can't run some ppc binaries

2021-04-29 Thread Aaron Simmons
Thanks for looking into this. What reference did you use to check which ISA "cmpb" is in? -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1926202 Title: qemu-user can't run some ppc binaries Status

[Bug 1926202] Re: qemu-user can't run some ppc binaries

2021-04-26 Thread Aaron Simmons
helloworld-centos.static.ppc is attached as part of comment #2 -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1926202 Title: qemu-user can't run some ppc binaries Status in QEMU: New Bug descrip

[Bug 1926202] Re: qemu-user can't run some ppc binaries

2021-04-26 Thread Aaron Simmons
** Attachment added: "ppc binary that crashes qemu-user" https://bugs.launchpad.net/qemu/+bug/1926202/+attachment/5492563/+files/helloworld-centos.static.ppc ** Description changed: qemu-user v6.0.0-rc5, built in static mode, will crash for certain ppc binaries. It seems to have somethin

[Bug 1926202] [NEW] qemu-user can't run some ppc binaries

2021-04-26 Thread Aaron Simmons
Public bug reported: qemu-user v6.0.0-rc5, built in static mode, will crash for certain ppc binaries. It seems to have something to do with glibc for some Centos versions. The problem is easiest to see with statically-linked binaries. The attached Dockerfile shows how to produce a ppc binary th