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

Disable ODR violation detection for UBSAN builds

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.1
    • Affects Version/s: None
    • Component/s: Build
    • Labels:
      None
    • Fully Compatible
    • Platforms 2017-01-23
    • 0

      The gold --detect-odr-violations flag seems to break our undefined behavior sanitizer build. That build is pretty weird, where we are using the system clang with --nostdlib++ and pointing it at the mongodbtoolchain libstdc++. It probably isn't worth trying to unravel that, and better to just disable the ODR violation detection for UBSAN builds.

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

              Created:
              Updated:
              Resolved: