blob: 0a3f12d57f51098c13b801a7a8326de9a63e1694 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
gcc crashes in hppa emulation
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.
|