Skip to content

Instantly share code, notes, and snippets.

View tobias-hildebrandt's full-sized avatar

Tobias Hildebrandt tobias-hildebrandt

View GitHub Profile
@tobias-hildebrandt
tobias-hildebrandt / notes-geth-build-fail-openbsd-arm64.md
Last active March 9, 2021 23:04
notes on my exploration of a build bug of go-ethereum on openbsd arm64

ethereum/go-ethereum#22434

the problem was during go install github.com/ethereum/go-ethereum/cmd/geth@latest:

# github.com/shirou/gopsutil/mem
.go/pkg/mod/github.com/shirou/[email protected]+incompatible/mem/mem_openbsd.go:21:17: undefined: CTLVm
.go/pkg/mod/github.com/shirou/[email protected]+incompatible/mem/mem_openbsd.go:21:24: undefined: VmUvmexp
.go/pkg/mod/github.com/shirou/[email protected]+incompatible/mem/mem_openbsd.go:26:14: undefined: sizeOfUvmexp
.go/pkg/mod/github.com/shirou/[email protected]+incompatible/mem/mem_openbsd.go:29:13: undefined: Uvmexp
.go/pkg/mod/github.com/shirou/[email protected]+incompatible/mem/mem_openbsd.go:43:17: undefined: CTLVm