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

Support Object Mode Link Model and LTO (Link Time Optimization) in Bazel

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Build

      The majority of the work to enable LTO will be to implement object mode linking in Bazel. Object mode also enables faster compilation over static mode linking, so supporting object mode likely will have more benefit in itself than supporting LTO.

      Object mode = skips generating the archive files and instead statically links the raw object files statically into the final binary
      LTO = Code generation in the link time step, which allows for optimizations that require the compiler to know information across compilation barriers (ex. inlining functions with implementations in external targets)

            Assignee:
            Unassigned Unassigned
            Reporter:
            zack.winter@mongodb.com Zack Winter
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: