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

Investigate linking libunwind with libz and lzma

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

      In SERVER-61856, it was found that we aren't actually using lzma via libunwind due to configuring with --disable-minidebuginfo.

      Also it was found, that our pre configuration generated on RHEL6.2 x86_64 does not allow for decompressing .debug_info sections, but the Ubuntu 16 arm64 pre-config did. For now the zlib decompression was disabled, potentially hiding debug info from unwind if the library happens to have compressed debug info.

      Another issue with zlib in libunwind is the dependency ordering of our build, we don't want zlib to be built before libunwind and tcmalloc because of its use in the server libraries. 

      This ticket is to investigate and decided what to do about these libraries in the context libunwind.

            Assignee:
            daniel.moody@mongodb.com Daniel Moody
            Reporter:
            daniel.moody@mongodb.com Daniel Moody
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: