Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/compile: go cross build random fail #53924

Closed
zzjin opened this issue Jul 17, 2022 · 6 comments
Closed

cmd/compile: go cross build random fail #53924

zzjin opened this issue Jul 17, 2022 · 6 comments
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.

Comments

@zzjin
Copy link

zzjin commented Jul 17, 2022

What version of Go are you using (go version)?

$ go version go1.18.4 darwin/arm64

Does this issue reproduce with the latest release?

Yes.

What operating system and processor architecture are you using (go env)?

go env Output
GO111MODULE=""
GOARCH="arm64"
GOBIN=""
GOCACHE="/Users/admin/Library/Caches/go-build"
GOENV="/Users/admin/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="arm64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/admin/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/admin/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.com.cn,direct"
GOROOT="/opt/homebrew/Cellar/go/1.18.4/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/opt/homebrew/Cellar/go/1.18.4/libexec/pkg/tool/darwin_arm64"
GOVCS=""
GOVERSION="go1.18.4"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/admin/Projects/qingly/goweb/go.mod"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/0g/wc8b3zg13lb7lwp2tnrll9lc0000gn/T/go-build88084519=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

GOOS=linux GOARCH=amd64 CGO_ENABLED=0 GO111MODULE=auto go build -tags='jsoniter nomsgpack' -a -s -w -extldflags "-static"' -trimpath -o main

with gin default repo +gorm test

What did you expect to see?

corss build linux package as usual.

What did you see instead?

random error output:

go build Output
# github.com/jinzhu/inflection
../../../../go/pkg/mod/github.com/jinzhu/inflection@v1.0.0/inflections.go:199:25: internal compiler error: 'AddUncountable': value v39 still has 2 uses

Please file a bug report including a short program that triggers the error.
https://go.dev/issue/new
# fmt
unexpected fault address 0x10161420c
fatal error: fault
[signal SIGBUS: bus error code=0x1 addr=0x10161420c pc=0x100f5d42c]

goroutine 7 [running]:
runtime.throw({0x1013ca297?, 0x0?})
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/runtime/panic.go:992 +0x50 fp=0x1400149d890 sp=0x1400149d860 pc=0x100c4c390
runtime.sigpanic()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/runtime/signal_unix.go:815 +0x124 fp=0x1400149d8c0 sp=0x1400149d890 pc=0x100c631a4
cmd/compile/internal/ssa.numberLines(0x14001260000)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssa/numberlines.go:147 +0x2ec fp=0x1400149de80 sp=0x1400149d8d0 pc=0x100f5d42c
cmd/compile/internal/ssa.Compile(0x14001260000)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssa/compile.go:98 +0x8f0 fp=0x140014a1b00 sp=0x1400149de80 pc=0x100f1a420
cmd/compile/internal/ssagen.buildssa(0x14000ac51e0, 0x0)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssagen/ssa.go:602 +0x1c88 fp=0x140014a1e80 sp=0x140014a1b00 pc=0x1011f9298
cmd/compile/internal/ssagen.Compile(0x14000ac51e0, 0x1013a50a8?)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssagen/pgen.go:183 +0x30 fp=0x140014a1f50 sp=0x140014a1e80 pc=0x1011f01c0
cmd/compile/internal/gc.compileFunctions.func4.1(0x0?)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:153 +0x40 fp=0x140014a1f90 sp=0x140014a1f50 pc=0x1013a4f70
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:140 +0x4c fp=0x140014a1fd0 sp=0x140014a1f90 pc=0x1013a50bc
runtime.goexit()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/runtime/asm_arm64.s:1263 +0x4 fp=0x140014a1fd0 sp=0x140014a1fd0 pc=0x100c7de54
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 1 [semacquire]:
sync.runtime_Semacquire(0x1400136a6c0?)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/runtime/sema.go:56 +0x2c
sync.(*WaitGroup).Wait(0x1400136a6c0)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/sync/waitgroup.go:136 +0x88
cmd/compile/internal/gc.compileFunctions()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:165 +0x1e0
cmd/compile/internal/gc.Main(0x10160b3d8)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/main.go:310 +0x1170
main.main()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/main.go:55 +0xf8

