Skip to content

[5.9.0] Remove <toolchain>/usr/bin/../lib/ from directories passed to linker to look up libraries for target triple #6844

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

Closed
wants to merge 1 commit into from

Conversation

finagolfin
Copy link
Member

Cherrypick of #6824

Explanation: This host-specific toolchain directory was added years ago in #2035 to the list of library directories, but it can cause problems when cross-compiling.

Scope: Right now, nothing is placed in this directory, so remove it before it can cause problems.

Issue: #6767

Risk: low, as nothing relies on it yet

Testing: Passed all CI and I've removed it for my native Android builds of the toolchain for the last four months, without a problem.

Reviewer: @neonichu

…to look up libraries for target triple (swiftlang#6824)

Also, update my github username in the mailmap.

Resolves swiftlang#6767
@neonichu
Copy link
Contributor

Wondering what the impact would be if we only got this change in the non-macOS 5.9.0 toolchains, it may be too late for the macOS one at this point. cc @tomerd

@finagolfin
Copy link
Member Author

No impact, I just figured we should clean this up for 5.9.0 also, but if it's too late for that, getting it into 5.9.1 should be fine.

@tomerd
Copy link
Contributor

tomerd commented Aug 23, 2023

I think main + 5.9 branch is sufficient to mitigate any risk (give it some baking time). iow, probably not merge into 5.9.0 unless there is a super compelling reason to take the risk

@finagolfin
Copy link
Member Author

Sounds good, closing.

@finagolfin finagolfin closed this Aug 23, 2023
@finagolfin finagolfin deleted the release/5.9.0 branch August 23, 2023 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants