gcc crashes in hppa emulation
Bug #1880287 reported by
Helge Deller
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Richard Henderson |
Bug Description
There seems to be a translation bug in the qemu-hppa (qemu v5.0.0) emulation:
A stripped down testcase (taken from Linux kernel build) is attached.
In there is "a.sh", a shell script which calls gcc-9 (fails with both debian gcc-9.3.0-11 or gcc-9.3.0-12). and "a.iii", the preprocessed source.
When starting a.sh, in the emulation gcc crashes with segfault.
On real hardware gcc succeeds to compile the source.
In a hppa-user chroot running "apt update && apt install gcc-9" should be sufficient to get the needed reproducer environment.
tags: | added: linux-user |
tags: | added: tcg |
Changed in qemu: | |
status: | In Progress → Fix Committed |
Changed in qemu: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Test still crashes the VM and chroot with up-to-date debian chroot, including updated gcc-9.3.0-14.