[SERVER-63638] fix macos dyld limit Created: 14/Feb/22  Updated: 29/Oct/23  Resolved: 14/Feb/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.3.0

Type: Bug Priority: Major - P3
Reporter: Benety Goh Assignee: Benety Goh
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-63764 fix macos dyld limit Closed
is related to SERVER-63551 fix macos dyld limit Closed
is related to SERVER-62427 Files mapping to namespaces in a back... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2022-02-21
Participants:

 Description   

The `mongod` binary under dynamically linked Mac OS build configuration recently is failing to start up due to an OS limitation on the size of the link graph. This is causing test suites in the CI system to fail (eg. jsCore). We can get dynamic builds on macOS to work again by reviewing some of the recent additions to the LIBDEPS edges in the SConscript files.



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

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-63638 make some backup cursor libraries private in wiredtiger and devnull storage engine libraries

This reduces the link graph size to stay under the macos dyld limit.
Changes LIBDEPS edges added in commit 98171115a000d2a9174a9289f4db5713c1c6d162.
Branch: master
https://github.com/mongodb/mongo/commit/8a2f52590d92482624723086b88151c93ee56f1c

Comment by Githook User [ 14/Feb/22 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-63638 add backup_block library dependency to file_copy_based_initial_syncer_test
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/abe14843df06c8deb4d2ee0e9efade9bbec704ef

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