Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8333189

Make sure clang on linux uses lld as linker

XMLWordPrintable

    • b25

      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.

            ihse Magnus Ihse Bursie
            ihse Magnus Ihse Bursie
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: