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

Avoid including a static copy of the GCC and C++ runtimes in every shared library

    • Type: Icon: Improvement Improvement
    • Resolution: Incomplete
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Build
    • Labels:
      None
    • Dev Platform 2020-08-24, Dev Platform 2020-09-07, Dev Platform 2020-09-21, Dev Platform 2020-10-05, Dev Platform 2020-10-19, Dev Platform 2020-11-02, Dev Platform 2020-11-16, Dev Platform 2020-11-30, Dev Platform 2020-12-14, Dev Platform 2021-05-17, Dev Platform 2021-05-31, Dev Platform 2021-06-14, Dev Platform 2021-07-12, Dev Platform 2021-07-26, Dev Platform 2021-08-09, Dev Platform 2021-08-23
    • 45

      When building with --link-model=dynamic using the mongodb toolchain, every shared library is linked against a static copy of the GCC and C++ runtimes. This bloats the build, slows startup, and is just generally undesirable. We should find a way to avoid needing every shared library to embed a static copy of the GCC and runtimes when using the toolchain.

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

              Created:
              Updated:
              Resolved: