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

Prefer lld when available

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.1
    • None
    • Build
    • None
    • Fully Compatible
    • Dev Tools 2019-10-21

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: