RFR: 8372337: clang compilation error on hardware_constructive_interference_size
Jan Kratochvil
jkratochvil at openjdk.org
Tue Nov 25 09:02:42 UTC 2025
On Tue, 25 Nov 2025 01:22:42 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:
> Please review this trivial fix for a compiler error when building with clang
> on Linux (and possibly in other configurations with clang). Rathern than
> attempt to version-conditionalize the deprecating declaration of the hardware
> interference variables, just never make the attempt at all, since we don't
> know of a version of clang that will handle the declaration as expected.
>
> Testing: Locally (linux-aarch64) built JDK with clang19.1 as the compiler.
I expected something better, this will compile on clang and later fail on CI/gcc. I will try to make some some autoconf check to produce a declaration compatible with system library, if possible.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28484#issuecomment-3574496187
More information about the hotspot-dev
mailing list