Skip to content
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, cmd/link: relocation target go.builtin.error.Error not defined [1.11 backport] #29307

gopherbot opened this issue Dec 17, 2018 · 2 comments


Copy link

@gopherbot gopherbot commented Dec 17, 2018

@bradfitz requested issue #29304 to be considered for backport to the next 1.11 minor release.

@gopherbot, please backport to Go 1.11.

Copy link

@gopherbot gopherbot commented Dec 17, 2018

Change mentions this issue: [release-branch.go1.11] cmd/compile: generate interface method expression wrapper for error.Error

Copy link

@gopherbot gopherbot commented Dec 17, 2018

Closed by merging a171e15 to release-branch.go1.11.

@gopherbot gopherbot closed this Dec 17, 2018
gopherbot pushed a commit that referenced this issue Dec 17, 2018
…sion wrapper for error.Error

A prior optimization ( removed the
generation of unnecessary method expression wrappers, but also
eliminated the generation of the wrapper for error.Error which
was still required.

Special-case error type in the optimization.

Fixes #29307

Change-Id: I54c8afc88a2c6d1906afa2d09c68a0a3f3e2f1e3
Reviewed-by: Brad Fitzpatrick <>
(cherry picked from commit a1aafd8)
Run-TryBot: Brad Fitzpatrick <>
TryBot-Result: Gobot Gobot <>
Reviewed-by: Robert Griesemer <>
@julieqiu julieqiu modified the milestones: Go1.11.5, Go1.11.6 Jan 23, 2019
@golang golang locked and limited conversation to collaborators Jan 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.