ewxb-gcc-cross-compiler-builder icon indicating copy to clipboard operation
ewxb-gcc-cross-compiler-builder copied to clipboard

Cannot build a version of go tools aware of gccgo powerpc

Open robinwils opened this issue 5 years ago • 1 comments

Hi,

I have followed the steps necessary to build GCCGO for PPC (32 bits) here with the help of this script as well.

I cannot manage to finish the last step (Build a cross-gccgo aware version of the Go tool), I cloned the go source code (with git, then checked out go1.12.1) in /tmp

I am trying to make:

> $HOME/gogit/bin/go build -o xgo -compiler gccgo -x .

work inside src/cmd/go. Go is apparently trying to fetch crypto, arch, tool and sys packages and I am getting this error:

    WORK=/tmp/go-build326274842
    go: finding golang.org/x/crypto v0.0.0-20190211182817-74369b46fc67
    go: finding golang.org/x/arch v0.0.0-20181203225421-5a4828bb7045
    go: finding golang.org/x/tools v0.0.0-20190307163923-6a08e3108db3
    go: finding golang.org/x/sys v0.0.0-20190225065934-cc5685c2db12
    go: golang.org/x/[email protected]: unexpected status (http://proxy:port/golang.org/x/crypto/@v/v0.0.0-20190211182817-74369b46fc67.info): 400 Bad Request
    go: golang.org/x/[email protected]: unexpected status (http://proxy:port/golang.org/x/arch/@v/v0.0.0-20181203225421-5a4828bb7045.info): 400 Bad Request
    go: golang.org/x/[email protected]: unexpected status (http://proxy:port/golang.org/x/tools/@v/v0.0.0-20190307163923-6a08e3108db3.info): 400 Bad Request
    go: golang.org/x/[email protected]: unexpected status (http://proxy:port/golang.org/x/sys/@v/v0.0.0-20190225065934-cc5685c2db12.info): 400 Bad Request
    go: error loading module requirements

I am on a VM through a http proxy, the URL does not seem to point to anything

robinwils avatar Mar 20 '19 16:03 robinwils

@robinwils Hey did you manage to solve this or is this still an issue?

erikw avatar Oct 29 '21 15:10 erikw