From: Laurent Vivier <1926202@bugs.launchpad.net>
To: qemu-devel@nongnu.org
Subject: Re: [Bug 1926202] Re: qemu-user can't run some ppc binaries
Date: Thu, 29 Apr 2021 19:57:29 -0000 [thread overview]
Message-ID: <cfe73364-ca02-fcf8-2e19-db61ca986f4b@vivier.eu> (raw)
In-Reply-To: 161971684257.12516.15770974975327375872.malone@soybean.canonical.com
Le 29/04/2021 à 19:20, Aaron Simmons a écrit :
> Thanks for looking into this. What reference did you use to check which
> ISA "cmpb" is in?
>
It's in the QEMU source, but you can check the specs:
POWER ISA 2.04 -> no cmpb
https://wiki.raptorcs.com/w/images/6/65/PowerISA_V2.04-FINAL.Public.pdf
POWER ISA 2.05 -> cmpb
https://wiki.raptorcs.com/w/images/5/50/PowerISA_V2.05.pdf
--
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
next prev parent reply other threads:[~2021-04-29 20:07 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-26 19:51 [Bug 1926202] [NEW] qemu-user can't run some ppc binaries Aaron Simmons
2021-04-26 19:52 ` [Bug 1926202] " Aaron Simmons
2021-04-26 20:12 ` Laurent Vivier
2021-04-26 20:26 ` Laurent Vivier
2021-04-26 20:37 ` Aaron Simmons
2021-04-26 20:41 ` Laurent Vivier
2021-04-26 21:19 ` Laurent Vivier
2021-04-29 17:20 ` Aaron Simmons
2021-04-29 19:57 ` Laurent Vivier [this message]
2021-05-15 11:17 ` Thomas Huth
2021-07-15 4:17 ` Launchpad Bug Tracker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cfe73364-ca02-fcf8-2e19-db61ca986f4b@vivier.eu \
--to=1926202@bugs.launchpad.net \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).