goroutine 5 [runnable]:
cmd/compile/internal/ssagen.(*simplePhiState).insertPhis(0x1400153b9c0)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssagen/phi.go:470 +0x974
cmd/compile/internal/ssagen.(*state).insertPhis(0x140002fe100?)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssagen/phi.go:45 +0x124
cmd/compile/internal/ssagen.buildssa(0x14000ac4420, 0x2)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssagen/ssa.go:599 +0x1c7c
cmd/compile/internal/ssagen.Compile(0x14000ac4420, 0x1013a50a8?)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssagen/pgen.go:183 +0x30
cmd/compile/internal/gc.compileFunctions.func4.1(0x101000000000000?)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:153 +0x40
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:140 +0x4c
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 6 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 8 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 9 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 10 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 11 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 12 [runnable]:
cmd/compile/internal/ssagen.(*state).assign(0x14000530000, {0x1016145a8, 0x14000b11040}, 0x14000ef2838, 0x0, 0x5)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssagen/ssa.go:3581 +0x564
cmd/compile/internal/ssagen.(*state).stmt(0x14000530000, {0x101612be0, 0x14000b17f90?})
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssagen/ssa.go:1668 +0xcb0
cmd/compile/internal/ssagen.(*state).stmtList(...)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssagen/ssa.go:1399
cmd/compile/internal/ssagen.(*state).stmt(0x14000530000, {0x1016152f0, 0x140008b7f00?})
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssagen/ssa.go:1875 +0x31d4
cmd/compile/internal/ssagen.(*state).stmtList(...)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssagen/ssa.go:1399
cmd/compile/internal/ssagen.(*state).stmt(0x14000530000, {0x101613860, 0x14000af9b90?})
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssagen/ssa.go:1806 +0x4054
cmd/compile/internal/ssagen.(*state).stmtList(...)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssagen/ssa.go:1399
cmd/compile/internal/ssagen.(*state).stmt(0x14000530000, {0x101613c48, 0x14000b1abd0?})
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssagen/ssa.go:1703 +0x3784
cmd/compile/internal/ssagen.(*state).stmtList(...)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssagen/ssa.go:1399
cmd/compile/internal/ssagen.buildssa(0x140007f58c0, 0x3)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssagen/ssa.go:582 +0x1b7c
cmd/compile/internal/ssagen.Compile(0x140007f58c0, 0x1013a50a8?)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssagen/pgen.go:183 +0x30
cmd/compile/internal/gc.compileFunctions.func4.1(0x14000580060?)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:153 +0x40
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:140 +0x4c
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 13 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 14 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 15 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 16 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 65 [runnable]:
cmd/compile/internal/ssagen.(*state).stmt(0x1400060c000, {0x101612be0, 0x14001112c30?})
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssagen/ssa.go:1933 +0x2f84
cmd/compile/internal/ssagen.(*state).stmtList(...)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssagen/ssa.go:1399
cmd/compile/internal/ssagen.(*state).stmt(0x1400060c000, {0x101612e38, 0x14000880d80?})
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssagen/ssa.go:1422 +0x42d0
cmd/compile/internal/ssagen.(*state).stmtList(...)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssagen/ssa.go:1399
cmd/compile/internal/ssagen.(*state).stmt(0x1400060c000, {0x1016152f0, 0x14000bce900?})
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssagen/ssa.go:1875 +0x31d4
cmd/compile/internal/ssagen.(*state).stmtList(...)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssagen/ssa.go:1399
cmd/compile/internal/ssagen.buildssa(0x140008c9080, 0x1)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssagen/ssa.go:582 +0x1b7c
cmd/compile/internal/ssagen.Compile(0x140008c9080, 0x1013a50a8?)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssagen/pgen.go:183 +0x30
cmd/compile/internal/gc.compileFunctions.func4.1(0x0?)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:153 +0x40
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:140 +0x4c
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 66 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 67 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 68 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 69 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 70 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 71 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 72 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 73 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 74 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 75 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 76 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 77 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 78 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 79 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 80 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 81 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 82 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 83 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 84 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 85 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 86 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 87 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 88 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 89 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 90 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 91 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 92 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 93 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 94 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 95 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 96 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 97 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 98 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 99 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 100 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 101 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 102 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 103 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 104 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 105 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 106 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 107 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 108 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 109 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 110 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 111 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 112 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 113 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 114 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 115 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 116 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 117 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 118 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 119 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 120 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 121 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 122 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 123 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 124 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 125 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 126 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 127 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 128 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 129 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 130 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 131 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 132 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 133 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 134 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 135 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 136 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 137 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 138 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 139 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 140 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 141 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 142 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 143 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 144 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 145 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 146 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 147 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 148 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 149 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 150 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 151 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 152 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 153 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 154 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 155 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 156 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 157 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 158 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 159 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 160 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 161 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 162 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 163 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 164 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 165 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 166 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 167 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 168 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 169 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 170 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 171 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 172 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 173 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 174 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 175 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 176 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 177 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 178 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 179 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 180 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 181 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 182 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 183 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 184 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 185 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 186 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 187 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 188 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 189 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 190 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 191 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 192 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 193 [chan receive]:
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:139 +0x38
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80
make: *** [migrate] Error 2

