[jdk17u-dev] RFR: 8324243: Compilation failures in java.desktop module with gcc 14
Jan Kratochvil
jkratochvil at openjdk.org
Thu May 16 01:38:09 UTC 2024
On Wed, 15 May 2024 13:10:39 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:
>> It is needed to build OpenJDK-17 on Fedora 40 x86_64 (gcc-14.1.1-1.fc40.x86_64).
>> It needs all of [JDK-8328997](https://bugs.openjdk.org/browse/JDK-8328997) ([backport](https://github.com/openjdk/jdk17u-dev/pull/2466)), [JDK-8331352](https://bugs.openjdk.org/browse/JDK-8331352) ([backport](https://github.com/openjdk/jdk17u-dev/pull/2467)) and [JDK-8324243](https://bugs.openjdk.org/browse/JDK-8324243) (this [backport](https://github.com/openjdk/jdk17u-dev/pull/2468)).
>> Git cherry-pick was not clean but it was easy to apply.
>
> make/modules/java.desktop/lib/Awt2dLibraries.gmk line 473:
>
>> 471: HARFBUZZ_DISABLED_WARNINGS_CXX_gcc := reorder delete-non-virtual-dtor strict-overflow \
>> 472: maybe-uninitialized class-memaccess unused-result extra use-after-free noexcept-type \
>> 473: expansion-to-defined dangling-reference calloc-transposed-args
>
> Can you include https://github.com/openjdk/jdk/commit/ec79ab4b3cd89c2c0a9c8550cd62433bd6d45266, please, such that the code looks like the upstream version?
> And consider using "/issue add JDK-8319268". GCC8 should still be supported.
I would like to backport it separately. The list of versions affected is different and moreover I do not have the problem reproducible. I have tried devtoolset-8-gcc-8.3.1-3.2.el7.x86_64 (CentOS-7) and gcc-8.3.0.tar.xz (rebuilt from source). I have tried to build this branch https://github.com/jankratochvil/jdk17u-dev/tree/8324243 .
-------------
PR Review Comment: https://git.openjdk.org/jdk17u-dev/pull/2468#discussion_r1602431025
More information about the jdk-updates-dev
mailing list