-
Notifications
You must be signed in to change notification settings - Fork 3.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: Upgrade to Go 1.12 #35637
Comments
35638: build: reject builds with go 1.12. r=knz a=knz Informs #35637 We need this patch because people (eg. brew) are trying to build crdb with 1.12. Release note (build change): CockroachDB will provisionally refuse to build with go 1.12, as this is known to produce incorrect code inside CockroachDB. Co-authored-by: Raphael 'kena' Poss <[email protected]>
When built in the homebrew CI environment, the go 1.12 linker segfaults: Homebrew/homebrew-core#37788. We haven't seen that elsewhere so I don't know what, if anything, we can do about that. This issue also makes the homebrew-core cockroach package unbuildable (since brew insists on using the latest version of everything). We'll need to either fix the go 1.12 issues or go back to our own tap for 19.1: #35657. |
Linker bug appears to be known upstream: golang/go#30908 |
|
Fears of invalid builds have been resolved, so we no longer need to prohibit this. Note that it is difficult to be lint-clean with both 1.11 and 1.12 simultaneously, so we'll have to wait to fix the new lint issues until we move to 1.12 as the minimum version (post CRDB 19.1) Updates cockroachdb#35637 Release note: None
36389: build: Allow go 1.12 again r=petermattis a=bdarnell Fears of invalid builds have been resolved, so we no longer need to prohibit this. Note that it is difficult to be lint-clean with both 1.11 and 1.12 simultaneously, so we'll have to wait to fix the new lint issues until we move to 1.12 as the minimum version (post CRDB 19.1) Updates #35637 Release note: None Co-authored-by: Ben Darnell <[email protected]>
Fears of invalid builds have been resolved, so we no longer need to prohibit this. Note that it is difficult to be lint-clean with both 1.11 and 1.12 simultaneously, so we'll have to wait to fix the new lint issues until we move to 1.12 as the minimum version (post CRDB 19.1) Updates cockroachdb#35637 Release note: None
What's the difference between this and #35197? |
The other issue was a plan to do things with an attempt to identify problem areas ahead of time. This issue here is the list of actual problems that fell out of having some folk trying go 1.12 "by accident". I agree that given where we are we can probably combine them. Will close the other issue. |
It looks like there is some issue with homebrew 2.1.7 upgrade: Homebrew/homebrew-core#40048
|
Can someone please explain your versioning system? Chronologically 2.1.7 is the most recent release, but 19.... is the version you're shipping on your website. For packagers this is not easy to find or well documented info. Cheers 🍻 |
The most recent version is 19.1. However we also provide bug fixes in the previous releases 2.1 and security fixes in 2.0. |
@zbeekman @chenrui333 |
Sure, I'm familiar with supporting maintenance branches and backporting. The skip from 2 to 19 was the source of my confusion combined with it being somewhat unclear which versions are currently supported, and which is the newest, and where the major version numbers are coming from. As far as building against older It would be really great if we could find a way to build the latest releases with the latest go for homebrew. I do understand, that it can be hard to keep up with the latest compilers and tooling though. Hopefully we can get to a place that is good for everyone. 🍻 |
Another go 1.12 issue: If cockroach is built with 1.12, it will fail to start on systems where the file descriptor hard limit is below our recommended amount (previously it would log a warning and continue). See #37685 and golang/go#30401 |
Since the builder was upgraded a while ago and we already have code needing 1.12. Closes cockroachdb#35637 Release note: The minimum compiler version for building CRDB is now go 1.12.
Fears of invalid builds have been resolved, so we no longer need to prohibit this. Note that it is difficult to be lint-clean with both 1.11 and 1.12 simultaneously, so we'll have to wait to fix the new lint issues until we move to 1.12 as the minimum version (post CRDB 19.1) Updates cockroachdb#35637 Release note: None
Open standing issues:
TestCrashReportingPacket
failure util/log: TestCrashReportingPacket fails on go1.12 #35792The text was updated successfully, but these errors were encountered: