On Tue, Nov 3, 2015 at 6:38 AM, William Hubbs <williamh@gentoo.org> wrote:
On Mon, Nov 02, 2015 at 09:12:30PM +0100, Justin Lecher (jlec) wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> How about a virtual here?

I don't see that working out to well because the compilers are
completely different from each other. As I said, the reference
implementation of the go language is dev-lang/go and the other one, that
is part of gcc, as I understand it, is not quite as fully developed as
dev-lang/go.


As you said, I want to build packages use `go build` command.  
1. The GCC 5 releases include a complete implementation of the Go 1.4 user libraries. [1]
2. The Go 1.4 runtime is not fully merged, but that should not be visible to Go programs.
3.  The GCC 5 includes go command like dev-lang/go
4.  Now I've successfully compiled docker on gentoo ppc64le by gcc5, see [2]
5.  So I think there're the same. but i'm not sure, Is dev/go-1.5  support ppc64, s390 platform ? 
     If not support,  DEPEND=" || ( >=dev-lang/go-1.4:= >sys-devel/gcc-5.1.0:=[go] ) " would be better.
 
Links
[1] https://golang.org/doc/install/gccgo
[2] https://bpaste.net/show/e4c68cfec77c

-Leno Hou