Switch to using tcmalloc's native build system

XMLWordPrintableJSON

    • DevProd Build
    • v8.2, v8.1, v8.0
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      tcmalloc is a library that's fairly sensitive to build system configuration. It's currently not set up to use the native build definitions (targets, flags, etc), which has previously caused a lot of confusion when trying to root cause issues, see the text below from the original ticket:

      The dist tcmalloc build forces static linking on certain libraries that are sensitive to load order, ex tcmalloc_internal_percpu:

      https://github.com/google/tcmalloc/blob/master/tcmalloc/internal/BUILD#L590

      Force static linking on any of the targets we're building that Google's tcmalloc build system marked as "linkstatic".

      This is possibly the cause of https://jira.mongodb.org/browse/BF-32587

            Assignee:
            Unassigned
            Reporter:
            Zack Winter
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: