-
Notifications
You must be signed in to change notification settings - Fork 18k
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
runtime/race: race_linux_amd64.syso now depends on glibc 2.16 #37485
Comments
CC @dvyukov @randall77 (see CL 201898 / #33309) |
I see there is some logic not use getauxval: |
This is also broken in 1.14.1. |
Change https://golang.org/cl/226981 mentions this issue: |
Update race detector syso files for some platforms. There's still 2 more to do, but they might take a while so I'm mailing the ones I have now. Note: some arm64 tests did not complete successfully due to out of memory errors, but I suspect the .syso is correct. Update #14481 Update #37485 (I think?) Update #37355 Change-Id: I7e7e707a1fd7574855a538ba89dc11acc999c760 Reviewed-on: https://go-review.googlesource.com/c/go/+/226981 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This is also broken in 1.14.2. |
This should be fixed at tip (can you try tip? I've been told this issue has been fixed in compiler-rt but I haven't verified myself). @gopherbot Please open a backport issue to 1.14. |
Backport issue(s) opened: #38321 (for 1.14). Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://golang.org/wiki/MinorReleases. |
Easiest way to test at tip is with golang.org/dl/gotip. |
@FiloSottile is there a way to run the test suite with |
If you want gotip to be your Go install temporarily, you can add it to PATH.
EDIT: I see now that you want to build Go itself, and not test some external project. My mistake, do what's below instead. 🙂 |
You can either use |
@Roguelazer We're still waiting on confirmation that this has been fixed on tip. Is there anything we can do to help you confirm that? Thanks. |
Sorry; I only package Go; I don't actually use it very often.
lgtm |
Thanks! |
Change https://golang.org/cl/231222 mentions this issue: |
Update race detector syso files for some platforms. There's still 2 more to do, but they might take a while so I'm mailing the ones I have now. Note: some arm64 tests did not complete successfully due to out of memory errors, but I suspect the .syso is correct. For #14481 For #37485 (I think?) For #37355 Fixes #38321 Change-Id: I7e7e707a1fd7574855a538ba89dc11acc999c760 Reviewed-on: https://go-review.googlesource.com/c/go/+/226981 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> (cherry picked from commit 041bcb3) Reviewed-on: https://go-review.googlesource.com/c/go/+/231222 Reviewed-by: Keith Randall <khr@golang.org>
Not to pile on, but with 1.14.3 I see this still happens for arm64.
|
This is back for Go 1.15: I have a linux/amd64 build environment that uses glibc 2.12 which cannot build
|
Milestone set to Go 1.15 to look into whether it's a regression. |
This does look like a regression, although I don't really understand why it happened. The corresponding tsan code doesn't look like it changed recently. Did we update the linux/amd64 builder to a >= 2.16 glibc from a < 2.16 glibc? (Tsan has the annoying C-derived property that it makes build decisions based on the machine that it is building on, not the machine it will run on.) I have a simple patch to the thread sanitizer that will fix this. We'll need to rebuild the .syso files again after that patch goes in. Could be a day or two. |
Change https://golang.org/cl/246258 mentions this issue: |
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?
I am attempting to build go 1.14 for our internal, EL6-based distribution. 1.12 and 1.13 work fine, but 1.14 fails any time it tries to build with
-race
with the following:It appears that
race_linux_amd64.syso
now has a dependency on glibc 2.16, whereas previous versions were built against glibc 2.12. This does not appear to be documented anywhere.I do not have access to a system with the requisite LLVM dependencies to build a new
race_linux_amd64.syso
, but it would be great if that new dependency could be changed.What did you expect to see?
A successful build
What did you see instead?
Failed self-tests
The text was updated successfully, but these errors were encountered: