[SERVER-71772] Update ARM builds to target armv8.2-a on older branches Created: 07/Nov/22  Updated: 29/Oct/23  Resolved: 13/Dec/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.2.24, 4.4.19

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

Issue Links:
Backports
Depends
is depended on by WT-9256 Investigate changes to WiredTiger for... Closed
Documented
is documented by DOCS-15785 [SERVER] Investigate changes in SERVE... Closed
Related
Backwards Compatibility: Major Change
Backport Requested:
v4.2
Participants:

 Description   

This request is to update v4.2 and v4.4 builds to explicitly target armv8.2-a as we do with 5.0+. WiredTiger expects certain behavior that is not provided on non-LSE ARM platforms.



 Comments   
Comment by Salman Hameed [ 26/Apr/23 ]

I have been successfully running version 4.2.18 on armv8a. When building 4.2.24 to bring in some security fixes, I'm seeing crashes on illegal instruction access in the atomic_swap functions. I suspect it's because 4.2.24 builds with armv8.2-a. Please advise on whether the armv8.2-a condition can be relaxed by me and what that means. Thanks.

Comment by Githook User [ 13/Dec/22 ]

Author:

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

Message: SERVER-71772 Made any aarch64 builds target armv8.2-a

(cherry picked from commit e500fa8527f3fb17cb4c5cb38e7cdcbd8021d207)
Branch: v4.2
https://github.com/mongodb/mongo/commit/410b904dc1336dfaaf110d807dd505e112bcaecd

Comment by Alex Neben [ 13/Dec/22 ]

I may have done a little over the top on needing downstream input but I just want to make sure it gets seen. Please feel free to update my selections if you think this is wrong

Comment by Githook User [ 13/Dec/22 ]

Author:

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

Message: SERVER-71772 Made any aarch64 builds target armv8.2-a
Branch: v4.4
https://github.com/mongodb/mongo/commit/e500fa8527f3fb17cb4c5cb38e7cdcbd8021d207

Comment by Zakhar Kleyman [ 08/Nov/22 ]

Sending this ticket to SDP for triage.

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