-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[5.3] On ELF platforms, remove the host toolchain rpath from executables and shared libraries #2901
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
@swift-ci please test |
Pulling this back sounds good to me, but ultimately @rballard's call. |
I think that this is pretty important - it should remove hardcoded paths from the build host which are a problem, we should try to get this into the 5.3 release even though we are cutting it really close. |
this looks like a good improvement, we will put into an update as soon as possible |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this PR! At this point we're not currently planning to take any more fixes for 5.3, but once we re-open for 5.3.1 fixes we should take this.
Sounds good. |
Looks like this will need an update because of conflicts in the bootstrap script that we introduced. Sorry about that! |
…d shared libraries before installing.
No problem, an easy fix. |
@swift-ci please test |
We've shipped 5.3 and are about to start taking fixes for the next patch release. Let's hold this one until Monday, but I expect to approve then. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is approved to merge now; thank you!
before installing.
It has been suggested to me by some Swift devs that this would be good to get in before the 5.3 release, a cherry-pick from #2703.
This should be completely safe for the 5.3 branch, as it's just removing the build toolchain's stdlib rpath, which should be unused by SPM.