https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65587
--- Comment #1 from Ian Lance Taylor <ian at airs dot com> --- When I've seen this before, it's been because the relocation processing in applyRelocationsPPC in debug/elf/file.go is not working. If you run the go command with the -x option, you will see the exact command that is failing. It will be the cgo command. If you run the cgo command with the -debug-gcc option you will see that it fails after compiling a program. Please compile that program with your powerpc-linux-gnu compiler and attach the object file here. Thanks.