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

Fix emcc failure for wasm32. #73213

Merged
merged 1 commit into from
Jun 10, 2020
Merged

Fix emcc failure for wasm32. #73213

merged 1 commit into from
Jun 10, 2020

Conversation

ehuss
Copy link
Contributor

@ehuss ehuss commented Jun 10, 2020

The wasm32 job is currently failing on CI with the error ERROR: llc executable not found at /usr/bin/llc. The issue is that emscripten-core/emsdk#472 has changed how emsdk discovers its configuration. We were relying on the global behavior that would use a configuration from the home directory. However, it looks like emsdk is moving away from that approach. This change adds the necessary env var for emcc to find the correct configuration.

There are a few alternate approaches this could take. The --no-embedded option could be passed to emsdk activate to use the old behavior, but it seems like they want to move away from that. Another option is to source emsdk_env.sh, which is how these env vars normally get set. I'm not entirely sure how to do that easily in a Dockerfile, though.

@rust-highfive
Copy link
Collaborator

r? @Mark-Simulacrum

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 10, 2020
@Mark-Simulacrum
Copy link
Member

@bors r+ p=1

@bors
Copy link
Contributor

bors commented Jun 10, 2020

📌 Commit cd02052 has been approved by Mark-Simulacrum

@bors
Copy link
Contributor

bors commented Jun 10, 2020

🌲 The tree is currently closed for pull requests below priority 1000, this pull request will be tested once the tree is reopened

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 10, 2020
@Mark-Simulacrum
Copy link
Member

@bors p=1000

@bors
Copy link
Contributor

bors commented Jun 10, 2020

⌛ Testing commit cd02052 with merge 0f6aa648428adfe886c188c9a9e54ed2ec7caa3e...

@bors
Copy link
Contributor

bors commented Jun 10, 2020

💥 Test timed out

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jun 10, 2020
@ehuss
Copy link
Contributor Author

ehuss commented Jun 10, 2020

@bors retry

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 10, 2020
@bors
Copy link
Contributor

bors commented Jun 10, 2020

⌛ Testing commit cd02052 with merge 449e8ea...

@Dylan-DPC-zz
Copy link

closing tree as a precaution

@bors treeclosed=1000

@Dylan-DPC-zz
Copy link

what did i miss lol

@bors treeclosed=1000

@bors
Copy link
Contributor

bors commented Jun 10, 2020

☀️ Test successful - checks-azure
Approved by: Mark-Simulacrum
Pushing 449e8ea to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Jun 10, 2020
@bors bors merged commit 449e8ea into rust-lang:master Jun 10, 2020
@ehuss
Copy link
Contributor Author

ehuss commented Jun 10, 2020

@bors treeclosed-

@ehuss ehuss mentioned this pull request Jun 13, 2020
@Mark-Simulacrum Mark-Simulacrum added beta-accepted Accepted for backporting to the compiler in the beta channel. beta-nominated Nominated for backporting to the compiler in the beta channel. labels Jun 13, 2020
@Mark-Simulacrum
Copy link
Member

Accepting for beta backport as well as it's "just necessary"

@Mark-Simulacrum Mark-Simulacrum removed the beta-nominated Nominated for backporting to the compiler in the beta channel. label Jun 13, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Jun 15, 2020
…-morse,Mark-Simulacrum

[beta] backport

This is a beta backport rollup of the following:
* [beta] Revert heterogeneous SocketAddr PartialEq impls rust-lang#73318
* Fix emcc failure for wasm32. rust-lang#73213
* Revert rust-lang#71956 rust-lang#73153
* [beta] Update cargo rust-lang#73141
* Minor: off-by-one error in RELEASES.md rust-lang#72914
* normalize adt fields during structural match checking rust-lang#72897
* Revert pr 71840 rust-lang#72989
* rust-lang/cargo#8361
* e658200 from rust-lang#72901

r? @ghost
@cuviper cuviper added this to the 1.46 milestone May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta-accepted Accepted for backporting to the compiler in the beta channel. merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants