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
- set go env
export GOOS=linux
export GOARCH=arm
- run
make build
on a daemon repository usingwasmd 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
:)