-
Notifications
You must be signed in to change notification settings - Fork 110
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
Docker build failed on arm64 #164
Comments
There is no arm support #53 The only request we had before was to run on Rasberry Pi, which seemed like a nice toy server, and definitely not a dev machine. I think you are the first person trying to run on an arm64 based dev machine. Maybe you want to look into #53 first? You should be able to simple |
I just tried to re-build the Docker image on an Intel Mac. This works:
I don't know what the expected behaviour is. Can you execute Linux x86_64 guests on Linux arm64 hosts? |
Looking at the actual builder docker images, I see two points.
As mentioned in #53 there are currently no resources to add arm support. If you just want to use this project with minimal hassle, I would suggest you develop on an x86 server (you can rent a cloud one to compile this there). Contract development should be fine on arm64. If you have time/energy and really want this on arm64, I suggest you start working to compile these versions in a PR. I would suggest starting with local compilation on linux only, rather than all the build scripts (meant for releases). The first step would be that |
Docker doesn't emulate, but rather hooks into all syscalls. The same is true of eg. virtualbox. |
I'll be playing with this, and will chime in if I can get something working. |
@faddat I'd love to accept any PRs on this. First, I'd suggest trying to run the full test suite on the cosmwasm repo on an arm64 system with singlepass enabled to ensure this works in general. Then, figuring out how to build wasmvm on an arm64 system would be awesome. https://github.com/wasmerio/wasmer may be a useful place to raise issues (or search for them) with arm64 compatibility for the underlying engine. |
ARM support is tracked at #53. Looks like this is not moving due to the lack of ARM support in singlepass. |
I can't build it and try docker buiding
https://github.com/CosmWasm/wasmvm/tree/master/builders#usage
but..
Docker was made for what?!🙃
OS: Ubuntu 18.04 L4T arm64
rustc 1.49.0 (e1884a8e3 2020-12-29)
go version go1.15.6 linux/arm64
The text was updated successfully, but these errors were encountered: