CosmWasm / wasmd

Basic cosmos-sdk app with web assembly smart contracts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

overflow error when cross compiling for arm

discoverdefiteam opened this issue · comments

Specifications

wasmd version: v0.43.0
OS & Version: Linux x86-66 , cross compiling build for arm64
Commit hash:

Expected behavior

Successful build when cross compiling

Actual behavior

Unsuccessful make build.

Steps to reproduce the behavior

  1. set go env
export GOOS=linux
export GOARCH=arm
  1. run make build on a daemon repository using wasmd v0.43.0

Backtrace

../go/pkg/mod/github.com/!cosm!wasm/wasmd@v0.43.0/x/wasm/ibc.go:354:140: cannot use math.MaxUint32 (untyped int constant 4294967295) as int value in argument to errorsmod.Wrapf (overflows)

When submitting logs: please submit them as text and not screenshots.

solution

go env was set to arm, not arm64 :)