Support for ppcle64


#1

Are plans to support ppcle64? I am intersted in multi-architecture binaries and would like to produce for ppcle64.


#2

I was able to compile the code and created a Docker image, but get this:

fork/exec /bin/sh: exec format error"

Have anyone seen this error before?


#3

I have seen this when the binary is compiled for the wrong os or architecture. You need to make sure you compile the code on the target os, for example, if you build for ppcle64 you need to compile the binary on a ppcle64 machine. If you are compiling the binary on a different os, you can disable cgo and set GOOS=ppcle64 which will cross-compile the binary.