This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH RFA: Add Go support to top level configure and Makefiles
Ralf Wildenhues <Ralf.Wildenhues@gmx.de> writes:
>> Unless I misunderstand what you are saying, I don't think that is
>> correct. The code in libgo/configure.ac is trying to say that if there
>> is an in-tree libffi, it should be used. If there isn't an in-tree
>> libffi, then it will use the system libffi. If there is neither an
>> in-tree libffi nor a system libffi, then libgo will fail to build.
>
> I don't see where libgo/configure.ac errors out when neither in-tree nor
> out-of-tree libffi are chosen (rather, the help string says "don't use
> libffi").
It doesn't. What happens is that libgo fails to build. I suppose it
would be possible to adjust libgo so that if libffi is not available the
relevant functionality (reflect.Call) is not provided. I don't see that
as high priority--there are many more significant portability issues.
Ian