Hi, On 24/09/17 10:36, Shengjing Zhu wrote: > Package: libgo11 > Version: 7.2.0-5 > Severity: wishlist > Tags: upstream > X-Debbugs-CC: pkg-go-maintainers@lists.alioth.debian.org > > Dear Maintainer, > > Currently the pkg-go team uses gccgo to build Go packages on MIPS* > archs. However currently version of gccgo has different GOARCH name for > MIPS*. > > Bug is reported at https://github.com/golang/go/issues/18031 > And the fix is applied in trunk, > https://github.com/gcc-mirror/gcc/commit/074bbd7b6a221b0446c73b3f4c2e1bf6cc7b2634 > > We currently need tricky way to build Go packages on MIPS*(as described > in https://github.com/golang/go/issues/18031#issuecomment-318574018 ) > > So I think backport this fix in gccgo can be really helpful. I just want to note that you need all 6 of the patches from the original patch series I submitted. If you only apply the commit above, the build will fail. These are commits 648dc544240~6..648dc544240 in the gcc git mirror. I can collect all the patches together if that would be easier. See this for the original series: https://go-review.googlesource.com/c/gofrontend/+/46150 This should be enough to get golang to build with gccgo on mips64el. For the two 32-bit architectures, we need the waitid bug to be fixed in the kernel and pushed to the buildds as well - #867358 Thanks, James
Attachment:
signature.asc
Description: OpenPGP digital signature