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

Darwin --separate-debug tool should not strip with the `x` flag

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.7.0, 4.4.2
    • Component/s: Build
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4
    • Sprint:
      Dev Platform 2020-09-07

      Description

      When support for --separate-debug was added (https://github.com/mongodb/mongo/commit/6d475fdb5a76acab760ce4b6709b60a4c8c9aec6) as part of mobile development, we intended to strip local symbols, where doing so was appropriate and perhaps important for size reasons.

      Later, we started using --separate-debug for all builds, whether or not stripping local symbols was appropriate.

      As a result, macOS builds are having local symbol information stripped, which may result in inferior debugging or backtracing. We should remove the -x flag from the $STRIP invocation on Darwin in separate_debug.py.

        Attachments

          Activity

            People

            Assignee:
            acm Andrew Morrow
            Reporter:
            acm Andrew Morrow
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: