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

Enable support for MiniDebugInfo in third_party libunwind

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Build
    • Labels:
      None
    • Server Development Platform

      RHEL and Fedora systems use LZMA to compress debuginfo in binaries called MiniDebugInfo. Currently, our third-party copy of libunwind supports MiniDebugInfo but we do not enable support for MiniDebugInfo in libunwind. By enabling support, we will improve our stack traces on some platforms.

      We should enable this in 4.4.1. It will not be a breaking change since MongoDB binaries link in liblzma already in 4.4.0. This means that packages like RPMs require lzma to be installed on the system. Currently, we link to lzma but do not use any functions in it. The ld.gold libary

      Support can be enabled by defining HAVE_LZMA. We should also test for the <lzma.h> header in SConstruct.

      References:
      https://fedoraproject.org/wiki/Features/MiniDebugInfo
      https://sourceware.org/gdb/onlinedocs/gdb/MiniDebugInfo.html

            Assignee:
            backlog-server-devplatform [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
            Reporter:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: