[jdk11u-dev] RFR: 8284206: AIX build failure by JDK-8261169 requires a short-term solution

Martin Doerr mdoerr at openjdk.java.net
Wed Apr 6 15:31:34 UTC 2022


On Sat, 2 Apr 2022 15:58:14 GMT, Ichiroh Takiguchi <itakiguchi at openjdk.org> wrote:

> AIX build was failed by [JDK-8261169](https://bugs.openjdk.java.net/browse/JDK-8261169) against jdk11u-dev.
> To fix this issue, C++ compiler should migrate from XL C++ 13.1.3 to XL C++ 16.1.
> Also we need to switch from xlC-based to clang-based compiler.
> 
> I want to request some backports (which are not related Harfbuzz) against AIX platform.
> For short-term solution, I'd like to keep Harfbuzz 2.3.1 just for AIX platform only.
> 
> * Copy Harfbuzz 2.3.1 to src/java.desktop/aix/native/libharfbuzz
> * Modify make/lib/Awt2dLibraries.gmk
> 
> By there changes, we can use xlC-based XL C++ 13.1.3 and 16.1.
> 
> So please backout this change before migrating to clang-based 16.1.

I don't know if changing runtime requirements is really problematic. Updating the JVM sometimes implies updating/installing libraries. The xlclang compatible runtime is not really new.

It may also be an option to support both for 11.0.16 depending on the installed compiler on the build machine:

- Old harfbuzz with old xlc
- New harfbuzz with xlclang

But I'll leave you guys free to decide.

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

PR: https://git.openjdk.java.net/jdk11u-dev/pull/991


More information about the jdk-updates-dev mailing list