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

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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0, 4.4.2
    • Affects Version/s: None
    • Component/s: Build
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • Dev Platform 2020-09-07

      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.

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: