RFR: 8351399: AIX: Better solution than JDK8348663
Joachim Kern
jkern at openjdk.org
Fri Mar 7 09:36:54 UTC 2025
On Fri, 7 Mar 2025 09:28:15 GMT, Joachim Kern <jkern at openjdk.org> wrote:
> With
> [JDK-8348663](https://bugs.openjdk.org/browse/JDK-8348663) [AIX] clang pollutes the burned-in library search paths of the generated executables
> an ugly workaround was introduced to get rid of the unwanted list of search libraries the clang compiler automatically burns into the executable files.
> Now we have a better solution, using just a different linker flag.
> Instead of using the linker option -bnolibpath, which forces the LIBPATH env variable to be burned in, we now use the -blibpath:/usr/lib:lib option, which explicitly tells what to burn in.
> I will revert the last change of [JDK-8348663](https://bugs.openjdk.org/browse/JDK-8348663) and introduce this new change.
@magicus: To make you happy I have found a simple solution to get rid of the ugly shell script wrapper to clean the burned library path. Please take a look.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23942#issuecomment-2705966667
More information about the build-dev
mailing list