-
Notifications
You must be signed in to change notification settings - Fork 196
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
Work around lld 13+ issue with --gc-sections for ELF by adding -z nostart-stop-gc #1153
Conversation
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.
Thanks!
@swift-ci please test |
Merging this one since we also merged the other one |
It should work with lld now that the lld flag '-z nostart-stop-gc' was added with swiftlang/swift#60544 and swiftlang/swift-driver#1153.
It should work with lld now that the lld flag '-z nostart-stop-gc' was added with swiftlang/swift#60544 and swiftlang/swift-driver#1153.
@buttaface This seems to have broken Android CI: https://ci-external.swift.org/job/oss-swift-RA-linux-ubuntu-16.04-android/1767/consoleFull. Seems like we need to get that CI updated or put in the versioning check here. |
@DougGregor, already submitted a pull for the Android CI, swiftlang/swift#60938, just waiting on @drodriguez to update to the latest Android NDK 25b on there. |
This is a Swift version of swiftlang/swift#60544, which will fix swiftlang/swift#60406. I ran the testsuite on linux x86_64 with this pull without a problem.