/[gentoo-x86]/dev-lang/ghc/files/ghc-6.12.3-ia64-use-libffi-for-foreign-import-wrapper.patch
Gentoo

Contents of /dev-lang/ghc/files/ghc-6.12.3-ia64-use-libffi-for-foreign-import-wrapper.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Jul 10 17:59:17 2010 UTC (4 years, 2 months ago) by slyfox
Branch: MAIN
CVS Tags: HEAD
Fixed darcs-2.4.4 miscompilation on ia64. Rebuilt ia64 binary with the patch.
(Portage version: 2.1.8.3/cvs/Linux x86_64)

1 diff -rN -u old-ghc/mk/config.mk.in new-ghc/mk/config.mk.in
2 --- old-ghc/mk/config.mk.in 2010-07-10 00:22:07.583742895 +0300
3 +++ new-ghc/mk/config.mk.in 2010-07-10 00:22:08.049743314 +0300
4 @@ -177,7 +177,7 @@
5 # Whether to use libffi for adjustors (foreign import "wrapper") or
6 # not. If we have built-in support (rts/Adjustor.c) then we use that,
7 # otherwise we fall back on libffi, which is slightly slower.
8 -ArchHasAdjustorSupport=$(strip $(if $(findstring $(HostArch_CPP),i386 x86_64 powerpc ia64,),YES,NO))
9 +ArchHasAdjustorSupport=$(strip $(if $(findstring $(HostArch_CPP),i386 x86_64 powerpc,),YES,NO))
10 ifeq "$(ArchHasAdjustorSupport)" "YES"
11 UseLibFFIForAdjustors=NO
12 else

  ViewVC Help
Powered by ViewVC 1.1.20