[SERVER-72505] Remove -moutline-atomics as LSE atomics are implied by the minimum target armv8.2-a Created: 04/Jan/23  Updated: 29/Oct/23  Resolved: 20/Mar/23

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

Type: Improvement Priority: Major - P3
Reporter: Daniel Gomez Ferro Assignee: Alex Neben
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-51722 Ensure that MongoDB builds with ARM L... Closed
related to WT-9256 Investigate changes to WiredTiger for... Closed
Assigned Teams:
Server Development Platform
Backwards Compatibility: Fully Compatible
Participants:

 Description   

SERVER-51722 added -moutline-atomics on AArch64 in order to dynamically use LSE atomics on architectures that supported it. Since then we realized WT needs LSE atomics for correctness ( WT-9256 ) and we bumped the minimum target to armv8.2-a both for master ( SERVER-55178 ) and older branches ( SERVER-71772 ) in order to guarantee LSE atomics support. This means we no longer need the -moutline-atomics flag.



 Comments   
Comment by Githook User [ 20/Mar/23 ]

Author:

{'name': 'Alexander Neben', 'email': 'alexander.neben@mongodb.com', 'username': 'IamXander'}

Message: SERVER-72505 Removed extra aarch64 flag
Branch: master
https://github.com/mongodb/mongo/commit/369f6e82b89ca0fd8238676bc1e9f39e9272c2fc

Comment by Alex Neben [ 20/Mar/23 ]

This is not something that is needed. This flag is just implied by SERVER-71772 so having it again is redundant but not incorrect.

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