Another way to reproduce this bug is with qemu-s390x and a cross-compiled binary:
$ s390x-linux-gnu-gcc-5 -static -o bug-sqrtl-one-line.s390x bug-sqrtl-one-line.c $ qemu-s390x bug-sqrtl-one-line.s390x Segmentation fault (core dumped)
Find attached the binary.
Another way to reproduce this bug is with qemu-s390x and a cross-compiled binary:
$ s390x-linux- gnu-gcc- 5 -static -o bug-sqrtl- one-line. s390x bug-sqrtl- one-line. c one-line. s390x
$ qemu-s390x bug-sqrtl-
Segmentation fault (core dumped)
Find attached the binary.