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.

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

Commit messages:
 - JDK-8351399

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

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

Reply via email to