Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build a version of go tools aware of gccgo powerpc #3

Open
robinwils opened this issue Mar 20, 2019 · 1 comment
Open

Cannot build a version of go tools aware of gccgo powerpc #3

robinwils opened this issue Mar 20, 2019 · 1 comment

Comments

@robinwils
Copy link

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 robinwils changed the title Cannot build with gccgo through go tool on PPC Cannot build a version of go tools aware of gccgo powerpc Mar 20, 2019
@erikw
Copy link
Owner

erikw commented Oct 29, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants