RFR: 8338304: clang on Linux - check for lld presence after JDK-8333189

Matthias Baesken mbaesken at openjdk.org
Wed Aug 14 10:54:58 UTC 2024


After [JDK-8333189](https://bugs.openjdk.org/browse/JDK-8333189) I get now this build error (when using clang on Linux) :
`clang: error: invalid linker name in argument '-fuse-ld=lld'`
We  should better check for lld in the configure process if it is required with clang .

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

Commit messages:
 - JDK-8338304

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

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


More information about the build-dev mailing list