Comment 0 for bug 2046439

Revision history for this message
bugproxy (bugproxy) wrote :

---Problem Description---
Wrong code execution with qemu

---Steps to Reproduce---
please have a look at the following bug:
   https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112986

------------------------------------------------------------------------
Contact Information = Andreas Krebbel <email address hidden>

Machine Type = IBM Z

Userspace tool common name: qemu

The userspace tool has the following bit modes: 64 bit

Userspace deb: - 1:6.2+dfsg-2ubuntu6.15
------------------------------------------------------------------------

Frequently used s390x code sequences are wrongly executed when running with qemu instruction set emulation.

The problem has been fixed in upstream qemu already. A backport for qemu 7 branch has been committed as well. The qemu 6.2.0 version used in Ubuntu 22.04 needs a backport of a trivial fix to work properly:

From the GCC BZ:
Problem fixed in v8.0.0 (https://gitlab.com/qemu-project/qemu/-/commit/54fce97cfcaf5463ee5f325bc1f1d4adc2772f38).
The fix was backported to v7.2.2 (https://gitlab.com/qemu-project/qemu/-/commit/17b032c6598ea756889f25e8d3e4cd9f2036669b), but not to v6.

Please consider picking up
https://gitlab.com/qemu-project/qemu/-/commit/17b032c6598ea756889f25e8d3e4cd9f2036669b
for the Ubuntu 22.04 qemu package 1:6.2+dfsg-2ubuntu6.15