[SERVER-42361] libunwind must not interpose on C++ runtime ABI functions Created: 23/Jul/19 Updated: 29/Oct/23 Resolved: 24/Jul/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | Billy Donahue |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Sprint: | Dev Tools 2019-07-29 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 48 | ||||||||
| Description |
|
It appears that along with the unw_* family of functions, our build of libunwind as currently configured also includes definitions of the _Unwind_* family of functions, leading to disaster when those versions are selected instead of the toolchains C++ runtime version. We should configure libunwind so that it only offers the unw_* functions. |
| Comments |
| Comment by Githook User [ 24/Jul/19 ] |
|
Author: {'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue'}Message: |
| Comment by Billy Donahue [ 24/Jul/19 ] |
|
https://mongodbcr.appspot.com/476330005/ After which libunwind contains: |
| Comment by Andrew Morrow (Inactive) [ 23/Jul/19 ] |
|
billy.donahue - I think all that needs to happen is to re-run the host_config.sh script with --disable-cxx-exceptions. |