-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DYLD_INSERT_LIBRARIES no longer works on El Capitan #11
Comments
For build systems, a possible workaround would be to copy required tools out of the system path. |
What are the "required tools"? If someone runs |
If you're using gcc it won't be installed in a system path, so it should be fine. |
Is a hard link sufficient instead of an actual copy? |
I think hard links aren't allowed in 10.11. |
Hmm, won't copying the binary still change the |
Well, gcc binaries won't be signed nor installed on system paths. But yes, the solution wouldn't be very solid. |
I've started working on a workaround for this problem in shake: But looks like I'm misunderstanding how |
It looks sensible to me, at first brush. I suggest you add: |
With this:
I get several "/bin/sh" messages printed. |
Can you add a print just before fcache - ensure we're only creating one |
OK, looks like running the test suite enters |
The test suite calls run many many times. Maybe the cache should exist only/mostly on disk? Why not just do a Looking quickly, perhaps something like |
Hmm, that would imply hashing the binary, I'll just prepend $TEMP to the found path, so if you have /bin/foo and /usr/bin/foo they will get different paths. |
I just meant hashing the filepath, but yeah, prepending $TEMP is a much simpler solution :) |
I'll just close this. If the hack ends up being too problematic, maybe by then Apple provides some decent way to trace binaries. Other than that, FUSE might be an option. |
No description provided.
The text was updated successfully, but these errors were encountered: