-
Notifications
You must be signed in to change notification settings - Fork 410
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
build error when make build-linux
#384
Comments
What version of wasmd? Also, are you using the M1 silicon (arm64)? |
|
@alpe I know you have a mac. Can you reproduce? |
yes i can |
my environment OS: mackOS Big Sur 11.1 I only did the following
i got some
as step 2 can't work, i see the Makefile and find
|
@biffyx try to use docker to build under macos, check this https://github.com/terra-project/core/blob/develop/Makefile#L82 |
yes, I have the same error messages with |
I tried today to make it work with |
Same problem when I use CosmWasm dependency in my project and build with docker. # github.com/CosmWasm/wasmvm/api Docker build with CGO_ENABLED=1 doesn't work either. When I build on linux, it works for me, but docker does not work and does not work on windows (gcc is a problem and tdm-gcc does not solve it). |
@Raumo0 there is no support for Windows. This is a long-term issue and blocked by an upstream dependency: CosmWasm/wasmvm#28 Are you building this repo or a fork? What commit are you building? Please provide the OS, CPU arch (i686 or arm64), repo/commit you are building and the exact commands you run. I only have a Linux machine, but other devs use OSX and can verify there. No backend devs is using Windows or WSL so hard to debug there - you can compile CosmWasm contracts on Windows, but not run a node there. |
From searching the web it appears that combination cgo and cross-compilation seems to be immature at least. Why do we even bother to provide cross-compilation as part of this repo's Makefile? Can't we ask users to run In the meantime the build-linux target was removed. There is only the .PHONY entry left. |
i got error when
make build-linux
os version: mackOS Big Sur 11.1
error message bellow
The text was updated successfully, but these errors were encountered: