-
Notifications
You must be signed in to change notification settings - Fork 833
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
Singlepass v2 on ARM fails to compile #2777
Comments
ptitSeb
added a commit
that referenced
this issue
Feb 1, 2022
…ond_label_far as direct bcond may not work all the time (for #2777)
bors bot
added a commit
that referenced
this issue
Feb 7, 2022
2778: Fix Singlepass f32_load and f64_load function, and introduce emit_bond_label_far as direct bcond may not work all the time (for #2777) r=Amanieu a=ptitSeb # Description Aarch64 singlepass fix for #2777 : * Change implementation of f32_load and f64_load to be more flexible * Instroduce the `emit_bcond_label_far` emitter to alow use of bcond on "farther" reloc. It does slow down a little bit (like less than 5% on less powerfull devices), but it's cecessary to be able to run larger wasm file. Also, beeing "singlepass", no real smart way alay to detect if a "far" version is needed or not (so "far" are used everywhere). Co-authored-by: ptitSeb <[email protected]>
@syrusakbary we can close the ticket now, right? |
I tried to reproduce it, but only singlepass can successfully execute, both cranelift and llvm was blocked and print nothing . |
You need to be patient, it may take a long time for the other compiler to build this one. I suggest you read this blog entry: https://wasmer.io/posts/wasmer-2.2 at the end, there are some compile benchmark. |
Thanks a lot ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The program
main.wasm
which is a Go database (TiDB) is able to run on other compilers but when run with singlepass it outputs the following:Download the file here: https://registry-cdn.wapm.io/contents/lucklove/tidb/0.1.6/main.wasm
The text was updated successfully, but these errors were encountered: