[jdk8u-dev] RFR: 8342822: jdk8u432-b06 does not compile on AIX
Francisco Ferrari Bihurriet
fferrari at openjdk.org
Tue Nov 5 14:44:37 UTC 2024
On Tue, 5 Nov 2024 06:52:15 GMT, Varada M <varadam at openjdk.org> wrote:
>> @varada1110 Please enable GHA testing on your fork. Thanks!
>
> Hi @jerboaa, Could you please review the code changes.
> Thanks,
> Varada
@varada1110: the cause of this build error seems to be that while `jdk8u` uses the C++98 standard, the `long long` overload for `abs` was introduced in C++11:
long long int abs (long long int n);
Haven't you found the same problem with `jdk11u`? At least in _Linux x64_ `src/hotspot/share/opto/superword.cpp` is built with `-std=gnu++98`.
-------------
PR Comment: https://git.openjdk.org/jdk8u-dev/pull/600#issuecomment-2457358531
More information about the jdk8u-dev
mailing list