ppc64le: qemu-arm: basic hello world fails with "user-exec.c:492: page_set_flags: Assertion `start < end' failed."
Host environment
- Operating system: Red Hat Enterprise Linux 8.7 (Ootpa)
- OS/kernel version: 4.18.0-425.13.1.el8_7.ppc64le
- Architecture: ppc64le
- QEMU flavor: qemu-arm
- QEMU version: qemu-arm version 7.2.50 (v7.2.0-1702-g33dc95d0)
- QEMU command line:
sh-4.4$ ./qemu-arm hello qemu-arm: ../accel/tcg/user-exec.c:492: page_set_flags: Assertion `start < end' failed. Aborted (core dumped)
Description of problem
Trying to utilize a RH8 enterprise POWER9 based server to build OpenBMC which utilizes qemu under the covers to validate cross compiles. After some debug, I found that a basic hello-world cross compiled application does not work on POWER9 hardware.
Steps to reproduce
- Create basic hello world .c file, cross compile it for arm (arm-linux-gnueabi-gcc hello.c -o hello)
- Build latest qemu-arm from master
- Run qemu-arm against hello world binary