Hi,
Thanks for the testing and the report, Matthias!
On 12/11/20 11:29 AM, Magnus Ihse Bursie wrote:
If we need -latomic on certain platforms we should add it on those
platforms, but I would prefer not to add it unconditionally. But then
again, if you want to add it for a bunch of system which are only
supported on zero, I will not argue hard against it.
This whole shebang is Zero-specific problem, so I see no reason to link
libatomic unconditionally.
AFAICS, Matthias' patch adds libatomic to platforms that are nominally supported by Server (i.e.
ARM). It used to handle only MIPS that is only supported by Zero. So the patch would be a bit
reworked to accept only Zero.
I did it here:
https://bugs.openjdk.java.net/browse/JDK-8259043
https://github.com/openjdk/jdk16/pull/76
Matthias, please give it a spin, if you can.
--
Thanks,
-Aleksey