RFR: 8268014: Build failure on SUSE Linux Enterprise Server 11.4 (s390x) due to 'SYS_get_mempolicy' was not declared

Matthias Baesken mbaesken at openjdk.java.net
Wed Jun 2 11:00:33 UTC 2021


On Wed, 2 Jun 2021 07:00:53 GMT, Jie Fu <jiefu at openjdk.org> wrote:

> > hi, I checked with the larger fix you proposed yesterday. This fixed the night build.
> 
> Thanks @MBaesken .
> If you're fine with the latest version, could please also test it on your s390 machines?
> Thanks.

Unfortunately, the latest (short) version  fails with 
src/hotspot/os/linux/os_linux.cpp:2966:27: error: '__NR_get_mempolicy' was not declared in this scope
 #define SYS_get_mempolicy __NR_get_mempolicy
                           ^~~~~~~~~~~~~~~~~~

While __NR_get_mempolicy is on the machine in the system headers; it is not picked up, too bad.
Not sure what to include in this case ...

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

PR: https://git.openjdk.java.net/jdk/pull/4277


More information about the hotspot-runtime-dev mailing list