diff options
author | Ryan Burns <rtburns@protonmail.com> | 2021-08-13 14:23:09 -0700 |
---|---|---|
committer | Ryan Burns <rtburns@protonmail.com> | 2021-08-13 14:23:09 -0700 |
commit | c05fbdb06848718be97fe92b3ba7cca0c293f744 (patch) | |
tree | 2ef00a60a2d6ffa144d5d38ceb6ad65aade5cec5 /pkgs/development/libraries/libffi | |
parent | e60a4662526572ae62da2005b69c010e1f1df8e6 (diff) |
libffi: disable new static trampolines feature
Diffstat (limited to 'pkgs/development/libraries/libffi')
-rw-r--r-- | pkgs/development/libraries/libffi/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libffi/default.nix b/pkgs/development/libraries/libffi/default.nix index 7909b7abc4ff4..4332f43c5afb3 100644 --- a/pkgs/development/libraries/libffi/default.nix +++ b/pkgs/development/libraries/libffi/default.nix @@ -24,6 +24,12 @@ stdenv.mkDerivation rec { configureFlags = [ "--with-gcc-arch=generic" # no detection of -march= or -mtune= "--enable-pax_emutramp" + + # Causes issues in downstream packages which misuse ffi_closure_alloc + # Reenable once these issues are fixed and merged: + # https://gitlab.haskell.org/ghc/ghc/-/merge_requests/6155 + # https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/283 + "--disable-exec-static-tramp" ]; preCheck = '' |