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

Automatically use the gold linker if the compiler honors -fuse-ld

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Build
    • Fully Compatible

      The gold linker is faster and better than the binutils linker, but most toolchains don't use it by default, and most system installations don't use it by default. However, modern compilers offer an -fuse-ld flag, that can be used to select the gold linker by saying -fuse-ld=gold.

      We should test for the ability to use this flag at configure time, and always use gold if available.

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

              Created:
              Updated:
              Resolved: