Re: [go-nuts] import/link problems with gccgo

2017-03-20 Thread Richard D'Addio
Ok thanks I saw that post but didn't read down far enough, I am using golang v1.8 and GCC-7.0 and most of the refs in that post were golang v1.6 and GCC-6.x. At the tail end there was some refs to golang v1.7 &v1.8 as you say. Issue has been around for almost a year I guess. Ended up switching

Re: [go-nuts] import/link problems with gccgo

2017-03-20 Thread Ian Lance Taylor
On Mon, Mar 20, 2017 at 4:25 PM, Ian Lance Taylor wrote: > On Mon, Mar 20, 2017 at 4:17 PM, Richard D'Addio wrote: >> With gccgo I get the following error the same builds fine with gc: >> >> //with native >> >> /home/rdaddio/mynewclient/clone_gobotics/gobotics/go/pkg/tool/linux_amd64/compile >> -

Re: [go-nuts] import/link problems with gccgo

2017-03-20 Thread Ian Lance Taylor
On Mon, Mar 20, 2017 at 4:17 PM, Richard D'Addio wrote: > With gccgo I get the following error the same builds fine with gc: > > //with native > > /home/rdaddio/mynewclient/clone_gobotics/gobotics/go/pkg/tool/linux_amd64/compile > -o $WORK/github.com/hashicorp/go-multierror.a -trimpath $WORK -p >

Re: [go-nuts] import/link problems with gccgo

2017-03-20 Thread Richard D'Addio
With gccgo I get the following error the same builds fine with gc: *//with native* /home/rdaddio/mynewclient/clone_gobotics/gobotics/go/pkg/tool/linux_amd64/compile -o $WORK/github.com/hashicorp/go-multierror.a -trimpath $WORK -p github.com/hashicorp/go-multierror -complete -buildid e777c32e0

Re: [go-nuts] import/link problems with gccgo

2017-03-20 Thread Ian Lance Taylor
On Mon, Mar 20, 2017 at 3:40 PM, Richard D'Addio wrote: > Sorry in advance if this is the wrong list for this. > > > I can build the gobot.io code below with the golang v1.8 and the standard > compiler: > > go version go1.8 linux/amd64 > > go build -work -x hello_blink.go > > > But when I try to b

[go-nuts] import/link problems with gccgo

2017-03-20 Thread Richard D'Addio
Sorry in advance if this is the wrong list for this. I can build the gobot.io code below with the golang v1.8 and the standard compiler: go version go1.8 linux/amd64 go build -work -x hello_blink.go But when I try to build with the GCC option in the same scenario it fails. I am using GCC