When I glance the s390x platform's golang, it seems there is no golang on s390x. So I open a new Bug here to request support it. Thanks Reproducible: Always Steps to Reproduce: 1. Download the experimental minimal s390x livecd and stage3. Install from netboot. 2. Then #emerge golang --nodeps 3. There is no golang on s390x, so....... Actual Results: Can't emerge golang on s390x Expected Results: emerge golang on s390x Hi William, This is the wiki for you reference on s390x. https://github.com/linux-on-ibm-z/docs/wiki/Building-Go http://dave.cheney.net/2015/10/16/bootstrapping-go-1-5-on-non-intel-platforms
adding s390 support sounds fine, but i have no idea how to do it :)
There are two ways to build golang. 1. cross-build go-bootstrap for s390x platform This is mentioned in http://dave.cheney.net/2015/10/16/bootstrapping-go-1-5-on-non-intel-platforms 2. use gccgo to build golang. we shouldn't assume that use gcc5-go to build golang because maybe lately we'll introducing gcc6-go. Thanks.
I will make a bootstrap binary and do this when Go1.7 is released; that is the first version that supports s390. This document contains the table of arch/os pairs that Go supports: https://golang.org/doc/install/source
Go 1.7 is in the tree, and I created a bootstrap binary for s390x. @vapier: Please attempt to emerge go 1.7 on s390 and add the keyword if that is successful.
Thanks William. I've emerged go-1.7 on s390x and works fine now. @vapier Could you add keyword s390x now ? Thanks
@vapier: Can you verify that this still works and add the ~s390 keyword to dev-lang/go-1.8 if it does?
Added to the latest