I know that my platform is not supported. However, I've been successful in patching and building working go v1.13 on my Raptor Blackbird (Power9) running FreeBSD v12.1. I'm also able to build versions 1.14 and 1.15 as well.
I can build a working go v1.13 on FreeBSD v13 with the same patches used for FreeBSD v12.1. However, when attempting to build go v1.14 on FreeBSD v13, I get the below error: compile version go1.14.6 Building Go toolchain2 using go_bootstrap and Go toolchain1. wirep: p->m=0(0) p->status=101382 fatal error: wirep: invalid p state runtime stack: runtime.throw(0x3e47f0, 0x16) /usr/ports/lang/go/work/go/src/runtime/panic.go:1116 +0x5c runtime.wirep(0xc000012a80) /usr/ports/lang/go/work/go/src/runtime/proc.go:4309 +0x130 runtime.acquirep(0xc000012a80) /usr/ports/lang/go/work/go/src/runtime/proc.go:4278 +0x2c runtime.mstart1() /usr/ports/lang/go/work/go/src/runtime/proc.go:1101 +0xa8 runtime.mstart() /usr/ports/lang/go/work/go/src/runtime/proc.go:1062 +0x60 goroutine 1 [runnable, locked to thread]: runtime.chanrecv(0xc000068000, 0x0, 0x10000c000000180, 0x28a88) /usr/ports/lang/go/work/go/src/runtime/chan.go:422 +0x18 runtime.chanrecv1(0xc000068000, 0x0) /usr/ports/lang/go/work/go/src/runtime/chan.go:407 +0x24 runtime.gcenable() /usr/ports/lang/go/work/go/src/runtime/mgc.go:216 +0x88 runtime.main() /usr/ports/lang/go/work/go/src/runtime/proc.go:166 +0x110 runtime.goexit() /usr/ports/lang/go/work/go/src/runtime/asm_ppc64x.s:884 +0x4 go tool dist: FAILED: /usr/ports/lang/go/work/go/pkg/tool/freebsd_ppc64/go_bootstrap install -gcflags=all= -ldflags=all= -v -i cmd/asm cmd/cgo cmd/compile cmd/link cmd/buildid: exit status 2 Can someone help me diagnose this error? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAP9EAid1UtRo0jJCwAaLsBQTZu172_z2X8OwT4mOcjzmmyE3pA%40mail.gmail.com.