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:
---Problem Description---
Wrong code execution with qemu
---Steps to Reproduce--- /gcc.gnu. org/bugzilla/ show_bug. cgi?id= 112986
please have a look at the following bug:
https:/
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --
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: /gitlab. com/qemu- project/ qemu/-/ commit/ 54fce97cfcaf546 3ee5f325bc1f1d4 adc2772f38). /gitlab. com/qemu- project/ qemu/-/ commit/ 17b032c6598ea75 6889f25e8d3e4cd 9f2036669b), but not to v6.
Problem fixed in v8.0.0 (https:/
The fix was backported to v7.2.2 (https:/
Please consider picking up /gitlab. com/qemu- project/ qemu/-/ commit/ 17b032c6598ea75 6889f25e8d3e4cd 9f2036669b 2ubuntu6. 15
https:/
for the Ubuntu 22.04 qemu package 1:6.2+dfsg-