[SERVER-77527] mongodbtoolchain/v3 stdlib unsafe against self-moves Created: 26/May/23 Updated: 29/Oct/23 Resolved: 29/Jun/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0, 6.3.2, 5.0.19, 4.4.23, 7.0.0-rc6, 6.0.8 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Billy Donahue | Assignee: | Daniel Moody |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Assigned Teams: |
Server Development Platform
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Participants: | |||||
| Linked BF Score: | 0 | ||||
| Description |
|
Capturing action recommendations from BF investigation. allison.easton@mongodb.com summarized well here:
billy.donahue@mongodb.com and matt.diener@mongodb.com confirmed this assessment after further investigation into whether this could be confined to tests. Unfortunately it is not.
|
| Comments |
| Comment by Daniel Moody [ 28/Jun/23 ] | ||||||||||||
|
I verified this was fixed with the test code: test.cpp
Then compiling with the old v3 toolchain:
gives:
now compiling with the latest v3:
gives no error:
| ||||||||||||
| Comment by Daniel Moody [ 27/Jun/23 ] | ||||||||||||
|
toolchain is deployed in almost all the platforms, I will verify if I can detect the UB with some of billy.donahue@mongodb.com's examples | ||||||||||||
| Comment by Daniel Moody [ 15/Jun/23 ] | ||||||||||||
|
after the toolchain is deployed in BUILD-17505 the stdlibc++ patch can be verified to be deployed in v3 builders and we can close this. |