RFR 8202210: jlink uses little-endian for big-endian cross-compilation targets (original) (raw)
Alan Bateman Alan.Bateman at oracle.com
Wed Apr 25 10:08:14 UTC 2018
- Previous message (by thread): RFR 8202210: jlink uses little-endian for big-endian cross-compilation targets
- Next message (by thread): RFR 8202210: jlink uses little-endian for big-endian cross-compilation targets
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 25/04/2018 10:06, Aleksey Shipilev wrote:
Hi,
I was doing the exercise of cross-compiling from x8664 to most OpenJDK arches, and we have discovered the bug with endianness. Right now, compiling big-endian s390x target on little-endian x8664 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
- Previous message (by thread): RFR 8202210: jlink uses little-endian for big-endian cross-compilation targets
- Next message (by thread): RFR 8202210: jlink uses little-endian for big-endian cross-compilation targets
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]