RFR: 8256831: MIPS Zero builds fail with undefined __atomic_compare_exchange_8
John Paul Adrian Glaubitz
glaubitz at openjdk.java.net
Mon Nov 23 11:50:55 UTC 2020
On Mon, 23 Nov 2020 11:41:08 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
>>> Otherwise this looks like something that belong in LIBJVM LIBS. In fact, if it is _only_ needed for the hotspot build, it is really where it belong. And even if it's needed in an additional library or two, it should be added on those places. Only if like more or less all libraries require this should it be added as a global flag.
>>
>> So, would adding to `BASIC_JVM_LIBS` at `LIB_SETUP_LIBRARIES` step in `make/autoconf/libraries.m4` be a good place then?
>
> @shipilev Looks like you found the place! :-)
>
> But make sure to build all the JDK libraries as well, to see if it is needed by elsewhere as well.
As a heads-up. I have a working Loongson 2k board at home now (mips64el). So, in case something needs to be tested natively on MIPS, let me know.
-------------
PR: https://git.openjdk.java.net/jdk/pull/1375
More information about the build-dev
mailing list