RFR: 8313592: RISC-V: Link libatomic statically
Ludovic Henry
luhenry at openjdk.org
Fri Aug 4 15:00:29 UTC 2023
On Fri, 4 Aug 2023 09:10:48 GMT, Fei Yang <fyang at openjdk.org> wrote:
> Hello, did you check the license for libatomic.a? Is it compatible with libjvm.so?
When compiling with gcc or clang (which are AFAIK the only compiler supported for Linux-RISC-V), it uses the compiler's implementation. In the case of GCC, the license is GPL, which is the same as the OpenJDK (GPL with classpath exception). In the case of Clang/LLVM, the license is Apache License 2.0 which is less constraining than GPL.
AFAIU, we should be in the clear. Let me know if you've another read or if you know some more competent people who could answer that question.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15119#issuecomment-1665747909
More information about the build-dev
mailing list