OR

go build Output
# crypto/des
<unknown line number>: internal compiler error: panic: assertion failed

Please file a bug report including a short program that triggers the error.
https://go.dev/issue/new
# log
fatal error: concurrent map writes

goroutine 57 [running]:
runtime.throw({0x102eec9e7?, 0x140003dfe18?})
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/runtime/panic.go:992 +0x50 fp=0x140000857e0 sp=0x140000857b0 pc=0x10275c390
runtime.mapassign(0x1030a91c0, 0x1400050b290, 0x0?)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/runtime/map.go:686 +0x468 fp=0x14000085860 sp=0x140000857e0 pc=0x102736468
cmd/compile/internal/ssagen.(*simplePhiState).insertPhis(0x140000859c0)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssagen/phi.go:471 +0x9b8 fp=0x14000085990 sp=0x14000085860 pc=0x102d04118
cmd/compile/internal/ssagen.(*state).insertPhis(0x140004c6b00?)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssagen/phi.go:45 +0x124 fp=0x14000085b00 sp=0x14000085990 pc=0x102d011b4
cmd/compile/internal/ssagen.buildssa(0x140005e02c0, 0x2)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssagen/ssa.go:599 +0x1c7c fp=0x14000085e80 sp=0x14000085b00 pc=0x102d0928c
cmd/compile/internal/ssagen.Compile(0x140005e02c0, 0x102eb50a8?)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssagen/pgen.go:183 +0x30 fp=0x14000085f50 sp=0x14000085e80 pc=0x102d001c0
cmd/compile/internal/gc.compileFunctions.func4.1(0x0?)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:153 +0x40 fp=0x14000085f90 sp=0x14000085f50 pc=0x102eb4f70
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:140 +0x4c fp=0x14000085fd0 sp=0x14000085f90 pc=0x102eb50bc
runtime.goexit()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/runtime/asm_arm64.s:1263 +0x4 fp=0x14000085fd0 sp=0x14000085fd0 pc=0x10278de54
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

goroutine 1 [semacquire]:
sync.runtime_Semacquire(0x140000c5450?)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/runtime/sema.go:56 +0x2c
sync.(*WaitGroup).Wait(0x140000c5450)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/sync/waitgroup.go:136 +0x88
cmd/compile/internal/gc.compileFunctions()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:165 +0x1e0
cmd/compile/internal/gc.Main(0x10311b3d8)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/main.go:310 +0x1170
main.main()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/main.go:55 +0xf8

goroutine 23 [runnable]:
cmd/compile/internal/liveness.Map.Get(...)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/liveness/plive.go:178
cmd/compile/internal/ssagen.genssa(0x140003f28c0, 0x140006a1180)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssagen/ssa.go:6941 +0x29c0
cmd/compile/internal/ssagen.Compile(0x140005e0420, 0x102eb50a8?)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssagen/pgen.go:193 +0x2b8
cmd/compile/internal/gc.compileFunctions.func4.1(0x0?)
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:153 +0x40
cmd/compile/internal/gc.compileFunctions.func3.1()
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:140 +0x4c
created by cmd/compile/internal/gc.compileFunctions.func3
        /opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80

