[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#876639: libgo11: Please consider backport "libgo: use gc's arch names as the default GOARCHs on MIPS"



On 27.09.2017 16:01, James Cowgill wrote:
> 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

it looks like Ian is fine to have these backported, so please propose this for
GCC upstream, and we can then pull it from there.

Matthias


Reply to: