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
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 elf-support- arm64-relocatio ns.patch -- cgo parses dwarf data from .o files and can't do it without this 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
0002-debug-
0003-Enable-
Let me know if you need any more info.