make: *** [migrate] Error 2
@seankhliao seankhliao changed the title Bug: go corss build random fail cmd/compile: go cross build random fail Jul 18, 2022
@gopherbot gopherbot added the compiler/runtime Issues related to the Go compiler and/or runtime. label Jul 18, 2022
@seankhliao seankhliao added NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. and removed compiler/runtime Issues related to the Go compiler and/or runtime. labels Jul 18, 2022
@seankhliao
Copy link
Member

seankhliao commented Jul 18, 2022

What does "with gin default repo +gorm test" mean?

cc @golang/compiler

@zzjin
Copy link
Author

zzjin commented Jul 18, 2022

What does "with gin default repo +gorm test" mean?

cc @golang/compiler

May be not related to gorm or any other package?
cross build linux/amd64 from darwin/arm64 use go build, randomly panic, sometimes say gorm fail, and others say:

# github.com/dgrijalva/jwt-go
../../../go/pkg/mod/github.com/dgrijalva/jwt-go@v3.2.0+incompatible/none.go:21:1: internal compiler error: 'init.2': panic during expand calls while compiling init.2:

runtime error: invalid memory address or nil pointer dereference

goroutine 79 [running]:
cmd/compile/internal/ssa.Compile.func1()
	/opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssa/compile.go:50 +0x70
panic({0x102d65ca0, 0x103251000})
	/opt/homebrew/Cellar/go/1.18.4/libexec/src/runtime/panic.go:838 +0x204
cmd/compile/internal/types.(*Type).Kind(...)
	/opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/types/type.go:247
cmd/compile/internal/ssa.(*expandState).storeArgOrLoad(0x14000d5fbd8, {0xe0250?, 0x140?}, 0x0?, 0x14000a1c200, 0x14000a1c270, 0x0, 0x0, 0x0, {0x14000a1be80, ...})
	/opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssa/expand_calls.go:952 +0x998
cmd/compile/internal/ssa.(*expandState).rewriteArgs(0x14000d5fbd8, 0x14000a1c2e0, 0x0)
	/opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssa/expand_calls.go:1138 +0x814
cmd/compile/internal/ssa.expandCalls(0x140000da1c0)
	/opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssa/expand_calls.go:1245 +0x288c
cmd/compile/internal/ssa.Compile(0x140000da1c0)
	/opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssa/compile.go:98 +0x8f0
cmd/compile/internal/ssagen.buildssa(0x14000808c60, 0x2)
	/opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssagen/ssa.go:602 +0x1c88
cmd/compile/internal/ssagen.Compile(0x14000808c60, 0x102b6d0a8?)
	/opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssagen/pgen.go:183 +0x30
cmd/compile/internal/gc.compileFunctions.func4.1(0x0?)
	/opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:153 +0x40
cmd/compile/internal/gc.compileFunctions.func3.1()
	/opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:140 +0x4c
created by cmd/compile/internal/gc.compileFunctions.func3
	/opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80



Please file a bug report including a short program that triggers the error.
https://go.dev/issue/new
make: *** [main] Error 2

is is just randomly fail with no same panic error location.

And sometines, go build works well, output the right binary.

@zzjin
Copy link
Author

zzjin commented Jul 19, 2022

As one sample gin repo could randoms cause random build error:

package main

import (
	"log"
	"net/http"
	"os"
	"os/signal"
	"syscall"

	"github.com/gin-contrib/gzip"
	"github.com/gin-contrib/pprof"
	"github.com/gin-gonic/gin"
)

func main() {
	r := gin.New()
	r.Use(gin.Recovery())
	r.Use(gin.Logger())
	r.SetTrustedProxies([]string{"0.0.0.0/0"})
	r.Use(gzip.Gzip(gzip.DefaultCompression))
	pprof.Register(r, "/spd")
	r.HEAD("/ping", func(c *gin.Context) {
		c.JSON(200, gin.H{
			"message": "pong",
		})
	})
	srv := &http.Server{
		Handler: r,
		Addr:    ":8080",
	}
	go func() {
		if err := srv.ListenAndServe(); err != nil && err != http.ErrServerClosed {
			log.Fatalf("listen: %s\n", err)
		}
	}()
	quit := make(chan os.Signal, 1)
	signal.Notify(quit, syscall.SIGINT, syscall.SIGTERM)
	<-quit
	log.Println("Shutdown Server ...")
}

