On 25/04/2018 10:06, Aleksey Shipilev wrote:
Hi, I was doing the exercise of cross-compiling from x86_64 to most OpenJDK arches, and we have discovered the bug with endianness. Right now, compiling big-endian s390x target on little-endian x86_64 host produces the modules blob that cannot be read on real s390x.
It should still work, just less efficiently.In any case, specifying the endianness to jlink in your update to Images.gmk looks right.
-Alan