Fix long link times on OS X by passing -no_deduplicate to the linker

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.6.2, 3.7.1
    • Affects Version/s: None
    • Component/s: Build
    • None
    • Fully Compatible
    • v3.6
    • Storage 2017-11-13, Storage 2017-12-04
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Debug builds on OS X take about 45 seconds on my system to link, with the linker spending almost all of its time deduping symbols. By adding the -Wl,-no_deduplicate flag to LINKFLAGS we cut the link time to 4 seconds. Optimized builds do not seem to be affected.

              Assignee:
              Geert Bosch
              Reporter:
              Geert Bosch
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: