Determine what external libraries (excluding src/third_party) are used by our binaries

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • DevProd Build
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In addition to the explicitly versioned libraries in src/third_party, buliding mongod/mongos/etc. brings in other system libraries as part of the build process. Some of these are linked statically (e.g. libstdc++), while others are linked dynamically (e.g. openssl), and are later loaded dynamically at runtime.

      Since bazel does sandboxed builds, we should be able to determine a complete list of these libraries from our build process. Libraries which are implicitly included in the build process (e.g. libc) should also be listed. We should also be able to determine,, from the build process, which libraries are being statically linked. The list of dynamically linked libraries will then be the difference between these two lists.

      This ticket is part of the WRITING-31196 postmortem process, as a dependency of SERVER-111210.

            Assignee:
            Andrew Bradshaw
            Reporter:
            Ronald Steinke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: