-
Notifications
You must be signed in to change notification settings - Fork 263
[5.4][CMake] fix runpath for ELF platforms #321
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
Conversation
Remove the absolute path to the host toolchain's stdlib from libXCTest.so.
Ping @compnerd, mind approving this too? |
@briancroom, this makes sure 5.4 doesn't regress from 5.3, please review and merge. |
@swift-ci please test |
Linux CI failure is unrelated to this pull. |
Ping, another linux CI run and this can be merged. |
@swift-ci smoke test linux platform |
@swift-ci please test |
@briancroom, this is ready to merge, think we can get it in before the 5.4 release? It's already in the 5.3 branch without a problem. |
Yes, let's get this merged. It looks like the checks are in a bit of a confused state, so I'll go ahead and merge it manually. |
Looks like the release branch isn't configured to allow a direct push from me, actually. @shahmishal, can you help us merge this PR? |
@briancroom Branch requirements updated |
Thank you! |
Thanks all. |
Remove the absolute path to the host toolchain's stdlib from libXCTest.so.
This is a cherry-pick of #303, which was just approved for trunk and already merged for the 5.3 branch in #308.
Only affects the rpath on ELF platforms, removing a path that is unused.
Resolves point 2. in SR-1650
None, this should be completely safe for the 5.4 branch, as it's just removing the build toolchain's stdlib rpath, which should be unused by this library.
This is in the 5.3 branch and the other corelibs had similar pulls merged before the 5.3 release and have had no complaints.
I discussed these rpath issues in detail across the entire toolchain with @gottesmm and @compnerd.