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

x/sys: missing stub for cpu_other_riscv64 #53698

Closed
abarisani opened this issue Jul 6, 2022 · 2 comments
Closed

x/sys: missing stub for cpu_other_riscv64 #53698

abarisani opened this issue Jul 6, 2022 · 2 comments
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@abarisani
Copy link

The x/sys package is missing the archInit function for riscv64 on generic platforms.

This results in the following error:

go/pkg/mod/golang.org/x/sys@v0.0.0-20220315194320-039c03cc5b86/cpu/cpu.go:199:2: undefined: archInit

The same does not happen for arm as cpu_other_arm.go provides the required stub.

Can you kindly add an equivalent cpu_other_riscv64 ?

Thanks!

@gopherbot gopherbot added this to the Unreleased milestone Jul 6, 2022
@heschi heschi added the NeedsFix The path to resolution is known, but the work has not been done. label Jul 6, 2022
@heschi
Copy link
Contributor

heschi commented Jul 6, 2022

cc @golang/runtime

@gopherbot
Copy link

Change https://go.dev/cl/416394 mentions this issue: cpu: support non-linux OS for riscv64

@golang golang locked and limited conversation to collaborators Jul 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

3 participants