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

Order of libraries passed to linker is non-deterministic, causing extraneous rebuilds

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.3
    • Affects Version/s: None
    • Component/s: Build
    • Fully Compatible
    • ALL
    • Platforms 2017-01-23, Platforms 2017-02-13

      Running "scons mongod" twice in a row could result in actually re-linking mongod the second time, even though it should be a no-op. This is because the ordering of the libraries passed to the link step can change, causing scons to think something is different and a rebuild is necessary.

        1. buildOutput.2.txt
          56 kB
        2. buildOutput.1.txt
          56 kB

            Assignee:
            gabriel.russell@mongodb.com Gabriel Russell (Inactive)
            Reporter:
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: