[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:
Depends
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: SERVER-27229 Don't do ODR detection with UBSAN
Branch: master
https://github.com/mongodb/mongo/commit/df58fb13b7a6344d45830dfc7864862d53aa6643

Generated at Thu Feb 08 04:14:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.