-
Notifications
You must be signed in to change notification settings - Fork 199
Specify "-rtlib=compiler-rt" on Linux as required for some of Swift's numeric conversion symbols. #1259
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 test |
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.
lgtm
Looks like it may be causing a test failure on Linux on main:
|
@mikeash When linking with the clang rt, can this be solved by removing the |
I think so. /cc @al45tair who would know better than I. |
Does that not just mean that we also need |
Could we instead make this change when building Clang? Ie. set |
If this achieves the same thing ( |
I have no problem with it either way, as long as it works :-) I think it might be slightly cleaner to configure Clang, if that way will work, not least because then we won't have oddities like things built with our Clang linking with |
Accidentally linking libgcc would be a problem - libgcc is an unwinder, and mixing unwinders will lead to crashes as the context is implementation defined. |
… numeric conversion symbols. Resolves rdar://104134160
e54d507
to
73d92d9
Compare
@swift-ci test |
Re-running cross-repo tests in swiftlang/swift#60581, but from what I saw last time, adding |
IIUC we then had failures because of missing unwind errors instead. |
Resolves rdar://104134160