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

Create debug mode build variant

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0, 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Dev Platform 2022-06-27, Dev Platform 2022-07-11
    • 130

      https://gcc.gnu.org/onlinedocs/libstdc++/manual/debug_mode.html

      By compiling with this flag the stl adds asserts to containers and iterators to detect for misuse.

      For example, comparing iterators from two different objects would fall under this case and be caught by an assert.

      For compiles we need to compile with `--use-glibcxx-debug --dbg=on --allocator=system`

      The goal of this ticket is to
      1. See if we can compile mongodb with debug mode
      2. If we can compile, then enable some visibility to start evaluating the usefulness of debug mode (can be done though a nightly job)

            Assignee:
            alex.neben@mongodb.com Alex Neben
            Reporter:
            alex.neben@mongodb.com Alex Neben
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: