-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
x/build: document that Ubuntu 14.04 doesn't meet minimum requirement for Go 1.16 binary release #43996
Comments
For the record, the relocation is I don't think this affects https://golang.org/wiki/MinimumRequirements. The minimum requirements remain the same. This only applies to the binary release. I don't know what guidelines we might have for the binary releases. |
Yes, we have started using a newer distribution of Linux to build the binaries as of Go 1.16. The rationale is described in #40561 (comment). I'll copy it here:
From https://wiki.ubuntu.com/Releases, I see that Ubuntu 14.04 LTS (first released in 2014) standard support ended on April 2019, and EOL is on April 2022. |
Thank you! Then from my perspective, this issue could be closed, although I would love it if this were documented this somewhere? This information is not easy to find. Some information that seems to be the current policy:
My suggestion would be to update the wiki page with some additional detail about the Linux binary release requirements, and link to the wiki page from the Release Policy: https://golang.org/doc/devel/release.html#policy ; but honestly any place other than the Go issue tracker would be appreciated! I will be happy to submit some change somewhere, but given that I don't know where it should go, nor what it should say, it might be easier for someone else to do it. Thanks for the rapid clarification! |
Thank you for the report @evanj, and for answering questions Ian, and Dmitri! @evanj, thanks for the suggestions and conclusion in #43996 (comment), this then frees up this issue from holding up Go1.16. In regards to sending a change, I am not sure where else this could go, but for a start, please send a change to the Wiki and as Go1.17 and others progress, perhaps we can raise this with the @golang/release team to help decide where else to document these requirements. |
For what it's worth, this is also breaking linkage on Ubuntu 14 (trusty). That's also out of support of course, but more recently so. That's binutils 2.24. While I haven't tested on CentOS 6 (which is of course also out of support but still in widespread use by sysadmins who are still procrastinating on the whole Unfortunately too many of our customers still use CentOS6 to allow us to drop support, so we have to continue building there, which makes this problematic for us. We can probably get by with updating binutils, or if this is really just a problem with the binaries we can build our own go binaries. |
It's really just a problem with the binaries. If you build your own binaries on the systems in question you will not see this problem. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
A correctly linked binary.
What did you see instead?
This program builds correctly with Go 1.15.7, or if I run
all.bash
to build Go 1.16rc1 locally.My guess at what is happening
I think this means Go 1.16rc1 was built on a version of Linux with binutils > 2.24, which seems to be what happened with a previous similar issue: #31293
It could be that this is expected: Ubuntu 14.04 Trusty is End of Life and no longer supported, and the workaround is to build your own version of the Go tools. However, if this is expected, a mention in the release notes would be nice, and maybe a mention in the minimum requirements wiki page? https://github.com/golang/go/wiki/MinimumRequirements
The text was updated successfully, but these errors were encountered: