[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug 1926202] Re: qemu-user can't run some ppc binaries
From: |
Aaron Simmons |
Subject: |
[Bug 1926202] Re: qemu-user can't run some ppc binaries |
Date: |
Mon, 26 Apr 2021 19:52:33 -0000 |
** 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 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 that will
crash qemu-user. Here is how to reproduce the problem:
$ uname -m
x86_64
$ docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
$ docker build -t qemu-bug:centos -f Dockerfile.centos .
$ docker run --rm -it -v$PWD:$PWD -w$PWD qemu-bug:centos cp
/helloworld-centos.static.ppc .
$ qemu-ppc version 5.2.95 (v6.0.0-rc5)
Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers
$ qemu-ppc-static ./helloworld-centos.static.ppc
emu: uncaught target signal 4 (Illegal instruction) - core dumped
[1] 16678 illegal hardware instruction (core dumped) qemu-ppc-static
./helloworld-centos.static.ppc
-
- I can also provide the binary if necessary.
** Description changed:
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 that will
crash qemu-user. Here is how to reproduce the problem:
$ uname -m
x86_64
$ docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
$ docker build -t qemu-bug:centos -f Dockerfile.centos .
$ docker run --rm -it -v$PWD:$PWD -w$PWD qemu-bug:centos cp
/helloworld-centos.static.ppc .
- $ qemu-ppc version 5.2.95 (v6.0.0-rc5)
+ $ qemu-qemu-ppc-static --version
+ qemu-ppc version 5.2.95 (v6.0.0-rc5)
Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers
$ qemu-ppc-static ./helloworld-centos.static.ppc
emu: uncaught target signal 4 (Illegal instruction) - core dumped
[1] 16678 illegal hardware instruction (core dumped) qemu-ppc-static
./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 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 that will
crash qemu-user. Here is how to reproduce the problem:
$ uname -m
x86_64
+
$ docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
+
$ docker build -t qemu-bug:centos -f Dockerfile.centos .
- $ docker run --rm -it -v$PWD:$PWD -w$PWD qemu-bug:centos cp
/helloworld-centos.static.ppc .
+
+ $ docker run --rm -it -v$PWD:$PWD -w$PWD qemu-bug:centos cp /helloworld-
+ centos.static.ppc .
+
$ qemu-qemu-ppc-static --version
qemu-ppc version 5.2.95 (v6.0.0-rc5)
Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers
+
$ qemu-ppc-static ./helloworld-centos.static.ppc
emu: uncaught target signal 4 (Illegal instruction) - core dumped
[1] 16678 illegal hardware instruction (core dumped) qemu-ppc-static
./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 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 that will
crash qemu-user. Here is how to reproduce the problem:
$ uname -m
x86_64
$ docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
$ docker build -t qemu-bug:centos -f Dockerfile.centos .
$ docker run --rm -it -v$PWD:$PWD -w$PWD qemu-bug:centos cp /helloworld-
centos.static.ppc .
- $ qemu-qemu-ppc-static --version
+ $ qemu-ppc-static --version
qemu-ppc version 5.2.95 (v6.0.0-rc5)
Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers
$ qemu-ppc-static ./helloworld-centos.static.ppc
emu: uncaught target signal 4 (Illegal instruction) - core dumped
[1] 16678 illegal hardware instruction (core dumped) qemu-ppc-static
./helloworld-centos.static.ppc
--
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 description:
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 that will
crash qemu-user. Here is how to reproduce the problem:
$ uname -m
x86_64
$ docker run --rm --privileged multiarch/qemu-user-static --reset -p
yes
$ docker build -t qemu-bug:centos -f Dockerfile.centos .
$ docker run --rm -it -v$PWD:$PWD -w$PWD qemu-bug:centos cp
/helloworld-centos.static.ppc .
$ qemu-ppc-static --version
qemu-ppc version 5.2.95 (v6.0.0-rc5)
Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers
$ qemu-ppc-static ./helloworld-centos.static.ppc
emu: uncaught target signal 4 (Illegal instruction) - core dumped
[1] 16678 illegal hardware instruction (core dumped) qemu-ppc-static
./helloworld-centos.static.ppc
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1926202/+subscriptions
- [Bug 1926202] [NEW] qemu-user can't run some ppc binaries, Aaron Simmons, 2021/04/26
- [Bug 1926202] Re: qemu-user can't run some ppc binaries,
Aaron Simmons <=
- [Bug 1926202] Re: qemu-user can't run some ppc binaries, Laurent Vivier, 2021/04/26
- [Bug 1926202] Re: qemu-user can't run some ppc binaries, Laurent Vivier, 2021/04/26
- [Bug 1926202] Re: qemu-user can't run some ppc binaries, Aaron Simmons, 2021/04/26
- [Bug 1926202] Re: qemu-user can't run some ppc binaries, Laurent Vivier, 2021/04/26
- [Bug 1926202] Re: qemu-user can't run some ppc binaries, Laurent Vivier, 2021/04/26
- [Bug 1926202] Re: qemu-user can't run some ppc binaries, Aaron Simmons, 2021/04/29