This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ABI incompatibility between libffi and LLVM-generated callees


On 01/31/2013 12:04 AM, Mark H Weaver wrote:
> Andrew Haley <aph@redhat.com> writes:
>> It is an LLVM bug.  See http://gcc.gnu.org/ml/gcc/2013-01/msg00448.html
> 
> Even if this is true, and even if the LLVM developers act quickly to fix
> this bug, the fact remains that LLVM-compiled code will be deployed on a
> massive scale for many years to come, and it is the users of libffi who
> will be hurt by this.  It will be hard to convince our users that it's
> anyone else's fault when even the psABI doesn't spell it out clearly,
> and when virtually everything else interfaces properly with LLVM code.
> 
> Ultimately, this just makes Guile (and other users of libffi) look bad.
> 
> Guile requires a foreign-function interface that works properly on Macs,
> even if that means working around LLVM bugs for a several years until
> the improperly-compiled code is sufficiently rare.  I'm sure that many
> other users of libffi would feel similarly.

Sure, but why don't you just submit a patch?  You have the test
systems, and you've carefully analysed the problem.  It's much
harder if someone has to write then throw it over the wall for
someone else to try.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]