RFR: 8304006: jlink should create the jimage file in the native endian for the target platform [v5]

Alan Bateman alanb at openjdk.org
Mon Mar 13 15:10:28 UTC 2023


On Mon, 13 Mar 2023 14:59:13 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> So that would then mean updating the build file where we create these jmod file(s) to use a value for `--target-platform` that even includes the endianness in the string value, example: `aix-ppc64-big` and `macos-aarch64-little`. So a change here https://github.com/openjdk/jdk/blob/master/make/CreateJmods.gmk#L252. Did I understand it correctly?

No, I meant a simple mapping of the current ModuleTarget values to endianness. Maybe some day we'll extend tor replace the ModuleTarget attribute to include information on endian, hard vs. soft float, and other arch details. Not for this PR.

-------------

PR: https://git.openjdk.org/jdk/pull/11943


More information about the core-libs-dev mailing list