[SERVER-62954] fix macos dyld limit Created: 25/Jan/22 Updated: 29/Oct/23 Resolved: 26/Jan/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: |
|
||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||||||||||
| Sprint: | Execution Team 2022-02-07 | ||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||
| Linked BF Score: | 69 | ||||||||||||||||||||||||||||||||
| 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 [ 25/Jan/22 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: This reduces the link graph size to stay under the macos dyld limit. |
| Comment by Githook User [ 25/Jan/22 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: This reduces the link graph size to stay under the macos dyld limit. |
| Comment by Githook User [ 25/Jan/22 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: This reduces the link graph size to stay under the macos dyld limit. |
| Comment by Githook User [ 25/Jan/22 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: This reduces the link graph size to stay under the macos dyld limit. |
| Comment by Githook User [ 25/Jan/22 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: This reduces the link graph size to stay under the macos dyld limit. |
| Comment by Benety Goh [ 25/Jan/22 ] |
|
We can reduce the libraries in the link graph to get under the macOS dyld limit if we convert some of the LIBDEPS edges from these recent tickets into LIBDEPS_PRIVATE: |