run build command

GOOS=linux GOARCH=amd64 CGO_ENABLED=0 GO111MODULE=auto go build -tags='jsoniter nomsgpack' -a -ldflags '-s -w -extldflags "-static"' -trimpath -o main

after some build commands run, error happened(about 2 fails/5 build commands).

Output:

# crypto/aes
/opt/homebrew/Cellar/go/1.18.4/libexec/src/crypto/aes/cipher_asm.go:59:16: internal compiler error: '(*aesCipherAsm).Encrypt': no register available for v14 = LEAQ <*string> {""..stmp_12} v3

Please file a bug report including a short program that triggers the error.
https://go.dev/issue/new
# crypto/cipher
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x0]

goroutine 107 [running]:
cmd/compile/internal/ssa.(*FuncDebug).PutLocationList(0x100dd43c0?, {0x14000953240, 0x13, 0x3c}, 0x1400031c200, 0x140008dc180, 0x1?)
	/opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssa/debug.go:1363 +0x158
cmd/compile/internal/dwarfgen.createComplexVar.func1({0x100de30b8?, 0x140008dc180?}, {0x100de30b8?, 0x140008b8a00?})
	/opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/dwarfgen/dwarf.go:506 +0x7c
cmd/internal/dwarf.putvar({0x100de5ff8?, 0x1400031c200}, 0x140009a9c68, 0x140009c2230, {0x100de30b8?, 0x0}, 0x140009a9848?, 0x1?, {0x14000924840, 0x1003f8560?, ...})
	/opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/internal/dwarf/dwarf.go:1697 +0x420
cmd/internal/dwarf.putscope({0x100de5ff8?, 0x1400031c200}, 0x140009a9c68, {0x1400099e900?, 0x1, 0x1}, 0x0, 0x1003ff248?, {0x14000924840, 0x0, ...})
	/opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/internal/dwarf/dwarf.go:1525 +0x32c
cmd/internal/dwarf.putPrunedScopes({0x100de5ff8, 0x1400031c200}, 0x140009a9c68, 0x140008dc100?)
	/opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/internal/dwarf/dwarf.go:1219 +0x16c
cmd/internal/dwarf.PutDefaultFunc({0x100de5ff8, 0x1400031c200}, 0x140009a9c68, 0x0)
	/opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/internal/dwarf/dwarf.go:1457 +0x32c
cmd/internal/obj.(*Link).populateDWARF(0x1400031c200, {0x100dd73c0, 0x140003c4b00}, 0x140008b8a00, {0x16fa13251, 0xd})
	/opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/internal/obj/dwarf.go:383 +0x394
cmd/internal/obj.Flushplist(0x1400031c200, 0x140009a9f28, 0x1400093eef0, {0x16fa13251, 0xd})
	/opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/internal/obj/plist.go:157 +0x6a4
cmd/compile/internal/objw.(*Progs).Flush(...)
	/opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/objw/prog.go:124
cmd/compile/internal/ssagen.Compile(0x140003c4b00, 0x100b790a8?)
	/opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/ssagen/pgen.go:208 +0x574
cmd/compile/internal/gc.compileFunctions.func4.1(0x0?)
	/opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:153 +0x40
cmd/compile/internal/gc.compileFunctions.func3.1()
	/opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:140 +0x4c
created by cmd/compile/internal/gc.compileFunctions.func3
	/opt/homebrew/Cellar/go/1.18.4/libexec/src/cmd/compile/internal/gc/compile.go:138 +0x80
make: *** [cron] Error 2

@cherrymui
Copy link
Member

cherrymui commented Jul 19, 2022

What version of macOS are you using?

@zzjin
Copy link
Author

zzjin commented Jul 19, 2022

What version of macOS are you using?
MacOS ventura 13 beta(22A5295i)
is that the case?

@cherrymui
Copy link
Member

cherrymui commented Jul 19, 2022

See #53800. Closing as a dup. Thanks,

@cherrymui cherrymui closed this as not planned Won't fix, can't repro, duplicate, stale Jul 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

4 participants