Use static chain and libffi for Go closures

Andrew Pinski pinskia@gmail.com
Sat Jan 17 22:22:00 GMT 2015


On Sat, Jan 17, 2015 at 1:26 PM, Richard Henderson <rth@redhat.com> wrote:
> On 01/17/2015 11:07 AM, Andreas Schwab wrote:
>> Richard Henderson <rth@redhat.com> writes:
>>
>>> On 01/17/2015 01:52 AM, Andreas Schwab wrote:
>>>> ../../../libgo/go/reflect/makefunc_ffi_c.c:21:53: error: unknown type name 'ffi_go_closure'
>>>>  void makeFuncFFI(const struct __go_func_type *ftyp, ffi_go_closure *impl)
>>>>                                                      ^
>>>> ../../../libgo/go/reflect/makefunc_ffi_c.c:86:48: error: unknown type name 'ffi_go_closure'
>>>>  makeFuncFFI(const struct __go_func_type *ftyp, ffi_go_closure *impl)
>>>>                                                 ^
>>>> make[4]: *** [reflect/makefunc_ffi_c.lo] Error 1
>>>
>>> What target?
>>
>> Why does it matter?
>
> Because I don't see that error here, obviously.


It fails for me with mips64-linux-gnu.

Thanks,
Andrew Pinski

>
>
> r~
>



More information about the Gcc-patches mailing list