Skip to content

x/sys: missing stub for cpu_other_riscv64 #53698

Closed

Description

@abarisani

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!

Activity

  1. added this to the Unreleased milestone on Jul 6, 2022
  2. added
    NeedsFixThe path to resolution is known, but the work has not been done.
    on Jul 6, 2022
  3. heschi commented on Jul 6, 2022

    @heschi
    Contributor

    cc @golang/runtime

  4. gopherbot commented on Jul 7, 2022

    @gopherbot
    Contributor

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

  5. locked and limited conversation to collaborators on Jul 8, 2023
  6. added a commit that references this issue on Jun 7, 2024
    5a0f066
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions