[SERVER-39964] Modify $SHOBJSUFFIX to make gcc and clang generate different .dwo files for static and dynamic object files Created: 05/Mar/19  Updated: 29/Oct/23  Resolved: 21/Oct/19

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: 4.3.1

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

Backwards Compatibility: Fully Compatible
Sprint: Dev Tools 2019-05-06, Dev Tools 2019-04-22
Participants:

 Description   

Currently static objects use basename.o and dynamic objects use basename.os. Unfortunately both gcc and clang use basename.dwo for the output of -gsplit-dwarf which results in the same file for both static and dynamic objects. The simplest solution involves altering the apparent basename for at least one of them by making the SUFFIX have multiple extensions, such as .dyn.os.



 Comments   
Comment by Githook User [ 21/Oct/19 ]

Author:

{'name': 'Andrew Morrow', 'email': 'andrew.morrow@10gen.com'}

Message: SERVER-39964 Differentiate shared and static suffixes so split dwarf works better
Branch: master
https://github.com/mongodb/mongo/commit/c1b1d4ec6e78138f9944079a1f9328ae90f12e7b

Generated at Thu Feb 08 04:53:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.