On Wed, 2 Aug 2023 06:55:40 GMT, Ludovic Henry <luhe...@openjdk.org> wrote:
> Currently, RISC-V differs from other platforms in that it requires the > linkage to libatomic.so to support sub-word atomic operations. However, > because it is linked dynamically, it will depend on the installation of > libatomic.so on the system where the Java application will run, which no > other platform require. > > Instead of dynamically linking, we can statically link so that there is no > dependency at run-time as it's already statically linked into libjvm.so. I think you're good to go, as the cross compilation issue should not be introduced by your change, and I saw other PRs have the similar issue. ------------- Marked as reviewed by mli (Reviewer). PR Review: https://git.openjdk.org/jdk/pull/15119#pullrequestreview-1560797009