Skip to content
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

[Swift 6.0.x] Default Linux toolchain linker to gold #77209

Open
wants to merge 1 commit into
base: release/6.0
Choose a base branch
from

Conversation

etcwilde
Copy link
Contributor

The BFD linker on most of the Linux box is unable to link Swift objects. Currently the Swift driver hard-codes forcing the default linker to gold, but we want to support configuring this, so we need build-script to force it at the clang level instead.

Cherry-Picks:
d63152f
7596d00
8262552

This is needed to land swiftlang/swift-driver#1595.

@etcwilde etcwilde requested a review from a team as a code owner October 24, 2024 20:41
@etcwilde etcwilde force-pushed the ewilde/release-60-all-that-glitters-is-gold branch from bab6e44 to 6c30a5e Compare October 24, 2024 20:45
The BFD linker on most of the Linux box is unable to link Swift objects.
Currently the Swift driver hard-codes forcing the default linker to
gold, but we want to support configuring this, so we need build-script
to force it at the clang level instead.

Cherry-Picks:
  d63152f
  7596d00
  8262552
@etcwilde etcwilde force-pushed the ewilde/release-60-all-that-glitters-is-gold branch from 6c30a5e to 0a9b1fd Compare October 24, 2024 20:51
@etcwilde
Copy link
Contributor Author

@swift-ci please test

@etcwilde
Copy link
Contributor Author

@swift-ci Please smoke test Linux platform

@etcwilde
Copy link
Contributor Author

@swift-ci Please Build Toolchain Linux Platform

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.

2 participants