Re: RFR: 8313592: RISC-V: Link libatomic statically

2023-08-08 Thread Ludovic Henry
On Wed, 2 Aug 2023 06:55:40 GMT, Ludovic Henry 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

Re: RFR: 8313592: RISC-V: Link libatomic statically

2023-08-05 Thread Fei Yang
On Fri, 4 Aug 2023 14:58:08 GMT, Ludovic Henry 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

Re: RFR: 8313592: RISC-V: Link libatomic statically

2023-08-04 Thread Ludovic Henry
On Fri, 4 Aug 2023 09:10:48 GMT, Fei Yang 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,

Re: RFR: 8313592: RISC-V: Link libatomic statically

2023-08-04 Thread Fei Yang
On Wed, 2 Aug 2023 06:55:40 GMT, Ludovic Henry 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

Re: RFR: 8313592: RISC-V: Link libatomic statically

2023-08-03 Thread Vladimir Kempik
On Wed, 2 Aug 2023 06:55:40 GMT, Ludovic Henry 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

Re: RFR: 8313592: RISC-V: Link libatomic statically

2023-08-03 Thread Vladimir Kempik
On Wed, 2 Aug 2023 06:55:40 GMT, Ludovic Henry 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

Re: RFR: 8313592: RISC-V: Link libatomic statically

2023-08-03 Thread Hamlin Li
On Wed, 2 Aug 2023 06:55:40 GMT, Ludovic Henry 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

RFR: 8313592: RISC-V: Link libatomic statically

2023-08-02 Thread Ludovic Henry
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