Comment 0 for bug 1361940

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Hi, I'm attaching three patches that seem are required to make cgo work well with gccgo on arm64.

0001-compiler-symbol-names-should-have-.-replaced-with-_.patch -- this isn't actually arm64 specific at all, but a general gccgo/cgo problem
0002-debug-elf-support-arm64-relocations.patch -- cgo parses dwarf data from .o files and can't do it without this
0003-Enable-cgo-by-default-on-linux-arm64.patch -- this means that I don't have to remember to run export CGO_ENABLED=1 all the time

Let me know if you need any more info.