This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Use static chain and libffi for Go closures
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Andrew Pinski <pinskia at gmail dot com>
- Cc: Richard Henderson <rth at redhat dot com>, Ian Lance Taylor <iant at golang dot org>, "gofrontend-dev\ at googlegroups dot com" <gofrontend-dev at googlegroups dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 17 Jan 2015 23:02:58 +0100
- Subject: Re: Use static chain and libffi for Go closures
- Authentication-results: sourceware.org; auth=none
- References: <54B83B61 dot 1010108 at redhat dot com> <m2bnlxwx87 dot fsf at linux-m68k dot org> <54BAB1B5 dot 9010605 at redhat dot com> <87sif9usxk dot fsf at igel dot home> <54BAD370 dot 80402 at redhat dot com> <CA+=Sn1=s9SC5XP5wR2bDVo5fAhDdQcY4vFAaV4j9UJgdx2WB9A at mail dot gmail dot com>
Andrew Pinski <pinskia@gmail.com> writes:
> 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.
It fails almost everywhere.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."