Closed FreerGit closed 3 months ago
Thanks for the report! I tagged it with enhancement as 32bit ARM is not something we currently support. I left the 'bug' label however because perhaps we should detect this case and produce a clearer error message here.
It should be possible to get this working with compiler LLVM: there aren't too many platform specific places in Wasmer. That said you may run into a few issues with 32bit vs 64bit as we don't actively test on any 32bit platform right now.
If you're interested in adding support for this, we can give you some guidance on what likely needs to be updated.
I am assuming there is a difference between amd64 and arm7hf,
AMD64 is 64bit, it's x86_64 the 64bit extension to Intel's x86 ISA.
arm7hf is 32bit, it's ARM with hardware float support (hence, hf
). Wasmer supports x86_64 and aarch64 (the 64bit version of ARM) but not 32bit ARM right now.
+1
Building for arm32 on Linux still have issues so I am unsure why https://github.com/wasmerio/wasmer/issues/2099#issuecomment-1433863969 claim can build for arm32 on Android
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Feel free to reopen the issue if it has been closed by mistake.
It still isn't building for the Android ARMv7 target.
Describe the bug
I have tried both using the linux amd64 release and compiling to source, compiling c program with wasmer-c-api gives error that wasmer/lib/libwasmer.a is in wrong file format. I am assuming there is a difference between amd64 and arm7hf, altough not sure what would case the difference.
Secondly, compiling from source gives error: unrecognized command line option '-m64'
To be clear, this is running inside a docker container:
FROM axisecp/acap-sdk:3.3-armv7hf-ubuntu20.04
All im trying to do is to use a wasm file inside of a c program, hence the usage of wasm-c-api.
Steps to reproduce
start docker image as described above download the source from release pages on wasmer github curl rustup make build-capi