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

[5.5] Temporary fix for static linking on Linux #3135

Merged
merged 1 commit into from
Feb 1, 2022

Conversation

drexin
Copy link
Contributor

@drexin drexin commented Jan 28, 2022

When using @_implementationOnly, the dependencies do not get emited into the module files and static linking does not work. There is a proper fix in 5.6, so this is only a temporary solution for 5.5.

@drexin drexin requested a review from millenomi January 28, 2022 23:08
@drexin
Copy link
Contributor Author

drexin commented Jan 28, 2022

@swift-ci test

When using @_implementationOnly, the dependencies do not get emited into the module files and static linking does not work. There is a proper fix in 5.6, so this is only a temporary solution for 5.5.
@drexin drexin force-pushed the wip-fix-static-linking branch from a6b2f4e to b75e634 Compare January 28, 2022 23:11
Copy link

@tomerd tomerd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks @drexin

@drexin
Copy link
Contributor Author

drexin commented Jan 29, 2022

@swift-ci test

@drexin drexin changed the title Temporary fix for static linking on Linux [5.5] Temporary fix for static linking on Linux Jan 31, 2022
@millenomi
Copy link
Contributor

@swift-ci please test and merge

@swift-ci swift-ci merged commit 47bcc33 into swiftlang:release/5.5 Feb 1, 2022
@drexin drexin deleted the wip-fix-static-linking branch February 3, 2022 18:02
MaxDesiatov added a commit to swiftlang/swift that referenced this pull request Sep 29, 2022
This was fixed in swiftlang/swift-corelibs-foundation#3135 for Swift 5.5, but regressed in Swift 5.6 and Swift 5.7
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.

4 participants