[go-nuts] Building Go On Unsupported Platform (FreeBSD/PowerPC64)

2020-12-17 Thread Curtis Hamilton
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

Re: [go-nuts] Re: Go 1.8 port to FreeBSD/PowerPC64

2019-06-10 Thread Curtis Hamilton
I’ve resolved my issue and now have a working copy of Go. Unfortunately, this version (1.8.7) is the last version that openly supports Power5. Mikael Urankar has ported 1.12.5 to PowerPC64, however, when I attempt to build this version I encounter “illegal instruction”, indicating that unsuppo

Re: [go-nuts] Re: Go 1.8 port to FreeBSD/PowerPC64

2019-06-04 Thread Curtis Hamilton
I don’t believe that’s related to the issue. I’m able to build the bootstrap, but having an issue getting it to recognize the environment. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails

[go-nuts] Re: Go 1.8 port to FreeBSD/PowerPC64

2019-06-03 Thread Curtis Hamilton
Currently. the FreeBSD port only supports "i386 amd64 armv6 armv7" and does not support powerpc64 (ppc64). I'm starting with an older version because newer versions seem to only support power8, while I'm using power5. -- You received this message because you are subscribed to the Google Groups

Re: [go-nuts] Go 1.8 port to FreeBSD/PowerPC64

2019-06-03 Thread Curtis Hamilton
I modified the freebsd/amd64 Go code and linux/ppc64 specific assembly code for freebsd/ppc64. With that done, I used the following to cross-compile on freebsd/amd64 host to create the bootstrap: env GOOS=freebsd GOARCH=ppc64 GOROOT_BOOTSTRAP=/usr/local/go ./bootstrap.bash I placed the result

[go-nuts] Go 1.8 port to FreeBSD/PowerPC64

2019-05-31 Thread Curtis Hamilton
I’m porting Go 1.8 to FreeBSD/PowerPC64. I’ve successfully built go-FreeBSD-ppc64-bootstrap using go on FreeBSD/amd64. However, l’m getting the error go: cannot find GOROOT directory, when executing ‘go env’ on the target system. I’m not sure if this is a code issue. I’ve tried some of the ti