GCC segfault (ICE) while building in qemu-user sparc64
Host environment
- Operating system: Gentoo Linux
- OS/kernel version: 6.5.5-gentoo
- Architecture: x86_64
- QEMU flavor: qemu-sparc64
- QEMU version: 8.1.1
- QEMU command line:
Emulated/Virtualized environment
- Operating system: Gentoo Linux
- OS/kernel version: 6.5.5-gentoo
- Architecture: sparc64
Steps to reproduce
- Follow Qemu-user documentation for Sparc64
- Attempt to build libpaper:
emerge -v app-text/libpaper-2.1.0:0/2
Resulting compilation will fail with an internal compilation error.
Additional information
This can be tested by trying to compile with gcc -mcpu=ultrasparc -O2 -c
instead of building the entire libpaper package.
Here is the output.
Edited by Michael Tokarev