RFR: 8313592: RISC-V: Link libatomic statically
Vladimir Kempik
vkempik at openjdk.org
Thu Aug 3 20:50:32 UTC 2023
On Wed, 2 Aug 2023 06:55:40 GMT, Ludovic Henry <luhenry at 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.
All good, apparently my devkit has libatomic.a
-------------
Marked as reviewed by vkempik (Committer).
PR Review: https://git.openjdk.org/jdk/pull/15119#pullrequestreview-1561839955
More information about the build-dev
mailing list