CosmWasm / CosmWasm/wasmd

macos arm cpu compileerror

Open
#2,448 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
416
Forks
538
PR merge metrics
No merged PRs in 30d

Description

go version:
```
go version
go version go1.26.1 darwin/arm64
```

wasmd 0.61.8, compile error msg:

```
make install
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
go install -mod=readonly -tags "netgo,ledger" -ldflags '-X github.com/cosmos/cosmos-sdk/version.Name=wasm -X github.com/cosmos/cosmos-sdk/version.AppName=wasmd -X github.com/cosmos/cosmos-sdk/version.Version= -X github.com/cosmos/cosmos-sdk/version.Commit= -X github.com/CosmWasm/wasmd/app.Bech32Prefix=wasm -X "github.com/cosmos/cosmos-sdk/version.BuildTags=netgo,ledger" -L/usr/local/opt/openssl@1.1/lib' -trimpath ./cmd/wasmd
# github.com/bytedance/sonic/internal/rt
../../../../go/pkg/mod/github.com/bytedance/sonic@v1.14.2/internal/rt/stubs.go:33:22: undefined: GoMapIterator
../../../../go/pkg/mod/github.com/bytedance/sonic@v1.14.2/internal/rt/stubs.go:36:54: undefined: GoMapIterator
make: *** [install] Error 1
```

macos info

```
uname -a
Darwin ges-Mac-Studio.local 25.3.0 Darwin Kernel Version 25.3.0: Wed Jan 28 20:51:28 PST 2026; root:xnu-12377.91.3~2/RELEASE_ARM64_T6041 arm64
```

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure with Go 1.26.1 on macOS arm64 by running `make install` in wasmd 0.61.8. Start with the dependency file `github.com/bytedance/sonic@v1.14.2/internal/rt/stubs.go` and the `./cmd/wasmd` entry point; done means the reported compile error is resolved and `make install` completes.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, macos
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.