showstopper bug on x86 (Re: libffi does not follow proper ABI on ia32)

Richard Henderson rth@redhat.com
Fri Jan 2 22:20:00 GMT 2015


On 01/02/2015 10:56 AM, u-xsnf@aetey.se wrote:
> Looking at the source I wonder if this has to do with the reliance
> on the fastcall attribute, which pcc does not support.

Ah, well, that could well be.  Since fastcall is a standard Windows
calling convention, I sort of assume every decent compiler supports it.

In which case I'm going to suggest not building libffi with pcc.
An executable built with pcc should work with a library built with
gcc or clang.


r~



More information about the Libffi-discuss mailing list