IBM Is requesting that we have stack parity on ppc64le ni RHEL7.4 and Pegas, which includes support for docker and kubernetes. golang is a needed prerequisite for that support. Please add golang to our ppc64le build environment
Created attachment 1232733 [details]
spec file update for golang support
Here is the modified spec file I used to build golang for ppc64le here:
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.