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

cmd/link: linking fails with "ld64 doesn't allow BR26 reloc with non-zero addend" #16724

Closed
eliasnaur opened this issue Aug 16, 2016 · 1 comment

Comments

Projects
None yet
3 participants
@eliasnaur
Copy link
Contributor

commented Aug 16, 2016

The darwin/arm64 builder has started to fail after 1.8 opened. I believe it started after SSA was merged in

From: https://build.golang.org/log/a096364a3922cb4773c976f74e324727fa3d66f6

# cmd/addr2line
main.main: ld64 doesn't allow BR26 reloc with non-zero addend: runtime.duffzero+496
main.main: ld64 doesn't allow BR26 reloc with non-zero addend: runtime.duffzero+448
main.main: ld64 doesn't allow BR26 reloc with non-zero addend: runtime.duffzero+488
main.main: ld64 doesn't allow BR26 reloc with non-zero addend: runtime.duffzero+480
runtime.gcMarkTermination: ld64 doesn't allow BR26 reloc with non-zero addend: runtime.duffzero+492
runtime.scanstack: ld64 doesn't allow BR26 reloc with non-zero addend: runtime.duffzero+384
runtime.scanstack: ld64 doesn't allow BR26 reloc with non-zero addend: runtime.duffzero+480
runtime.mProf_Malloc: ld64 doesn't allow BR26 reloc with non-zero addend: runtime.duffzero+384
runtime.blockevent: ld64 doesn't allow BR26 reloc with non-zero addend: runtime.duffzero+384
runtime.freedefer: ld64 doesn't allow BR26 reloc with non-zero addend: runtime.duffzero+488
runtime.gopanic: ld64 doesn't allow BR26 reloc with non-zero addend: runtime.duffzero+492
runtime.sigprof: ld64 doesn't allow BR26 reloc with non-zero addend: runtime.duffzero+256
runtime.resetcpuprofiler: ld64 doesn't allow BR26 reloc with non-zero addend: runtime.duffzero+496
runtime.copystack: ld64 doesn't allow BR26 reloc with non-zero addend: runtime.duffzero+368
runtime.moduledataverify1: ld64 doesn't allow BR26 reloc with non-zero addend: runtime.duffzero+384
runtime.tracebackdefers: ld64 doesn't allow BR26 reloc with non-zero addend: runtime.duffzero+472
runtime.gentraceback: ld64 doesn't allow BR26 reloc with non-zero addend: runtime.duffzero+472
runtime.gentraceback: ld64 doesn't allow BR26 reloc with non-zero addend: runtime.duffzero+384
runtime.tracebackCgoContext: ld64 doesn't allow BR26 reloc with non-zero addend: runtime.duffzero+384
runtime.tracebackCgoContext: ld64 doesn't allow BR26 reloc with non-zero addend: runtime.duffzero+484
runtime.printCgoTraceback: ld64 doesn't allow BR26 reloc with non-zero addend: runtime.duffzero+484
/private/var/folders/0m/n0150xb53y5cg1rq75_3qv3r0000gn/T/workdir/go/pkg/tool/darwin_amd64/link: too many errors

@cherrymui cherrymui self-assigned this Aug 16, 2016

@gopherbot

This comment has been minimized.

Copy link

commented Aug 16, 2016

CL https://golang.org/cl/27081 mentions this issue.

@gopherbot gopherbot closed this in 1e94d79 Aug 16, 2016

@golang golang locked and limited conversation to collaborators Aug 16, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.