s390x: qemu-user: ERROR:../linux-user/elfload.c:2239:zero_bss: code should not be reached
Host environment
- Operating system: ArchLinux
- OS/kernel version: Linux ... 6.4.12-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 24 Aug 2023 00:38:14 +0000 x86_64 GNU/Linux
- Architecture: x86_64
- QEMU flavor: qemu-s390x
- QEMU version: qemu-s390x version 8.1.50 (v8.1.0-192-g4f84c2b3aa3e)
- QEMU command line:
./qemu-s390x nolibc-test
Emulated/Virtualized environment
- Operating system: Linux
- OS/kernel version: N/A
- Architecture: s390x
Description of problem
The nolibc-test program from the Linux kernel crashes since 5f4e5b34 . Reverting that commit fixes the issue.
Steps to reproduce
- Build
nolibc-testfor s390x from Linux kernel tree. (fromtools/testing/selftests/nolibc/). EDIT: compiled binary is uploaded below. - Run it under qemu-s390x.
./qemu-s390x nolibc-test
**
ERROR:../linux-user/elfload.c:2239:zero_bss: code should not be reached
Bail out! ERROR:../linux-user/elfload.c:2239:zero_bss: code should not be reached
Aborted (core dumped)
Additional information
Edited by Thomas Weißschuh