Skip to contentSkip to conversation

qemu: Add fix for powerpc instruction fallback issue

PATCH Richard Purdie 1 participant 1 message May 4, 2023 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 7 lines · Richard Purdie via lists.openembedded.org

See the patch for more details, fixes a regression in qemu causing illegal instructions in libm on powerpc, triggered by a libinput upgrade.

https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=f1c56cdff09f650ad721fae026eb6a3651631f3d
was the glibc code generating the instruction and triggering the issue.

Quoted 8 lines
---
 meta/recipes-devtools/qemu/qemu.inc       |  1 +
 meta/recipes-devtools/qemu/qemu/ppc.patch | 70 +++++++++++++++++++++++
 2 files changed, 71 insertions(+)
 create mode 100644 meta/recipes-devtools/qemu/qemu/ppc.patch

v2 - add upstream status as submitted (failed to add to the index)

Hi Steve,

I'd suggest rebasing this patch against any branch with qemu versions which are affected (7.1 onwards I think). The patch here is against 8.0 but it should apply to older versions easily.

The random qemu instruction faults are annoying and a pain to debug.

Cheers,

Richard