-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: host 390x downloads #16443
Comments
so this (gcc-s390x-linux-gnu) is unfortunately only in On Wed, Jul 20, 2016 at 10:51 AM, Brad Fitzpatrick <notifications@github.com
Jessie Frazelle |
That's fine. We can build it in a bleeding-edge-Debian container. |
If we cross compile s390 binary, why not also crosscompile and provide
downloads for other Linux ports as well? MIPS and PPC come to mind.
Even simpler, we could do a nocgo release, and document how the user could
rebuild the choir using packages once unpacked and before installation.
This post-unpack rebuild also allow the user to change the embedded GOROOT.
|
Can I please volunteer as tribute to figure out MIPS cross compilation, On Wednesday, July 20, 2016, Minux Ma notifications@github.com wrote:
Jessie Frazelle |
If we do end up cross-compiling, we should still run the tests on a real machine against the cross-compiled version. @billotosyr is IBM able to provide access to that? |
@broady, the idea is we'll only run |
Now that 1.7 is out, is it possible to nudge this issue forward? Thx... |
I'm still waiting for somebody to give me a Docker recipe for building these things. @jfrazelle had volunteered? |
On it! |
CL https://golang.org/cl/27242 mentions this issue. |
Can this be moved to the next step? Thx. |
Update golang/go#16443 Change-Id: I59edb7334ad6236981b96faddb8aeb564579435b Reviewed-on: https://go-review.googlesource.com/27242 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
I tried to deploy this, but it doesn't work and I failed to figure out why. |
maybe i am missing something that is needed for systemd in the container? thats how these run right... i will try some things locally to see |
There's no systemd in these containers. See |
oh i know what it is ill make a CL, facepalm |
CL https://golang.org/cl/28172 mentions this issue. |
Can somebody with s390x verify that this build works: https://storage.googleapis.com/go-builder-data/go.devel.linux-s390x.tar.gz.TMP ? And can somebody review https://go-review.googlesource.com/28172 ? The tarball above was generated with cmd/release from that CL. |
Given that we have cross compiling infrastructure in place,
could we also host tarballs for other supported Linux architectures?
arm64/ppc64/ppc64le/mips64 and mips64le.
None of them can be easily bootstrapped from C without using
another architecture. (There is a route for ppc64/ppc64le, but it's
very tedious.)
|
@minux, I suppose. If we flag the experimental ones as experimental loudly on our downloads page. |
On 31 August 2016 at 12:08, Brad Fitzpatrick notifications@github.com
|
@mwhudson, can you confirm that cgo works? Maybe just that os/user tests pass without skips? (since os/user uses cgo) |
On 31 August 2016 at 13:34, Brad Fitzpatrick notifications@github.com
Cheers, |
This tarball worked fine for me. I did have to export CC=gcc on systems other than Ubuntu, otherwise cgo would give me the error 'exec: "s390x-linux-gnu-gcc": executable file not found in $PATH'. This is only a minor nit, so please feel free to publish the tarball. Thank you very much for taking care of this!! |
Also modifies cmd/release to wire it up. Updates golang/go#16443 Change-Id: Ie80a224957f6f662d0aec0fd083e2a57e30436c4 Reviewed-on: https://go-review.googlesource.com/28172 Reviewed-by: Jessica Frazelle <me@jessfraz.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Assigning to @broady at this point, since cmd/release now supports it. Chris, maybe you can put up the s390x binaries tomorrow with Go 1.7.1? |
teamwork!!! high five!! |
I think we need to fix the CC=gcc issue.
We can use a gcc wrapper on the builder.
|
This happened. Go 1.7.1 includes s390x binaries on https://golang.org/dl/ Thanks, @jfrazelle, @broady, @mwhudson, @billotosyr ... |
🙌🏼🙌🏼 On Wednesday, September 7, 2016, Brad Fitzpatrick notifications@github.com
Jessie Frazelle |
Thanks! |
Let's cross compile MIPS now!!! On Wednesday, September 7, 2016, billotosyr notifications@github.com
Jessie Frazelle |
This bug is about
@jfrazelle had mentioned
CC=gcc-5-s390x-linux-gnu
. There a Debian package for that? We want to be able to build s390x binaries on linux-amd64. (All other release builds are built + tested on either native hardware or VMs, but we'll have to stop at justmake.bash
for s390x).As for (2), we briefly discussed having a section or column to denote which builds are at which support status. Let's defer that discussion until we have (1) figured out.
/cc @billotosyr, @adg, @broady
The text was updated successfully, but these errors were encountered: