-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Execution Team 2021-09-06
-
85
Dynamic link builds for macos are imposed a limit by dyld (512 hardcoded in apple source code: https://opensource.apple.com/source/dyld/dyld-852/src/ImageLoader.cpp.auto.html ). This seems issue seems to arise differently for different versions of xcode which could be because different xcodes automatically link in different number of system libraries.
We need to
- fix the current issue by reducing the number of libraries in the link graph,
- re-enable dynamic link for xcode 12.4 builders
setup a script task to check the number of libraries the current dydl, and fail if it's close to or at the limit.(moved toSERVER-59643)
- is duplicated by
-
SERVER-30955 dynamically linked mongod fails to start on OS X
- Closed
- is related to
-
SERVER-30955 dynamically linked mongod fails to start on OS X
- Closed
-
SERVER-59117 xcode next builders hit dyld 512 library limit
- Closed
- related to
-
SERVER-59438 clean up library dependencies in db/catalog/SConscript
- Closed
-
SERVER-59439 clean up libraries in SConscript file for backup cursors
- Closed
-
SERVER-59470 clean up libraries in SConscript for LDAP
- Closed
-
SERVER-59643 monitor Mac OS dyld limit
- Closed