Bug 1405587
Summary: | build golang for ppc64le and s390x | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Neil Horman <nhorman> | ||||
Component: | golang | Assignee: | Jakub Čajka <jcajka> | ||||
Status: | CLOSED ERRATA | QA Contact: | Martin Cermak <mcermak> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 7.4 | CC: | hannsj_uhl, jcajka, jistone, jwboyer, lkocman, mcermak, mnewsome, nhorman, peterm, sbest, skumari, snagar, yselkowi | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | golang-1.7.4-4.el7 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2017-08-01 20:21:21 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | 1414500 | ||||||
Bug Blocks: | 1344553, 1344554, 1344590, 1344592, 1344596, 1344598, 1405448, 1406046, 1406053, 1406054, 1406090, 1406137, 1406139, 1411763, 1418480, 1418899, 1419713, 1419739, 1419752, 1419763 | ||||||
Attachments: |
|
Description
Neil Horman
2016-12-16 18:59:12 UTC
Created attachment 1232733 [details] spec file update for golang support Here is the modified spec file I used to build golang for ppc64le here: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=12248586 I've subsequently used this package to build docker, which also works, so I'm reasonably confident it works well. Please note, that since gcc-go is not up to version 5 in RHEL7, I can't bootstrap with that package. As such, I've instead included the upstream go binary tarball in the spec file to act as a bootstrap compiler. Once we get golang built and into a collection that can be removed. Addendum: please also backport upstream commit b4efd09d1880793e33fbb191ccfe1657bfeba0c9 when enabling ppc64le on golang. This commit is needed to support larger relocations when linking, which will be needed to build kubernetes as part of this effort yeah, sure. Please also note the need for the upstream commit in comment 3 Jakub. Thanks! Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2017:1859 |