Re: Bug#839132: libgo9: libgo built without FFI in mips*

James Cowgill <[email protected]>
Newsgroups gmane.linux.debian.ports.mips
Message-ID <[email protected]>
Hi,

On 29/09/16 18:17, Matthias Klose wrote:
> Control: tags -1 + help
> 
> Please find out why libgo isn't configured to use libffi.

It looks like the necessary support for go closures on mips isn't
implemented in the version of libffi in gcc 6.

There appears to be a PR here which fixes it:
https://github.com/libffi/libffi/pull/197

It's not in GCC's copy of libffi though.

James

> On 29.09.2016 12:30, Martín Ferrari wrote:
>> Package: libgo9
>> Version: 6.2.0-4
>> Severity: normal
>>
>> Hi,
>>
>> Recently, I modified golang-goprotobuf to use gccgo in non-native go arches,
>> and found that it FTBFS in mips/mipsel/mps64el due to this error:
>>
>>   fatal error: libgo built without FFI does not support reflect.Call or runtime.SetFinalizer
>>
>> Here is one of the build logs:
>>
>> https://buildd.debian.org/status/fetch.php?pkg=golang-goprotobuf&arch=mips&ver=0.0~git20160815.0.7390af9-2&stamp=1474830436
>>
>> I don't know if this is a mistake, or if there is a reason for this FFI support
>> not being included in these arches, but without it, a big number of packages
>> are BD-Uninstallable as they depend transitively on protobuf support.
>>
>> -- System Information:
>> Debian Release: stretch/sid
>>   APT prefers unstable
>>   APT policy: (500, 'unstable'), (500, 'testing')
>> Architecture: amd64 (x86_64)
>>
>> Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
>> Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)
>> Shell: /bin/sh linked to /bin/dash
>> Init: sysvinit (via /sbin/init)
>>
>> Versions of packages libgo9 depends on:
>> ii  gcc-6-base  6.2.0-4
>> ii  libc6       2.24-3
>> ii  libgcc1     1:6.2.0-4
>>
>> libgo9 recommends no packages.
>>
>> libgo9 suggests no packages.
>>
>> -- no debconf information
>>
>
signature.asc (application/pgp-signature, 801 B)
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJX7VVxAAoJEMfxZ23qLQHvp5oP/2yT/N+7BUwWUpfnfTO9EFap
RBUJ9X1bl24fdWrVWGPnQbc/xPRHahVaYf3bjizMWRJKM8xWWFlJ9htlNbWFwZVe
T9lrZ1kUkdjUbaGQAy7i0BBnI+2DOc2BNPArjvPBEC5jZywGCv+bP2s5wqGbapTA
PZdi0968VwVhktFJDnU9TR9w94DF6KfaLcIQ532XoNpRoNZSyZvY2xGGIals4d1t
04D1h9yLt3qttcyekJs81ANvTv2ZWKyNqT31UsGuF5f7QURf7uo/0yeUXcsX+8zF
K7SGetcWipfKeshVVXmQe4yBPjmvR2UbceSPS03oFemgZEvypU7ZvMLVURMsAT5M
9hwIyqZHlzQjajeLbs2WC3/0uZLF9db3oYeZz/Ju8TPc2LSl9Jj43gA0LoTO5Pb/
WAq7P4X2RThinKqM5JI+KvkaS+7P+coFtCve9465+IU9ui0itjI0oV09lLqrJ01l
bzVD/5dnfmgBVj5YM5hZVwC13pBx9X7IERf4yIi+mB54ia/j33vtiyz52VPbYbeq
iTRmtlQFizzUEwvQSNQggo/gQOrFRNHtx3Hl3PShhdq6pTb8Trzz1yMeBA1jVYIX
jWhWc0J8oHC3tFId3kxEsGTg9ttspOWxcSTqN10aEIwmcx4s8oHrKaczldzcUc/D
hpKbr7FdaRk6r1XKJqvX
=TF3K
-----END PGP SIGNATURE-----
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.