* David Matthews:
So the s390x is big-endian?
Yes.
I don't have access to any big-endian hardware but I managed to find an image for a big-endian Mips machine under Qemu and confirm that there was a problem.
The GCC compile farm has big endian machines, and so does Debian:
https://cfarm.tetaneutral.net/ https://dsa.debian.org/doc/guest-account/ https://wiki.debian.org/PorterBoxHowToUse
IBM also offers s390x community machines, but reportedly, setting up access is rather difficult, and I can't find the web page detailing the process right now.