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/compile: <autogenerated>:1: symbol listed multiple times for same type across multiple packages [1.12 backport] #31396
Comments
Whoops, wanted 1.12. |
Change https://golang.org/cl/173317 mentions this issue: |
@randall77 - there isn't a reason provided in the gopherbot message. Would you mind providing one for this backport? |
This issue causes compilation to fail, and is a regression from 1.11. |
Thanks! Approved based on our policy at https://github.com/golang/go/wiki/MinorReleases. |
…ck object symbol Stack object generation code was always using the local package name for its symbol. Normally that doesn't matter, as we usually only compile functions in the local package. But for wrappers, the compiler generates functions which live in other packages. When there are two other packages with identical functions to wrap, the same name appears twice, and the compiler goes boom. Fixes #31396 Change-Id: I7026eebabe562cb159b8b6046cf656afd336ba25 Reviewed-on: https://go-review.googlesource.com/c/go/+/171464 Run-TryBot: Keith Randall <khr@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com> (cherry picked from commit 43001a0) Reviewed-on: https://go-review.googlesource.com/c/go/+/173317 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Closing since cherry-pick landed. |
@randall77 requested issue #31252 to be considered for backport to the next 1.11 minor release.
The text was updated successfully, but these errors were encountered: