[SERVER-57688] Fix debug gcc 11 and clang 12 builds on Fedora 34 Created: 14/Jun/21  Updated: 29/Oct/23  Resolved: 21/Jun/21

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

Type: Task Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Mark Benvenuto
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Security 2021-06-28
Participants:

 Description   

1. gcc 11 is unhappy with -Wno-exceptions set on C files. While it can be changed to localized only to C++ files, the flag is no longer needed as it works around a bug that no longer exists.

2. src/mongo/db/query/plan_summary_stats.h is missing an include for <optional>

3. src/mongo/util/shim_boost_assert.cpp is missing an include for <exception>

 



 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 [ 21/Jun/21 ]

Author:

{'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}

Message: SERVER-57688 Fix debug gcc 11 and clang 12 builds on Fedora 34
Branch: master
https://github.com/mongodb/mongo/commit/e78b2bf6eaa0c43bd76dbb841add167b443d2bb0

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