[SERVER-56568] Disable vptr UBSAN checks in dynamic builds and remove LIBDEPS_TYPEINFO Created: 03/May/21  Updated: 29/Oct/23  Resolved: 09/Jul/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.2, 5.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
related to SERVER-49798 Enforce correct library graph for ubs... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0
Sprint: Dev Platform 2021-05-17, Dev Platform 2021-05-31, Dev Platform 2021-06-14, Dev Platform 2021-07-12
Participants:

 Description   

Enforcing a variant libdeps graph for dynamic UBSAN builds has generated a lot of complexity. It seems that a better choice may just be to disable the vptr checks in dynamic builds. The current UBSAN builder is static so we will still have coverage there.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 20/Jul/21 ]

Author:

{'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}

Message: SERVER-56568 Remove LIBDEPS_TYPEINFO in favor of disabling vptr sanitizer for dyanmic builds

This reverts the changes made for SERVER-49798 in favor of disabling
the vptr sanitizer when using ubsan for --link-model=dynamic builds.

(cherry picked from commit 4122e4b7ddc05b49b35aab04ba0d4a70d73f7adf)
Branch: v5.0
https://github.com/mongodb/mongo/commit/8c1a44ead551a98b2cb9e7b93981b7bb2a5df69a

Comment by Githook User [ 09/Jul/21 ]

Author:

{'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}

Message: SERVER-56568 Remove LIBDEPS_TYPEINFO in favor of disabling vptr sanitizer for dyanmic builds

This reverts the changes made for SERVER-49798 in favor of disabling
the vptr sanitizer when using ubsan for --link-model=dynamic builds.
Branch: master
https://github.com/mongodb/mongo/commit/4122e4b7ddc05b49b35aab04ba0d4a70d73f7adf

Generated at Thu Feb 08 05:39:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.