[SERVER-45197] Ninja builder creates invalid file when SCons split dwarf emitter is enabled Created: 17/Dec/19  Updated: 29/Oct/23  Resolved: 17/Dec/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: Mathew Robinson (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Dev Platform 2019-12-30
Participants:

 Description   

The ninja generator tries to honor what SCons has told it about the files we produce, but Ninja itself does not offer support (https://github.com/ninja-build/ninja/issues/1184).

In such cases, it is probably safe to only emit the knowledge of target[0], since if that is out of date, then it is reasonable to assume that any additional compiler outputs will be generated as well.



 Comments   
Comment by Githook User [ 17/Dec/19 ]

Author:

{'name': 'Mathew Robinson', 'email': 'mathew.robinson@mongodb.com', 'username': 'chasinglogic'}

Message: SERVER-45197 Ninja builder creates invalid file when SCons split dwarf emitter is enabled
Branch: master
https://github.com/mongodb/mongo/commit/5660c43032b558349ca9a2e1b7e853945b082a60

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