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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Incomplete
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Build
    • 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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 (Inactive)
              Reporter:
              Andrew Morrow (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: