Skip to content

[5.3][build] properly install compiler-rt from Xcode toolchain #34236

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

Conversation

edymtt
Copy link
Contributor

@edymtt edymtt commented Oct 8, 2020

Similarly to what was done for #25547, copy the compiler-rt built-ins
for embedded platforms from the Xcode toolchain into the new generated
one, so to avoid link time errors.

Addresses SR-12001, rdar://57837918

Cherry-pick of #31247 -- this also brings in the improvements from #34049

Similarly to what was done for swiftlang#25547, copy the compiler-rt built-ins
for embedded platforms from the Xcode toolchain into the new generated
one, so to avoid link time errors.

Addresses SR-12001, rdar://57837918

Cherry-pick of swiftlang#31247 -- this also brings in the improvements from swiftlang#34049
@edymtt edymtt requested a review from shahmishal October 8, 2020 15:09
@edymtt edymtt requested a review from a team as a code owner October 8, 2020 15:09
@edymtt
Copy link
Contributor Author

edymtt commented Oct 8, 2020

@swift-ci please test

@edymtt
Copy link
Contributor Author

edymtt commented Oct 8, 2020

@swift-ci Please Build Toolchain

@swift-ci
Copy link
Contributor

swift-ci commented Oct 8, 2020

Linux Toolchain (Ubuntu 16.04)
Download Toolchain
Git Sha - 0ef01f7

Install command
tar zxf swift-PR-34236-463-ubuntu16.04.tar.gz
More info

@swift-ci
Copy link
Contributor

swift-ci commented Oct 8, 2020

macOS Toolchain
Download Toolchain
Git Sha - 0ef01f7

Install command
tar -zxf swift-PR-34236-721-osx.tar.gz --directory ~/

@edymtt
Copy link
Contributor Author

edymtt commented Oct 9, 2020

Verified that the toolchain is able to compile the program attached to SR-12001 and that it contains the compiler-rt libraries at usr/lib/clang/10.0.0/lib/darwin (e.g. libclang_rt.ios.a)

@edymtt edymtt added the r5.3 label Oct 9, 2020
@edymtt edymtt merged commit 2ee8fe4 into swiftlang:release/5.3 Oct 12, 2020
@edymtt edymtt deleted the install_embedded_compiler_rt_5.3 branch October 13, 2020 14:10
@AnthonyLatsis AnthonyLatsis added swift 5.3 🍒 release cherry pick Flag: Release branch cherry picks and removed r5.3 labels Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks swift 5.3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants