-
Notifications
You must be signed in to change notification settings - Fork 18k
runtime/race: race_linux_amd64.syso now depends on glibc 2.17 #53522
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
Comments
The current version of glibc is 2.35. glibc 2.17 was released in 2012, almost 10 years ago. I think this dependency is OK. We have to be able to move forward sometimes. |
I can see wanting to move forward as completely reasonable and it isn't a show-stopper for us. Just saw what might be an unintended regression in 1.19beta1 (and didn't catch anything in release notes indicating drop of support). Though it is probably worth mentioning that the Go Minimum Requirements still lists kernel 2.6.23 as supported, which predates even glibc 2.12. |
Thanks for pointing that out. We actually lifted the minimum Linux version to 2.6.32 in #45964, but we never updated the wiki page. I just did that now. Although 2.6.32 is still older than glibc 2.17. And that said, Go still works with glibc 2.17, it's only the race detector that fails. Hopefully people still using these old glibc versions can at least have access to a newer glibc if they want to run the race detector. |
I sent https://go.dev/cl/413876 to mention this in the release notes. |
Change https://go.dev/cl/413876 mentions this issue: |
Fixes golang#53522 Change-Id: Ibed838d358a733d26a6c3d89446d7fadb1012961 Reviewed-on: https://go-review.googlesource.com/c/go/+/413876 Reviewed-by: Keith Randall <[email protected]> Reviewed-by: Keith Randall <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Run-TryBot: Ian Lance Taylor <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> Run-TryBot: Ian Lance Taylor <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
Fixes golang#53522 Change-Id: Ibed838d358a733d26a6c3d89446d7fadb1012961 Reviewed-on: https://go-review.googlesource.com/c/go/+/413876 Reviewed-by: Keith Randall <[email protected]> Reviewed-by: Keith Randall <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Run-TryBot: Ian Lance Taylor <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> Run-TryBot: Ian Lance Taylor <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
Fixes golang#53522 Change-Id: Ibed838d358a733d26a6c3d89446d7fadb1012961 Reviewed-on: https://go-review.googlesource.com/c/go/+/413876 Reviewed-by: Keith Randall <[email protected]> Reviewed-by: Keith Randall <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Run-TryBot: Ian Lance Taylor <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> Run-TryBot: Ian Lance Taylor <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes -> 1.19beta1
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I was attempting to build go1.19beta1 on one of our older Linux distributions which has glibc 2.12. go1.18.3 builds work fine. It fails with:
Grabbing the previous version of
race_linux_amd64.syso
(prior to commit d6a1ffd) appears to allow the build to proceed. It seems this may be a recurrence of #37485. It appears to have a dependency on glibc 2.17 now, where as before it was glibc 2.12.What did you expect to see?
Successful build of 1.19beta1
What did you see instead?
Failed race detector tests
The text was updated successfully, but these errors were encountered: