Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 590256 - dev-lang/go keyword request
Summary: dev-lang/go keyword request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: s390 Linux
: Normal enhancement (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords: KEYWORDREQ
Depends on:
Blocks: 590766
  Show dependency tree
 
Reported: 2016-08-02 05:24 UTC by Leno Hou
Modified: 2018-05-01 20:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leno Hou 2016-08-02 05:24:31 UTC
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
Comment 1 SpanKY gentoo-dev 2016-08-02 06:23:51 UTC
adding s390 support sounds fine, but i have no idea how to do it :)
Comment 2 Leno Hou 2016-08-02 06:39:48 UTC
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.
Comment 3 William Hubbs gentoo-dev 2016-08-08 18:45:59 UTC
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
Comment 4 William Hubbs gentoo-dev 2016-08-16 17:39:01 UTC
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.
Comment 5 Leno Hou 2016-08-31 09:23:58 UTC
Thanks William. I've emerged go-1.7 on s390x and works fine now.

@vapier Could you add keyword s390x now ? Thanks
Comment 6 William Hubbs gentoo-dev 2017-02-22 17:17:49 UTC
@vapier:
Can you verify that this still works and add the ~s390 keyword to
dev-lang/go-1.8 if it does?
Comment 7 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2018-05-01 20:12:22 UTC
Added to the latest