On Tue, Aug 9, 2016 at 12:32 PM, Guillermo Cordon <cordong2...@gmail.com> wrote:
>
> 1.) What version of Go are you using (go version)?
>
>
> go version go1.6.3 linux/amd64
>
>
> 2.)What operating system and processor architecture are you using (go env)?
>
>
> Ubuntu 14.04 with the following kernel:
>
> Linux ubuntu 3.13.0-91-generic #138-Ubuntu SMP Fri Jun 24 17:00:34 UTC 2016
> x86_64 x86_64 x86_64 GNU/Linux
>
>
>
> After I added the cross compiler I ran into another issue:
>
> I have the following setup:
>
> CC="/opt/fsl-qoriq/2.0/sysroots/x86_64-fslsdk-linux/usr/bin/powerpc64-fsl-linux/powerpc64-fsl-linux-gcc"
> CGO_CFLAGS="-I/opt/fsl-qoriq/2.0/sysroots/ppc64e6500-fsl-linux/usr/include"
> CGO_ENABLED="1"
> CGO_LDFLAGS=" --static
> -L/opt/fsl-qoriq/2.0/sysroots/ppc64e6500-fsl-linux/usr/lib64
> --sysroot=/opt/fsl-qoriq/2.0/sysroots/ppc64e6500-fsl-linux"
> GOARCH="ppc64"
> GOOS="linux"
> GOPATH="/home/gcordon/Downloads/GIT/XL/lxd/.gopath"
> PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/loca/go/bin:/usr/local/go/bin:/opt/fsl-qoriq/2.0/sysroots/ppc64e6500-fsl-linux/usr/include/linux:/opt/fsl-qoriq/2.0/sysroots/ppc64e6500-fsl-linux/usr/include/asm:/opt/fsl-qoriq/2.0/sysroots/ppc64e6500-fsl-linux/usr/lib64"
>
> Issue I am seeing:
>
>
> # Must a few times due to go get race

There should not be a go get race.  What is the problem here?


> go install -v  ./...
>
> runtime/cgo
>
> # runtime/cgo
>
> cannot load imported symbols from ELF file $WORK/runtime/cgo/_obj/_cgo_.o:
> no symbol section

Show us the output of `go install -x runtime/cgo`.

Ian

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to