I was following guild on https://golang.org/doc/install/source
to build go from gccgo on Solaris 10 amd64. Unfortunately it is not working properly for some reason, i don't if it is bug or it is intended this way. Following are the steps of the build.
1. Compile gcc5core from opencsw.
2. link src folder form the lib: ln -s /opt/csw/lib/go/5.2.0/i386-pc-solaris2.10 /opt/csw/lib/go/5.2.0/i386-pc-solaris2.10/src
3. link go-5.2 to go: ln -s /opt/csw/bin/go-5.2 /opt/csw/lib/go/5.2.0/i386-pc-solaris2.10/bin/go
4. build: cd /tmp/go/src; GOROOT_BOOTSTRAP=/opt/csw/lib/go/5.2.0/i386-pc-solaris2.10 ./make.bash
The error i get is as follows:
bash-3.2# GOROOT_BOOTSTRAP=/opt/csw/lib/go/5.2.0/i386-pc-solaris2.10 GOPATH=/tmp/go ./make.bash
##### Building Go bootstrap tool.
encoding/json/decode.go:12:2: no buildable Go source files in /opt/csw/lib/go/5.2.0/i386-pc-solaris2.10/src/encoding
bytes/buffer.go:11:2: no buildable Go source files in /opt/csw/lib/go/5.2.0/i386-pc-solaris2.10/src/io
cmd/dist/test.go:13:2: no buildable Go source files in /opt/csw/lib/go/5.2.0/i386-pc-solaris2.10/src/log
strconv/atof.go:13:8: no buildable Go source files in /opt/csw/lib/go/5.2.0/i386-pc-solaris2.10/src/math
fmt/print.go:10:2: no buildable Go source files in /opt/csw/lib/go/5.2.0/i386-pc-solaris2.10/src/os
cmd/dist/test.go:17:2: no buildable Go source files in /opt/csw/lib/go/5.2.0/i386-pc-solaris2.10/src/regexp
imports runtime: no buildable Go source files in /opt/csw/lib/go/5.2.0/i386-pc-solaris2.10/src/runtime
reflect/type.go:21:2: no buildable Go source files in /opt/csw/lib/go/5.2.0/i386-pc-solaris2.10/src/sync
bytes/bytes.go:10:2: no buildable Go source files in /opt/csw/lib/go/5.2.0/i386-pc-solaris2.10/src/unicode
Can anyone help explain it to me what is the correct method to build go on Solaris 10 amd64? As I understand that cross-compile in go does not really support Solaris 10, so I am wonderring is there any plans on build port on this Operating system?
Thanks a lot.