On Wed, 29 May 2024 15:10:58 GMT, Jiangli Zhou <jian...@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).

@jianglizhou Did you verify that this works on your system? Apparently your 
environment and mine has differed, since you have been able to build with clang 
without this patch. If you did not, I'd appreciate if you could take it for a 
spin, so I know I won't break anything in environments similar to your.

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

PR Comment: https://git.openjdk.org/jdk/pull/19456#issuecomment-2137761321

Reply via email to