Re: Bug#815998: golang: add mips64/mips64el support

YunQiang Su <[email protected]>
Newsgroups gmane.linux.debian.ports.mips
Message-ID <CAKcpw6XVEiXwFF4KEXLRPr=mxe_wEsLZms=tC3GjDnQ5rpBn8Q@mail.gmail.com>
On Wed, Aug 31, 2016 at 1:57 AM, Tianon Gravi <[email protected]> wrote:
> On 30 August 2016 at 01:31, YunQiang Su <[email protected]> wrote:
>> I guess it is a bug of gccgo for mips64el.
>
> Yes, as Ian mentions in the thread I linked, the bug is that gccgo
> uses "mipsn64" as the GOARCH for mips64el in contrast to upstream
> golang.
>
> Do you have a good link that explains how I can test the
> bootstrapping/cross-compile?  What's the expected way to get that into

To cross build golang-1.6 or 1.7, you can get the patch from
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=828982,
and (on amd64 machine/chroot env)
     apt-get build-dep golang-1.7
     apt-get install gcc-6-mips64el-linux-gnuabi64

and then
     dpkg-buildpackage -B -amips64el -d

You will get the deb package for mips64el.

> the archive/buildds? (do we upload the manually cross-compiled ".deb"?
>  do we upload the final native-compiled ".deb"?)
>

You can also download it from
       http://mips64el.sparklingly.org/ubuntu/pool/main/g/golang-1.6/

As we cannot install package on Debian porterbox,
you will need to unpack it and set path yourself.

>
> ♥,
> - Tianon
>   4096R / B42F 6819 007F 00F8 8E36  4FD4 036A 9C25 BF35 7DD4



-- 
YunQiang Su
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.