[SERVER-69765] turn off default split dwarf on darwin platform Created: 15/Sep/22  Updated: 29/Oct/23  Resolved: 19/Sep/22

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

Type: Bug Priority: Major - P3
Reporter: Daniel Moody Assignee: Daniel Moody
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Problem/Incident
is caused by SERVER-68475 Find solution to relocation overflow ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.1, v6.0
Participants:

 Description   

It apparently is not supported even though it accepts the flag, it does not generate the .dwo.



 Comments   
Comment by Githook User [ 05/Oct/22 ]

Author:

{'name': 'Daniel Moody', 'email': 'daniel.moody@mongodb.com', 'username': 'dmoody256'}

Message: SERVER-69765 fix SPLIT_DWARF condition that broke windows builds

(cherry picked from commit 5551a2950278aac748728c79b75515b054487467)
Branch: v6.1
https://github.com/mongodb/mongo/commit/abdb331b343b601744ecea0da3e93e78890d39b6

Comment by Githook User [ 05/Oct/22 ]

Author:

{'name': 'Daniel Moody', 'email': 'daniel.moody@mongodb.com', 'username': 'dmoody256'}

Message: SERVER-69765 turn off default split-dwarf on macos

(cherry picked from commit badc2e81ee7e7b101713c50bc8b83eb9dad2ee89)
Branch: v6.1
https://github.com/mongodb/mongo/commit/b0a1fdd2b88f2a10f5481fdf14d03bbf92640a75

Comment by Andrew Morrow (Inactive) [ 30/Sep/22 ]

It does not generate the .dwo because it does not need to: macOS builds implicitly in a split dwarf mode, where the dwarf info resides in the object files, and is accumulated into a dsym by the dsymutil utility. So there is no point to using .dwo files.

Comment by Githook User [ 16/Sep/22 ]

Author:

{'name': 'Daniel Moody', 'email': 'daniel.moody@mongodb.com', 'username': 'dmoody256'}

Message: SERVER-69765 fix SPLIT_DWARF condition that broke windows builds
Branch: master
https://github.com/mongodb/mongo/commit/5551a2950278aac748728c79b75515b054487467

Comment by Githook User [ 16/Sep/22 ]

Author:

{'name': 'Daniel Moody', 'email': 'daniel.moody@mongodb.com', 'username': 'dmoody256'}

Message: SERVER-69765 turn off default split-dwarf on macos
Branch: master
https://github.com/mongodb/mongo/commit/badc2e81ee7e7b101713c50bc8b83eb9dad2ee89

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