RFR: 8295666: Linux x86 build fails after 8292591
Aleksey Shipilev
shade at openjdk.org
Thu Oct 20 07:23:33 UTC 2022
On Wed, 19 Oct 2022 16:15:18 GMT, Boris Ulasevich <bulasevich at openjdk.org> wrote:
> I have got build failure similar to recent [Linux aarch64](https://github.com/openjdk/jdk/pull/10265) and [Linux Alpha Zero](https://github.com/openjdk/jdk/pull/10721) failures:
>
>
> src/hotspot/os/linux/systemMemoryBarrier_linux.cpp:65:18: error: 'SYS_membarrier' was not declared in this scope
> return syscall(SYS_membarrier, cmd, flags, cpu_id); // cpu_id only on >= 5.10
> ^~~~~~~~~~~~~~
>
>
> The failure is known to be fixed by adding missing ` SYS_membarrier` definition. The raw constant 375 is taken from the `linux-libc-dev_6.0.2-1_i386.deb' cross-compilation headers:
This looks right, thanks.
-------------
Marked as reviewed by shade (Reviewer).
PR: https://git.openjdk.org/jdk/pull/10771
More information about the hotspot-runtime-dev
mailing list