An error will be reported when compiling the master on OrangeP5 Plus
Thomas Stüfe
thomas.stuefe at gmail.com
Sun Oct 15 07:58:39 UTC 2023
Okay
https://bugs.openjdk.org/browse/JDK-8318119
On Sun, Oct 15, 2023 at 9:40 AM wenshao <shaojin.wensj at alibaba-inc.com>
wrote:
> After testing one by one, I found that this compilation error was caused
> by PR #15041 ( https://github.com/openjdk/jdk/pull/15041 )
>
> ------------------------------------------------------------------
> From:David Holmes <david.holmes at oracle.com>
> Sent At:2023 Oct. 3 (Tue.) 10:36
> To:WEN Shaojin <shaojin.wensj at alibaba-inc.com>;
> hotspot-runtime-dev at openjdk.java.net <hotspot-runtime-dev at openjdk.java.net
> >
> Cc:core-libs-dev <core-libs-dev at openjdk.org>
> Subject:Re: An error will be reported when compiling the master on
> OrangeP5 Plus
>
> Moving to hotspot-runtime-dev as this is a VM crash with compressed Oops.
>
> David
>
> On 1/10/2023 10:49 am, 温绍锦(高铁) wrote:
> >
> > An error will be reported when compiling the master on OrangeP5 Plus
> > (
> http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-5-plus.html
> <
> http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-5-plus.html>),
> but the compilation of the 21u version is passed.
> >
> > The error message is as follows:
> >
> > ```
> > Creating support/demos/image/jfc/TransparentRuler/TransparentRuler.jar
> > Creating support/classlist.jar
> > /usr/bin/bash: line 15: 854142 Aborted
> >
> /root/git/jdk/build/linux-aarch64-server-release/support/interim-image/bin/java
> -XX:DumpLoadedClassList=/root/git/jdk/build/linux-aarch64-server-release/support/link_opt/classlist.raw.2
> -XX:SharedClassListFile=/root/git/jdk/build/linux-aarch64-server-release/support/link_opt/classlist.interim
> -XX:SharedArchiveFile=/root/git/jdk/build/linux-aarch64-server-release/support/link_opt/classlist.jsa
> -Djava.lang.invoke.MethodHandle.TRACE_RESOLVE=true -Duser.language=en
> -Duser.country=US --module-path
> /root/git/jdk/build/linux-aarch64-server-release/support/classlist.jar -cp
> /root/git/jdk/build/linux-aarch64-server-release/support/classlist.jar
> build.tools.classlist.HelloClasslist 2>
> /root/git/jdk/build/linux-aarch64-server-release/support/link_opt/stderr >
> /root/git/jdk/build/linux-aarch64-server-release/support/link_opt/default_jli_trace.txt
> > ERROR: Failed to generate link optimization data. This is likely a
> > problem with the newly built JVM/JDK.
> > #
> > # A fatal error has been detected by the Java Runtime Environment:
> > #
> > # Internal Error (macroAssembler_aarch64.cpp:4654), pid=854142,
> tid=854143
> > # guarantee((shifted_base & 0xffff0000ffffffff) == 0) failed:
> > compressed class base bad alignment
> > #
> > # JRE version: (22.0) (build )
> > # Java VM: OpenJDK 64-Bit Server VM (22-internal-adhoc.root.jdk, mixed
> > mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc,
> > linux-aarch64)
> > # Problematic frame:
> > # V [libjvm.so+0xae20d0]
> > MacroAssembler::decode_klass_not_null(Register, Register)+0x250
> > #
> > # No core dump will be written. Core dumps have been disabled. To enable
> > core dumping, try "ulimit -c unlimited" before starting Java again
> > #
> > # An error report file with more information is saved as:
> > # /root/git/jdk/make/hs_err_pid854142.log
> > #
> > #
> > gmake[3]: *** [GenerateLinkOptData.gmk:71:
> >
> /root/git/jdk/build/linux-aarch64-server-release/support/link_opt/classlist]
> Error 134
> > gmake[2]: *** [make/Main.gmk:649: generate-link-opt-data] Error 2
> > gmake[2]: *** Waiting for unfinished jobs....
> > ERROR: Build failed for target 'images' in configuration
> > 'linux-aarch64-server-release' (exit code 2)
> > Stopping javac server
> > No indication of failed target found.
> > HELP: Try searching the build log for '] Error'.
> > HELP: Run 'make doctor' to diagnose build problems.
> > make[1]: *** [/root/git/jdk/make/Init.gmk:323: main] Error 2
> > make: *** [/root/git/jdk/make/Init.gmk:189: images] Error 2
> > ```
> >
> >
> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-runtime-dev/attachments/20231015/00efd6d4/attachment-0001.htm>
More information about the hotspot-runtime-dev
mailing list