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


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.

So, are you willing to work around this issue for the sake of your
users?

   Regards,
     Mark


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