Skip to content

Figure out what to do about libffi

For some platform GHC depends upon libffi for foreign call support in the bytecode interpreter. Unfortunately libffi's upstream seems to be unresponsive and there has not been a release in nearly three years. This means that there is currently no release which has, e.g., support for AArch64 and iOS's compact debug information.

While we obviously want to avoid shipping our own patched libffi, at this point we are starting to run out of options. Consider options for resolving this.

Trac metadata
Trac field Value
Version 8.0.1
Type Task
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC angerman
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information