-
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
cmd/go: tests failing on linux-amd64-longtest [1.12 backport] #32295
Comments
CL 176558 fixes another link error that occurs when CL 164877 and CL 168200 are fixes for closely related problems, and these have already been backported. |
Approving since this is a serious problem with no workaround. Please follow the instructions at https://github.com/golang/go/wiki/MinorReleases to create the cherrypick CL. |
Change https://golang.org/cl/179677 mentions this issue: |
Closed by merging 451e6d6 to release-branch.go1.12. |
…uilt as libraries This fixes TestScript/cover_pkgall_multiple_mains, which started failing after CL 174657. When compiling main packages with coverage instrumentation (e.g., for -coverpkg all), we now pass -p with the full import path instead of '-p main'. This avoids link errors 'duplicate symbol main.main (types 1 and 1)'. Fixes #32295 Updates #31946 Updates #32150 Change-Id: Id147527b1dbdc14bb33ac133c30d50c250b4365c Reviewed-on: https://go-review.googlesource.com/c/go/+/176558 Run-TryBot: Jay Conrod <jayconrod@google.com> Reviewed-by: Cherry Zhang <cherryyz@google.com> Reviewed-by: Bryan C. Mills <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> (cherry picked from commit 3b8c804) Reviewed-on: https://go-review.googlesource.com/c/go/+/179677
@jayconrod requested issue #31946 to be considered for backport to the next 1.12 minor release.
The text was updated successfully, but these errors were encountered: