On 04/25/2018 12:08 PM, Alan Bateman wrote: > On 25/04/2018 10:06, Aleksey Shipilev wrote: >> 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.
Yeah. Unfortunately, I do not have real s390x machine to debug this. > In any case, specifying the endianness to jlink in your update to Images.gmk > looks right. Thanks for reviews! jdk-submit came clean, so I pushed to jdk/jdk. -Aleksey