[Bug 1564518] Re: Illegal instruction when cross compiling for armv5

2016-04-07 Thread Michael Hudson-Doyle
Heh no worries, I've had some issues in that area as well. ** Changed in: golang-1.6 (Ubuntu) Status: Incomplete => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1564518 Title:

[Bug 1564518] Re: Illegal instruction when cross compiling for armv5

2016-04-07 Thread David Lechner
Sorry for not double-checking. I just assumed the binary would still be broken. I think I figured out part of the issue though. The difference between my first attempt with the Ubuntu golang-1.6 package and the results that I posted here is that I installed the gcc-multilib package. This removed

[Bug 1564518] Re: Illegal instruction when cross compiling for armv5

2016-04-04 Thread Michael Hudson-Doyle
Um, those binaries contain all but identical code (exactly one instruction differs, I think because the GOROOTs are different). Both appear to be built to use soft float (i.e. armv5 compatible). Are you sure the one from comment #4 crashes and the one from bomment #6 does not? Because I'm afraid I

[Bug 1564518] Re: Illegal instruction when cross compiling for armv5

2016-04-01 Thread David Lechner
** Attachment added: "Hello world!" https://bugs.launchpad.net/ubuntu/+source/golang-1.6/+bug/1564518/+attachment/4619791/+files/hello.go -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1564518

[Bug 1564518] Re: Illegal instruction when cross compiling for armv5

2016-04-01 Thread David Lechner
Related: https://github.com/golang/go/issues/9795 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1564518 Title: Illegal instruction when cross compiling for armv5 To manage notifications about this

[Bug 1564518] Re: Illegal instruction when cross compiling for armv5

2016-04-01 Thread David Lechner
** Attachment added: "binary output of official version" https://bugs.launchpad.net/ubuntu/+source/golang-1.6/+bug/1564518/+attachment/4619795/+files/hello -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1564518] Re: Illegal instruction when cross compiling for armv5

2016-04-01 Thread David Lechner
** Attachment added: "Output of `GOOS=linux GOARCH=arm GOARM=5 go build -x hello.go` using official version" https://bugs.launchpad.net/ubuntu/+source/golang-1.6/+bug/1564518/+attachment/4619794/+files/build -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 1564518] Re: Illegal instruction when cross compiling for armv5

2016-04-01 Thread David Lechner
** Attachment added: "binary output of ubuntu package version" https://bugs.launchpad.net/ubuntu/+source/golang-1.6/+bug/1564518/+attachment/4619793/+files/hello -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1564518] Re: Illegal instruction when cross compiling for armv5

2016-04-01 Thread David Lechner
** Attachment added: "Output of `GOOS=linux GOARCH=arm GOARM=5 go build -x hello.go` using ubuntu package version" https://bugs.launchpad.net/ubuntu/+source/golang-1.6/+bug/1564518/+attachment/4619792/+files/build -- You received this bug notification because you are a member of Ubuntu

[Bug 1564518] Re: Illegal instruction when cross compiling for armv5

2016-03-31 Thread Michael Hudson-Doyle
Can you provide some more details? * Source of hello.go (although I can probably guess this one :-) * Output of "GOOS=linux GOARCH=arm GOARM=5 go build -x hello.go" for the packaged go and the official go * Binaries produced by the two above commands I don't have access to any armv5 hw but

[Bug 1564518] Re: Illegal instruction when cross compiling for armv5

2016-03-31 Thread Michael Hudson-Doyle
Can you provide some more details? * Source of hello.go (although I can probably guess this one :-) * Output of "GOOS=linux GOARCH=arm GOARM=5 go build -x hello.go" for the packaged go and the official go * Binaries produced by the two above commands I don't have access to any armv5 hw but