-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/link: unexpected bindingNone in '_go.buildid' [1.15 backport] #42948
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
According to #42082 (comment) https://golang.org/cl/270942 is open against the 1.15 release branch to resolve this. I've cherry-picked onto 1.15.5 locally and validated it solves our issue. This is about a regression introduced in 1.15 that prevents us from linking some binaries for darwin. There are no workarounds. |
Change https://golang.org/cl/270942 mentions this issue: |
This has been approved as it is a serious issue without a known workaround. |
Closed by merging 480da60 to release-branch.go1.15. |
Immediately after a forward Seek, the offset we're writing to is beyond len(buf)+len(heap): |<--- buf --->|<--- heap --->| ^ off If we do a copyHeap at this point, the new heapPos should not be 0: |<---------- buf ----------->|<-heap->| ^ off Recompute it. Updates #42082 Fixes #42948 Change-Id: Icb3e4e1c7bf7d1fd3d76a2e0d7dfcb319c661534 Reviewed-on: https://go-review.googlesource.com/c/go/+/270942 Run-TryBot: Carlos Amedee <carlos@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Than McIntosh <thanm@google.com> Reviewed-by: Jeremy Faller <jeremy@golang.org> Trust: Cherry Zhang <cherryyz@google.com>
@robbertvanginkel requested issue #42082 to be considered for backport to the next 1.15 minor release.
The text was updated successfully, but these errors were encountered: