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

runtime: segfault running ppc64/linux binaries with kernel 5.18 #54547

Closed
pmur opened this issue Aug 19, 2022 · 3 comments
Closed

runtime: segfault running ppc64/linux binaries with kernel 5.18 #54547

pmur opened this issue Aug 19, 2022 · 3 comments
Assignees
Labels
arch-ppc64x compiler/runtime Issues related to the Go compiler and/or runtime.
Milestone

Comments

@pmur
Copy link
Contributor

pmur commented Aug 19, 2022

While testing go on a ppc64/linux and 5.18.0 on debian sid, all go binaries segfault shortly after starting up.

This seems to have happened between kernel 5.10 and 5.18. R0 is set to '0xb' by the kernel, which breaks early startup code.

@pmur pmur self-assigned this Aug 19, 2022
@pmur pmur changed the title all: segfault running ppc64/linux binaries with kernel 5.18 runtime: segfault running ppc64/linux binaries with kernel 5.18 Aug 19, 2022
@gopherbot gopherbot added the compiler/runtime Issues related to the Go compiler and/or runtime. label Aug 19, 2022
@gopherbot
Copy link

gopherbot commented Aug 19, 2022

Change https://go.dev/cl/424927 mentions this issue: runtime: fix ppc64 startup on newer linux kernels

@seankhliao seankhliao added this to the Go1.20 milestone Aug 20, 2022
@pmur
Copy link
Contributor Author

pmur commented Aug 24, 2022

@gopherbot please consider a backport to 1.19 and 1.18.

@gopherbot
Copy link

gopherbot commented Aug 24, 2022

Backport issue(s) opened: #54664 (for 1.18), #54665 (for 1.19).

Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://go.dev/wiki/MinorReleases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-ppc64x compiler/runtime Issues related to the Go compiler and/or runtime.
Projects
None yet
Development

No branches or pull requests

3 participants