-
Bug
-
Resolution: Fixed
-
P3
-
24
-
b14
After JDK-8318913, trying to cross-compile to a different endian target than the build host is using, will cause the interim image generation to fail:
[buildjdk] Creating interim jimage
Error: specified --endian LITTLE_ENDIAN does not match endianness of target platform linux-s390
java.io.IOException: specified --endian LITTLE_ENDIAN does not match endianness of target platform linux-s390
at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.createImageProvider(JlinkTask.java:574)
at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.createImage(JlinkTask.java:410)
at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.run(JlinkTask.java:285)
at jdk.jlink/jdk.tools.jlink.internal.Main.run(Main.java:56)
at jdk.jlink/jdk.tools.jlink.internal.Main.main(Main.java:34)
InterimImage.gmk:47: recipe for target '/localhome/git/jdk-BAR/build/linux-s390x/support/interim-image/bin/java' failed
This has only been spotted when cross-compiling from x64 to s390x, but it seems to be a general endianness problem.
[buildjdk] Creating interim jimage
Error: specified --endian LITTLE_ENDIAN does not match endianness of target platform linux-s390
java.io.IOException: specified --endian LITTLE_ENDIAN does not match endianness of target platform linux-s390
at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.createImageProvider(JlinkTask.java:574)
at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.createImage(JlinkTask.java:410)
at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.run(JlinkTask.java:285)
at jdk.jlink/jdk.tools.jlink.internal.Main.run(Main.java:56)
at jdk.jlink/jdk.tools.jlink.internal.Main.main(Main.java:34)
InterimImage.gmk:47: recipe for target '/localhome/git/jdk-BAR/build/linux-s390x/support/interim-image/bin/java' failed
This has only been spotted when cross-compiling from x64 to s390x, but it seems to be a general endianness problem.
- links to
-
Commit(master) openjdk/jdk/bb28b0d2
-
Review(master) openjdk/jdk/20750