~osa1


#99 Go runtime/internal/atomic errors when building 6 days ago

Ticket created by ~osa1 on ~emersion/soju

I just pulled the latest master and tried one of the commands shown in README:

soju  master $ go run ./cmd/sojuctl create-user osa1 -admin
go: downloading golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897
go: downloading git.sr.ht/~emersion/go-scfg v0.0.0-20201019143924-142a8aa629fc
go: downloading github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
go: downloading github.com/mattn/go-sqlite3 v1.14.4
go: downloading github.com/emersion/go-sasl v0.0.0-20200509203442-7bfe0ed36a21
go: downloading nhooyr.io/websocket v1.8.6
go: downloading gopkg.in/irc.v3 v3.1.3
go: downloading github.com/klauspost/compress v1.11.1
go: downloading golang.org/x/sys v0.0.0-20201024232916-9f70ab9862d5
# runtime/internal/atomic
../../go/src/runtime/internal/atomic/atomic_amd64x.go:13:6: Load redeclared in this block
        previous declaration at ../../go/src/runtime/internal/atomic/atomic_amd64.go:16:24
../../go/src/runtime/internal/atomic/atomic_amd64x.go:19:6: Loadp redeclared in this block
        previous declaration at ../../go/src/runtime/internal/atomic/atomic_amd64.go:22:32
../../go/src/runtime/internal/atomic/atomic_amd64x.go:25:6: Load64 redeclared in this block
        previous declaration at ../../go/src/runtime/internal/atomic/atomic_amd64.go:28:26
../../go/src/runtime/internal/atomic/atomic_amd64x.go:30:6: Xadd redeclared in this block
        previous declaration at ../../go/src/runtime/internal/atomic/atomic_amd64.go:39:37
../../go/src/runtime/internal/atomic/atomic_amd64x.go:33:6: Xadd64 redeclared in this block
        previous declaration at ../../go/src/runtime/internal/atomic/atomic_amd64.go:42:39
../../go/src/runtime/internal/atomic/atomic_amd64x.go:36:6: Xadduintptr redeclared in this block
        previous declaration at ../../go/src/runtime/internal/atomic/atomic_amd64.go:45:47
../../go/src/runtime/internal/atomic/atomic_amd64x.go:39:6: Xchg redeclared in this block
        previous declaration at ../../go/src/runtime/internal/atomic/atomic_amd64.go:48:36
../../go/src/runtime/internal/atomic/atomic_amd64x.go:42:6: Xchg64 redeclared in this block
        previous declaration at ../../go/src/runtime/internal/atomic/atomic_amd64.go:51:38
../../go/src/runtime/internal/atomic/atomic_amd64x.go:45:6: Xchguintptr redeclared in this block
        previous declaration at ../../go/src/runtime/internal/atomic/atomic_amd64.go:54:45
../../go/src/runtime/internal/atomic/atomic_amd64x.go:48:6: And8 redeclared in this block
        previous declaration at ../../go/src/runtime/internal/atomic/atomic_amd64.go:63:27
../../go/src/runtime/internal/atomic/atomic_amd64x.go:48:6: too many errors

Go version:

soju  master $ go version
go version go1.15.2 linux/amd64