You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version of Go are you using (go version)? go version1.5.1 linux/amd64
What operating system and processor architecture are you using (go env)? amd64 linux (debian stretch) running on vmware
What did you do? I've just tried to build my app using go build .
What did you expect to see? Compiled program
What did you see instead?
/usr/lib/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o: unrecognized relocation (0x2a) in section '.init'
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
I've tried rebooting, upgrading and etc but nothing works
The text was updated successfully, but these errors were encountered:
This is not a gccgo problem. This is a variant of #13114 . Your system linker (/usr/bin/ld) is not up to date with your compiler/assembler. It's not a Go problem at all.
go version
)?go version1.5.1 linux/amd64
go env
)?amd64 linux (debian stretch) running on vmware
I've just tried to build my app using go build .
Compiled program
I've tried rebooting, upgrading and etc but nothing works
The text was updated successfully, but these errors were encountered: