cmd/link: darwin/arm linker fails to handle pc-relative relocation to _cgo_yield #19684
Labels
Comments
@crawshaw do you know enough about the darwin/arm linker to suggest a fix? |
CL https://golang.org/cl/38596 mentions this issue. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?tip
What operating system and processor architecture are you using (
go env
)?darwin/arm
What did you do?
The darwin/arm builder fails with relocation errors:
https://build.golang.org/log/8d0eeee7f56708b0f629533fab76cb27729f4229
What did you expect to see?
No relocation errors
What did you see instead?
runtime.notesleep: pc-relative relocation of external symbol is not supported
runtime.notesleep: unsupported obj reloc R_PCREL/4 to _cgo_yield
runtime.notesleep: pc-relative relocation of external symbol is not supported
runtime.notesleep: unsupported obj reloc R_PCREL/4 to _cgo_yield
runtime.notetsleep_internal: pc-relative relocation of external symbol is not supported
runtime.notetsleep_internal: unsupported obj reloc R_PCREL/4 to _cgo_yield
runtime.notetsleep_internal: pc-relative relocation of external symbol is not supported
runtime.notetsleep_internal: unsupported obj reloc R_PCREL/4 to _cgo_yield
runtime.notetsleep_internal: pc-relative relocation of external symbol is not supported
runtime.notetsleep_internal: unsupported obj reloc R_PCREL/4 to _cgo_yield
runtime.notetsleep_internal: pc-relative relocation of external symbol is not supported
runtime.notetsleep_internal: unsupported obj reloc R_PCREL/4 to _cgo_yield
runtime.findrunnable: pc-relative relocation of external symbol is not supported
runtime.findrunnable: unsupported obj reloc R_PCREL/4 to _cgo_yield
runtime.sysmon: pc-relative relocation of external symbol is not supported
runtime.sysmon: unsupported obj reloc R_PCREL/4 to _cgo_yield
CL 35494 introduced _cgo_yield which hit an unimplemented path in the darwin/arm linker. Darwin/arm64 is fine.
The text was updated successfully, but these errors were encountered: