Install this package:
emerge -a dev-haskell/libffi
If the package is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask dev-haskell/libffi
Or alternatively:
emerge --autounmask-write -a dev-haskell/libffi
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.2.1 | 8 | ~amd64 | 0/0.2.1 |
<pkgmetadata> <maintainer type="project"> <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> <use> <flag name="ghc-bundled-libffi">When GHC is configured without @--with-system-libffi@, it will bundle its own copies of @libffi@, one of them statically linked and the other dynamically linked. This flag will force linking against the static copy of @libffi@ that GHC bundles. This avoids a GHC bug (https://gitlab.haskell.org/ghc/ghc/-/issues/15397) that can arise when the linker confuses the system's dynamic @libffi@ with GHC's own dynamic @libffi@. Note that this flag only works when GHC is configured without the @--with-system-libffi@ option. This is the case for most GHC binary distributions, such as those provided by @ghcup@. If you are using a GHC that was configured with @--with-system-libffi@, however, you will need to disable this option and link against the system's version of @libffi@ instead.</flag> </use> <upstream> <remote-id type="hackage">libffi</remote-id> <remote-id type="github">remiturk/libffi</remote-id> </upstream> </pkgmetadata>
Manage flags for this package:
euse -i <flag> -p dev-haskell/libffi |
euse -E <flag> -p dev-haskell/libffi |
euse -D <flag> -p dev-haskell/libffi
| Flag | Description | 0.2.1 |
|---|---|---|
| ghc-bundled-libffi | When GHC is configured without @--with-system-libffi@, it will bundle its own copies of @libffi@, one of them statically linked and the other dynamically linked. This flag will force linking against the static copy of @libffi@ that GHC bundles. This avoids a GHC bug (https://gitlab.haskell.org/ghc/ghc/-/issues/15397) that can arise when the linker confuses the system's dynamic @libffi@ with GHC's own dynamic @libffi@. Note that this flag only works when GHC is configured without the @--with-system-libffi@ option. This is the case for most GHC binary distributions, such as those provided by @ghcup@. If you are using a GHC that was configured with @--with-system-libffi@, however, you will need to disable this option and link against the system's version of @libffi@ instead. | ⊕ |
| Type | File | Size | Versions |
|---|
| Type | File | Size |
|---|---|---|
| DIST | libffi-0.2.1.tar.gz | 7879 bytes |