On Wed, 29 May 2024 15:01:27 GMT, Magnus Ihse Bursie <i...@openjdk.org> wrote:
> When compiling with clang on linux, clang can decide to pick up the bfd > linker instead of lld, the LLVM linker. This will invalidate assumptions > about command lines that are passed on to the linker. We should use > -fuse-ld=lld to force clang to always pick lld as the linker, so we can be > sure that the command lines will work. This pull request has now been integrated. Changeset: 789ac8b2 Author: Magnus Ihse Bursie <i...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/789ac8b2768671ec83a7ed4a72c5fe27a1734c5e Stats: 10 lines in 4 files changed: 8 ins; 0 del; 2 mod 8333189: Make sure clang on linux uses lld as linker Reviewed-by: jiangli, erikj ------------- PR: https://git.openjdk.org/jdk/pull/19456