-
Notifications
You must be signed in to change notification settings - Fork 13.4k
wasi-sdk/bin/wasm-ld regression in 1.46.0 #76679
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
|
@TjeuKayim is your issue fixed on the latest nightly? |
No,
|
The bisection below seems to point to the introduction of the other searched nightlies: from nightly-2020-06-30 to nightly-2020-07-30 bisected with cargo-bisect-rustc v0.5.2Host triple: x86_64-unknown-linux-gnu cargo bisect-rustc --start=2020-06-30 --end=2020-07-30 --target wasm32-wasi -- build --target wasm32-wasi |
This is based on the existance of rust-lang/rust#76679 and has no evidence that this will fix anything
I tried to cross compile a hello world with WASI SDK as explained at https://doc.rust-lang.org/nightly/nightly-rustc/rustc_target/spec/wasm32_wasi/index.html:
I expected to see this happen: the build succeeds with Rust v1.45.2 , so next versions should be compatible.
Instead, this happened when updating to Rust v1.46.0: https://github.com/TjeuKayim/wasi-link-fail/runs/1109104907
And 1.48.0-nightly (2020-09-12) produces another error: https://github.com/TjeuKayim/wasi-link-fail/runs/1109104926
A weird exception is my Manjaro Linux system with Rust 1.46.0, it only builds succesfully when I add
RUSTFLAGS='-C link-args=-Wl,-v'
. I have no clue why, and couldn't reproduce this on Ubuntu.See this repository for a minimal reproduction https://github.com/TjeuKayim/wasi-link-fail.
The text was updated successfully, but these errors were encountered: