Skip to content

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

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

Merged
merged 1 commit into from
Aug 23, 2023

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
@finagolfin
Copy link
Member Author

@bnbarham, please run the CI on this.

@bnbarham
Copy link
Contributor

@swift-ci please smoke test

@finagolfin
Copy link
Member Author

Linux smoke test failure is unrelated.

@bnbarham
Copy link
Contributor

Linux smoke test failure is unrelated.

I have a PR up to fix that now (swiftlang/swift#68091)

@bnbarham
Copy link
Contributor

swiftlang/swift#68094

@swift-ci please smoke test Linux platform

@tomerd tomerd merged commit 246b238 into swiftlang:release/5.9 Aug 23, 2023
@finagolfin finagolfin deleted the release/5.9 branch August 23, 2023 22:27
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