This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: [ITP] libffi (attn: Dave Korn)
- From: Dave Korn <dave dot korn dot cygwin at gmail dot com>
- To: cygwin-apps at cygwin dot com
- Date: Wed, 10 Apr 2013 22:34:47 +0100
- Subject: Re: [ITP] libffi (attn: Dave Korn)
- References: <51652B99 dot 5090405 at users dot sourceforge dot net> <20130410092936 dot GC1040 at calimero dot vinschen dot de> <516535D7 dot 8040600 at users dot sourceforge dot net>
On 10/04/2013 10:50, Yaakov (Cygwin/X) wrote:
> On 2013-04-10 04:29, Corinna Vinschen wrote:
>> On Apr 10 04:06, Yaakov (Cygwin/X) wrote:
>>> libffi development moved out of GCC into a separate project a long
>>> time ago; the copy included in GCC is used for libgcj, but only as a
>>> convenience (static) library, and it is usually a few point releases
>>> behind the standalone version. Finally, last month, GCC was patched
>>> upstream to stop installing its copy (a similar patch for 4.7.2 and
>>> 4.8.0 is in Ports git).
>>>
>>> Therefore I think the time has arrived to join Fedora and Debian and
>>> switch i686 to the standalone version. (We are already using this
>>> for x86_64.) This will also simplify building many of the ~20
>>> packages which use libffi and expect the .pc file provided only by
>>> the standalone version.
>>>
>>> http://cygwin-ports.git.sourceforge.net/git/gitweb.cgi?p=cygwin-ports/libffi
>>>
>>> ftp://ftp.cygwinports.org/pub/cygwinports/temp/libffi/
>>
>> Isn't that independent from what gcc itself does? If so, feel free
>> to upload.
>
> Only the man3 pages collide with gcc4-core. But gcc's libffi.dll.a will
> take priority over the one in /usr/lib (see gcc -print-search-dirs), so
> manual intervention will be necessary until our gcc stops shipping libffi.
Okeydokey. Upstream libffi generates cygffi-6.dll, so what I'll do is
incorporate the patch (along with your others) into 4.7.3-1 (which will be a
full curr: version release), and ship one last version of libffi4 (marked
obsolete) with that but make sure the man pages, static import lib etc (-devel
stuff basically) is not packaged. That'll probably be in ten days or so, at
which point you can upload the standalone libffi. Makes sense?
cheers,
DaveK