Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 701 Bytes

README.md

File metadata and controls

39 lines (27 loc) · 701 Bytes

go1.17-linker-issue

Go 1.17 may have a linker bug.

fatal error: unreachable method called. linker bug?

Steps to reproduce

$ go version
go version go1.17 linux/amd64

$ go build -buildmode=plugin -o plugin.so ./plugin

$ go run main.go
fatal error: unreachable method called. linker bug?

goroutine 1 [running]:
runtime.throw({0xa1aab8, 0xc00014e880})
...
exit status 2

with scenarigo

$ go install github.com/zoncoen/scenarigo/cmd/scenarigo@v0.8.0

$ go build -buildmode=plugin -o plugin.so ./plugin

$ scenarigo run test.yaml
fatal error: unreachable method called. linker bug?

goroutine 21 [running]:
runtime.throw({0xcb5e67, 0xc000171980})
...