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


None yet
2 participants
Copy link

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.


This comment has been minimized.

Copy link

commented Dec 17, 2018

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


This comment has been minimized.

Copy link

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

[release-branch.go1.11] cmd/compile: generate interface method expres…
…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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.