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

Magnus Ihse Bursie ihse at openjdk.org
Fri Apr 12 12:30:49 UTC 2024


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.

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

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

Changes: https://git.openjdk.org/jdk/pull/18759/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18759&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8330110
  Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/18759.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18759/head:pull/18759

PR: https://git.openjdk.org/jdk/pull/18759


More information about the build-dev mailing list