You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jxhb We don't know what the problem is. When we say that Go 1.12 is no longer supported, we mean that we aren't going to investigate problems reported against it. We don't have the time to look into problems with such an old release. That is especially true since most likely our advice would be to update to a supported release anyhow.
So, yes, you should update to a newer version, but, no, we can't promise that that will fix the problem. It probably will, but we don't actually know. Sorry.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
go build
panic: runtime error: index out of range
goroutine 1 [running]:
cmd/link/internal/ld.decodetypeKind(...)
/usr/local/go/src/cmd/link/internal/ld/decodesym.go:69
cmd/link/internal/ld.newtype(0xc00004e000, 0xc00e722660, 0xc01f5b2f40)
/usr/local/go/src/cmd/link/internal/ld/dwarf.go:423 +0x29e1
cmd/link/internal/ld.defgotype(0xc00004e000, 0xc00e722660, 0x3c)
/usr/local/go/src/cmd/link/internal/ld/dwarf.go:418 +0x1c9
cmd/link/internal/ld.dwarfGenerateDebugInfo(0xc00004e000)
/usr/local/go/src/cmd/link/internal/ld/dwarf.go:1810 +0x8ee
cmd/link/internal/ld.Main(0x1431f20, 0x10, 0x20, 0x1, 0x7, 0x10, 0x1278d61, 0x1b, 0x1275a70, 0x14, ...)
/usr/local/go/src/cmd/link/internal/ld/main.go:211 +0xb95
main.main()
/usr/local/go/src/cmd/link/main.go:65 +0x1d0
// Type.commonType.kind
func decodetypeKind(arch *sys.Arch, s sym.Symbol) uint8 {
return s.P[2arch.PtrSize+7] & objabi.KindMask // 0x13 / 0x1f
}
What did you expect to see?
go build success
What did you see instead?
panic: runtime error: index out of range
goroutine 1 [running]:
cmd/link/internal/ld.decodetypeKind(...)
The text was updated successfully, but these errors were encountered: