RFR: 8333189: Make sure clang on linux uses lld as linker
Jiangli Zhou
jiangli at openjdk.org
Wed May 29 15:14:03 UTC 2024
On Wed, 29 May 2024 15:01:27 GMT, Magnus Ihse Bursie <ihse at 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.
Marked as reviewed by jiangli (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/19456#pullrequestreview-2085708768
More information about the hotspot-runtime-dev
mailing list