summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@community.haskell.org>2010-08-29 19:28:59 +0000
committerSergei Trofimovich <slyfox@community.haskell.org>2010-08-29 19:28:59 +0000
commit33653031263aa6d5ba4d481c8bb0d8eb1303f4d1 (patch)
treebdd642905b1b8c02075a7e436aaed33b143093bd
parent561472f24ec38c52b5a61f194b4b0419cc6c6410 (diff)
downloadhaskell-33653031263aa6d5ba4d481c8bb0d8eb1303f4d1.tar.gz
ppc: switch handling of 'foreign import wrapper' (FIW) to libffi
Joseph Jezak reported darcs-2.4.4 SIGSEGV in interactive mode in ghc-6.12.3. So I've concluded ppc also has rotten native adjustor. I don't have hardware to verify the patch (ticket #3516 should help to test it), but I think it will help (as similar patch helped for ia64 and ppc64).
-rw-r--r--mk/config.mk.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in
index 6871d7e6a9..cb8d41ff4d 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -178,7 +178,7 @@ endif
# Whether to use libffi for adjustors (foreign import "wrapper") or
# not. If we have built-in support (rts/Adjustor.c) then we use that,
# otherwise we fall back on libffi, which is slightly slower.
-ArchHasAdjustorSupport=$(strip $(if $(findstring $(HostArch_CPP),i386 x86_64 powerpc,),YES,NO))
+ArchHasAdjustorSupport=$(strip $(if $(findstring $(HostArch_CPP),i386 x86_64,),YES,NO))
ifeq "$(ArchHasAdjustorSupport)" "YES"
UseLibFFIForAdjustors=NO
else