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.

Hello, did you check the license for libatomic.a? Is it compatible with 
libjvm.so? I am not quite sure whether this will have an impact on vendors who 
want to make a release of their own. AFAIK, linking to some GPL static libs 
means open source in certain cases.

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

PR Comment: https://git.openjdk.org/jdk/pull/15119#issuecomment-1665290377

Reply via email to