Building fails on arm64
Opened this issue · 0 comments
lyfsn commented
Describe the bug
Building fails on arm64 when executed:
make all
To Reproduce
~/work/fsn/pos-devnet/eth2-beaconchain-explorer master ❯ go version lyfsn
go version go1.20 darwin/arm64
~/work/fsn/pos-devnet/eth2-beaconchain-explorer master ❯ make all lyfsn
rm -rf bin/
mkdir -p bin/
go run cmd/bundle/main.go
# github.com/prysmaticlabs/gohashtree
asm: illegal combination: 23984 (/Users/smallyu/.gvm/pkgsets/go1.20/global/pkg/mod/github.com/prysmaticlabs/gohashtree@v0.0.2-alpha/hash_arm64.s:604) VMOV $0, V16.S4 ZCON NONE NONE ARNG, 4 7
asm: illegal combination: 23984 (/Users/smallyu/.gvm/pkgsets/go1.20/global/pkg/mod/github.com/prysmaticlabs/gohashtree@v0.0.2-alpha/hash_arm64.s:604) VMOV $0, V16.S4 ZCON NONE NONE ARNG, 4 7
asm: illegal combination: 23984 (/Users/smallyu/.gvm/pkgsets/go1.20/global/pkg/mod/github.com/prysmaticlabs/gohashtree@v0.0.2-alpha/hash_arm64.s:604) VMOV $0, V16.S4 ZCON NONE NONE ARNG, 4 7
asm: illegal combination: 23984 (/Users/smallyu/.gvm/pkgsets/go1.20/global/pkg/mod/github.com/prysmaticlabs/gohashtree@v0.0.2-alpha/hash_arm64.s:604) VMOV $0, V16.S4 ZCON NONE NONE ARNG, 4 7
asm: assembly failed
make: *** [explorer] Error 1
Desktop (please complete the following information):
- OS: MacOS
Additional context
It's caused by the prysmaticlabs/gohashtree
version problem: prysmaticlabs/gohashtree#6