[pkg-golang-devel] Bug#815998: golang: add mips64/mips64el support
YunQiang Su
wzssyqa at gmail.com
Wed Aug 31 01:53:53 UTC 2016
On Wed, Aug 31, 2016 at 1:57 AM, Tianon Gravi <tianon at debian.org> wrote:
> On 30 August 2016 at 01:31, YunQiang Su <wzssyqa at gmail.com> 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
More information about the pkg-golang-devel
mailing list