[go-nuts] Problem compiling go from source code in Alpine Linux powerpc64

2017-04-11 Thread Dave Cheney
A first step to debugging the problem would be to check that cross compiled binaries work on your target system. Try something like this. 1. Write helloworld.go 2. env GOOS=linux GOARCH=ppc64le go build helloworld.go 3. scp helloworld to your target host and run it. If that works, we'll debug th

[go-nuts] Problem compiling go from source code in Alpine Linux powerpc64

2017-04-11 Thread robertoguimaraes8
I am trying to compile go 1.8 in Alpine Linux ppc64le (that uses musl) but I am getting an issue with the generated go (segfault). As go 1.4 bootstrap does not have support for ppc64le, the steps I did: 1) Installed go 1.4 in an Alpine Linux x86_64 2) Cross compiled go 1.8 ppc64le in the same x8