RFR: 8310105: LoongArch64 builds are broken after JDK-8304913 [v2]
Ao Qi
aoqi at openjdk.org
Mon Jun 19 18:59:17 UTC 2023
> LoongArch64 Zero builds are broken after [JDK-8304913](https://bugs.openjdk.org/browse/JDK-8304913):
>
> jdk.tools.jlink.plugin.PluginException: ModuleTarget is malformed: No enum constant jdk.internal.util.Architecture.LOONGARCH64
> at jdk.jlink/jdk.tools.jlink.builder.DefaultImageBuilder.storeFiles(DefaultImageBuilder.java:181)
> at jdk.jlink/jdk.tools.jlink.internal.ImagePluginStack.storeFiles(ImagePluginStack.java:486)
> at jdk.jlink/jdk.tools.jlink.internal.ImageFileCreator.writeImage(ImageFileCreator.java:168)
> at jdk.jlink/jdk.tools.jlink.internal.ImageFileCreator.create(ImageFileCreator.java:100)
> at jdk.jlink/jdk.tools.jlink.internal.JlinkTask$ImageHelper.retrieve(JlinkTask.java:860)
> at jdk.jlink/jdk.tools.jlink.internal.ImagePluginStack.operate(ImagePluginStack.java:194)
> at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.createImage(JlinkTask.java:423)
> at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.run(JlinkTask.java:286)
> at jdk.jlink/jdk.tools.jlink.internal.Main.run(Main.java:56)
> at jdk.jlink/jdk.tools.jlink.internal.Main.main(Main.java:34)
> Error: jdk.tools.jlink.plugin.PluginException: ModuleTarget is malformed: No enum constant jdk.internal.util.Architecture.LOONGARCH64
>
>
> Builds tested: LoongArch64 Zero, both release and fastdebug.
>
> If this patch conflicts with #14471, I will rebase after #14471 is integrated.
Ao Qi has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:
- Merge branch 'master' into 8310105
- 8310105: LoongArch64 builds are broken after JDK-8304913
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/14482/files
- new: https://git.openjdk.org/jdk/pull/14482/files/351e7b42..498066a8
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=14482&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=14482&range=00-01
Stats: 8146 lines in 308 files changed: 4925 ins; 2137 del; 1084 mod
Patch: https://git.openjdk.org/jdk/pull/14482.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/14482/head:pull/14482
PR: https://git.openjdk.org/jdk/pull/14482
More information about the core-libs-dev
mailing list