[SERVER-71209] Prefer 64-bit dwarf to fdebug-types-section when available Created: 09/Nov/22  Updated: 29/Oct/23  Resolved: 16/Nov/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.3.0-rc0

Type: Improvement 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:
Duplicate
is duplicated by SERVER-70555 disable unnecessary use of -fdebug-ty... Closed
Backwards Compatibility: Fully Compatible
Participants:

 Comments   
Comment by Githook User [ 16/Nov/22 ]

Author:

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

Message: SERVER-71209 Prefer 64 bit dwarf to debug types sections

Also changes to `-g2` over `-ggdb` since our research
has indicated that `-ggdb` has no effect in our builds.
Branch: master
https://github.com/mongodb/mongo/commit/4c9932cffeeda2f250473d24d52cf4b8ac095c1d

Comment by Andrew Morrow (Inactive) [ 09/Nov/22 ]

As an additional part of this work, we will stop using -ggdb since it doesn't appear to actually do anything useful, and enable -gstrict-dwarf to ensure that we actually fully honor the selected DWARF_VERSION and disallow the compiler from opting in to any future new DWARF behaviors until we explicitly jump to the new version.

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