Giter Club home page Giter Club logo

ewxb-gcc-cross-compiler-builder's Issues

Problem in finishing Phase 7

I am trying to build the tool chain to compile GO 1.3.3 on x86_64 with target set to x86_64 and I am running into issues with step 7. Following is the error message.

/root/src/x86_64-unknown-linux-gnu_gcc_build/tools/x86_64-unknown-linux-gnu/lib/../lib64/libstdc++.so.6.0.21-gdb.py is not an ELF file

Things I changed are
+export TARGET="x86_64-unknown-linux-gnu"
+export LINUX_ARCH="x86_64"

+#export GCCV=gcc-4.9.0
+export GCCV=gccgo

-export LINUXV=linux-2.6.31.14 (MAY BE NOT NEEDED)
+export LINUXV=linux-3.13

Cannot build a version of go tools aware of gccgo powerpc

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

Error in script

I've found a small error in the ewxb-script:

line 217:
$sysroot
ist wrong and empty.
Replace it with
$SYSROOT (capital letters).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.