This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Is libffi linked statically to gcj/go?
- From: Andrew Haley <aph at redhat dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 19 Dec 2011 12:42:44 +0000
- Subject: Re: Is libffi linked statically to gcj/go?
- References: <20111218002441.399cd9db@gentoo.org>
On 12/18/2011 06:24 AM, Ryan Hill wrote:
> We've been having some problems that arise from conflicts between the
> "system" version of libffi and the one installed by GCC when
> --enable-languages=java is used. Packages are erroneously getting linked to
> the GCC version and then breaking when the user rebuilds without java. I've
> seen some vague references that libffi is actually linked statically with gcj
> which makes me think we could simply not install the internal libs and
> headers. But after digging through the code and build logs I can't find any
> evidence that this is the case.
We use a libffi "convenience library" in gcj.
See http://sourceware.org/autobook/autobook/autobook_74.html
So yes, gcj doesn't use the system libffi. This might change one day.
Andrew.