Go: runtime: missing deferreturn on linux/ppc64le [1.14 backport]

Created on 2 Jul 2020  路  16Comments  路  Source: golang/go

@ianlancetaylor requested issue #39049 to be considered for backport to the next 1.14 minor release.

@gopherbot please open a backport to 1.14

CherryPickApproved

Most helpful comment

@dmitshur Sorry for missing the rationale in the backport request. It is the preceding comment on the main issue: https://github.com/golang/go/issues/39049#issuecomment-652761696

This is a critical bug for kubernetes project, can someone help us cherry-picking this to 1.14 release?

All 16 comments

I can work on the patch for this unless someone else has started.

Oh I think @cherrymui has to do it.

Is it possible that this is a bug due to the new linker? Is there still a way to build with the old linker in Go 1.14 to test it out?

@laboger Yeah, I can do the backport.

No, I don't think it is the new linker. The original issue (#39049) was reported for Go 1.14.

Change https://golang.org/cl/240917 mentions this issue: [release-branch.go1.14] cmd/link: detect trampoline of deferreturn call

Thanks Cherry!

@ianlancetaylor Can you please include a short rationale about why the backport might be needed? (Per MinorReleases.) Thanks.

RedHat has moved their build compiler to Go 1.14.4 and is seeing the problem reported in issue #39049. The fix for that issue was merged upstream but not backported to the Go 1.14 branch.

@dmitshur Sorry for missing the rationale in the backport request. It is the preceding comment on the main issue: https://github.com/golang/go/issues/39049#issuecomment-652761696

This is a critical bug for kubernetes project, can someone help us cherry-picking this to 1.14 release?

@dmitshur Sorry for missing the rationale in the backport request. It is the preceding comment on the main issue: #39049 (comment)

This is a critical bug for kubernetes project, can someone help us cherry-picking this to 1.14 release?

yes, @ianlancetaylor is right, kubernetes community recently adopted golang 1.14 version and hit with this issue for ppc64le platform, need to be fixed asap. -Thanks.

@ianlancetaylor @dmitshur I'm wondering when this will get merged into the 1.14 branch and any tentative timeline for the 1.14.5 release so that I can plan a golang bump for Kubernetes project accordingly!

Approving as it is a serious problem without a workaround. It is a 1.14-only regression, so a fix for 1.13 isn't needed.

@mkumatag There will be a security release on Tuesday, July 14, as recently pre-announced. It will include only the security fixes. The next minor release (Go 1.14.6) is scheduled to happen very soon after that, and it'll include all non-security fixes on the 1.14 release branch.

@mkumatag There will be a security release on Tuesday, July 14, as recently pre-announced. It will include only the security fixes. The next minor release (Go 1.14.6) is scheduled to happen very soon after that, and it'll include all non-security fixes on the 1.14 release branch.

Thanks for the information..

Closed by merging b6f70c0ec9bf92de91fd640fa3bd5206bacf1596 to release-branch.go1.14.

Huge thanks to @cherrymui for fixing this from the juju/juju team.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

longzhizhi picture longzhizhi  路  3Comments

michaelsafyan picture michaelsafyan  路  3Comments

stub42 picture stub42  路  3Comments

OneOfOne picture OneOfOne  路  3Comments

natefinch picture natefinch  路  3Comments