Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-43979

Prefer lld when available

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Build
    • None
    • Fully Compatible
    • Dev Tools 2019-10-21

      The clang lld linker is faster than even ld.gold. When the compiler supports -fuse-ld=lld we should prefer to use lld.

      This won't have much of an effect with our waterfall builds because the toolchain v3 version of GCC doesn't support --fuse-ld=lld. But the toolchain clang does, so this will speed up any clang builds we do (like ASAN). It will also speed up local developer builds for developers who are using clang, or using a system GCC new enough to support the flag.

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: