Re: [Pkg-haskell-maintainers] libffi changes - help needed
On Thu, Apr 05, 2012 at 03:12:33PM +0100, Steve McIntyre wrote:
>On Wed, Apr 04, 2012 at 08:15:31PM +0200, Joachim Breitner wrote:
>
>> * in ./compiler/ghci/LibFFI.hsc in the Haskell function
>>prepForeignCall, called by generateCCall
>>in ./compiler/ghci/ByteCodeGen.lhs. It seems that this is only relevant
>>for ghci.
>>
>>This seems to imply that normal compiled Haskell code, even code that
>>uses the Foreign Function Interface, does never call ffi_prep_cif and is
>>therefore not affected by the problem at hand. Does this sound
>>plausible?
>
>If you're reasonably sure that there's no Haskell code calling C
>through libffi (just C calling Haskell), then job done. :-)
Bugger.
Looking through again, I can see a call to ffi_call() in
rts/Interpreter.c after all. Is that likely to include variadics at
all?
--
Steve McIntyre, Cambridge, UK. steve@einval.com
"You can't barbecue lettuce!" -- Ellie Crane
Reply to: