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/cgo: add support for cgo on openbsd/mips64 #43005

Closed
4a6f656c opened this issue Dec 4, 2020 · 3 comments
Closed

runtime/cgo: add support for cgo on openbsd/mips64 #43005

4a6f656c opened this issue Dec 4, 2020 · 3 comments
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@4a6f656c
Copy link
Contributor

4a6f656c commented Dec 4, 2020

The openbsd/mips64 port does not currently support cgo.

This is a bug to track work to enable cgo on this port.

@cagedmantis cagedmantis added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Dec 4, 2020
@cagedmantis cagedmantis added this to the Backlog milestone Dec 4, 2020
@cagedmantis
Copy link
Contributor

/cc @ianlancetaylor

@gopherbot
Copy link

Change https://golang.org/cl/275894 mentions this issue: cmd/link/internal/loadelf: support additional ELF relocations on mips64

@gopherbot
Copy link

Change https://golang.org/cl/275896 mentions this issue: cmd/dist,runtime: support cgo on openbsd/mips64

gopherbot pushed a commit that referenced this issue Dec 11, 2020
LLVM on openbsd/mips64 generates R_MIPS_GOT_HI16 and R_MIPS_GOT_LO16 relocations,
so teach cmd/link/internal/loadelf about both of these.

Updates #43005

Change-Id: Ic45ea8b901d44dcbdbf355411ee434dcd7670a92
Reviewed-on: https://go-review.googlesource.com/c/go/+/275894
Trust: Joel Sing <joel@sing.id.au>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
@dmitshur dmitshur modified the milestones: Backlog, Go1.17 May 19, 2021
@dmitshur dmitshur added NeedsFix The path to resolution is known, but the work has not been done. and removed NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels May 19, 2021
@golang golang locked and limited conversation to collaborators May 19, 2022
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

4 participants