[SERVER-27229] Disable ODR violation detection for UBSAN builds Created: 30/Nov/16 Updated: 05/Apr/17 Resolved: 30/Nov/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | 3.5.1 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | Andrew Morrow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Sprint: | Platforms 2017-01-23 | ||||
| Participants: | |||||
| Linked BF Score: | 0 | ||||
| Description |
|
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. |
| Comments |
| Comment by Githook User [ 30/Nov/16 ] |
|
Author: {u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}Message: |