RFR: 8330110: AIX build fails after JDK-8329704 - issue with libjli.a

Martin Doerr mdoerr at openjdk.org
Fri Apr 12 14:11:42 UTC 2024


On Fri, 12 Apr 2024 12:26:06 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> Unfortunately, after [JDK-8329704](https://bugs.openjdk.org/browse/JDK-8329704) AIX fails to build. The reason is that libjli is specially treated on AIX, and built like a static library. I tried to compensate for this (and had tested on an earlier draft), but some late-minute changes in JDK-8329704 made this check fail.
> 
> At this point, I will not add any more checks for `$1_$2_STATIC_LIBRARY` in `ResolveLibPath`. From reading the code, it become apparent that building with `STATIC_BUILD` (n.b. -- not `STATIC_LIBS`!) will likely fail. This has on the other hand not been tested for a long time, and is likely bit-rotten anyway. Also, I will very soon address all of these shortcomings in the upcoming rewrite for proper static builds.

Thanks for fixing it so quickly!

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

Marked as reviewed by mdoerr (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/18759#pullrequestreview-1997252234


More information about the build-dev mailing list