[SERVER-63632] Make MacOS builds static (again) Created: 14/Feb/22  Updated: 29/Oct/23  Resolved: 22/Feb/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.0-rc0, 5.3.0-rc2

Type: Bug Priority: Major - P3
Reporter: Ryan Egesdahl (Inactive) Assignee: Ryan Egesdahl (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Dev Platform 2022-02-21, Dev Platform 2022-03-07
Participants:
Linked BF Score: 83

 Description   

We are yet again encountering the hard-coded dylib limit in the MacOS dynamic loader. In particular, it seems that some of the dylibs Rosetta 2 is adding to the loader is causing the failures we are seeing, but in general this is a problem with the sheer number of shared libraries we produce in a server build. Since this seems to be a recurring theme for us, we should push the failure earlier in the process before it gets to a build variant in Evergreen as in SERVER-63616 and then further work on ways to reduce the library dependency graph further. Until then, we should disable the Shared Library build variants for MacOS.



 Comments   
Comment by Githook User [ 22/Feb/22 ]

Author:

{'name': 'Ryan Egesdahl', 'email': 'ryan.egesdahl@mongodb.com', 'username': 'deriamis'}

Message: SERVER-63632 Make MacOS builders use static linking
Branch: master
https://github.com/mongodb/mongo/commit/4a1215d9b87a4511f8a03002b96c0d1bd0a239c3

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