[SERVER-59643] monitor Mac OS dyld limit Created: 27/Aug/21  Updated: 06/Dec/22  Resolved: 01/Mar/22

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

Type: Improvement Priority: Major - P3
Reporter: Benety Goh Assignee: [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-63616 Fail early on OSX when > 512 dylibs Closed
is duplicated by SERVER-63616 Fail early on OSX when > 512 dylibs Closed
Related
is related to SERVER-59118 fix macos dyld limit Closed
Assigned Teams:
Server Development Platform
Participants:

 Description   

(Copied description from SERVER-59118)

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

  1. setup a script task to check the number of libraries the current dydl, and fail if it's close to or at the limit.


 Comments   
Comment by Ryan Egesdahl (Inactive) [ 01/Mar/22 ]

Per benety.goh, we are closing in favor of SERVER-63616.

Comment by Benety Goh [ 01/Mar/22 ]

ryan.egesdahl this ticket was intended to track the unfinished work in SERVER-59118. I feel comfortable closing this as a duplicate of SERVER-63616 if that's ok with everyone.

Comment by Ryan Egesdahl (Inactive) [ 01/Mar/22 ]

acm I think that depends on what benety.goh was planning to do, but we can incorporate anything else needed in SERVER-63616.

Comment by Andrew Morrow (Inactive) [ 01/Mar/22 ]

ryan.egesdahl - Should we close this as a dup of SERVER-63616?

Comment by Benety Goh [ 27/Aug/21 ]

The goal of this ticket used to be a sub-goal of SERVER-59118.

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