[commit: ghc] master: Re-enable DYNAMIC_GHC_PROGRAMS for FreeBSD. (bcc5c95)

git at git.haskell.org git at git.haskell.org
Sat Jan 18 11:02:42 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/bcc5c953f80c53732172345639f30974b9862043/ghc

>---------------------------------------------------------------

commit bcc5c953f80c53732172345639f30974b9862043
Author: Gabor Pali <pali.gabor at gmail.com>
Date:   Fri Jan 17 20:24:00 2014 +0100

    Re-enable DYNAMIC_GHC_PROGRAMS for FreeBSD.
    
    All actively supported releases (8.4-RELEASE, 9.2-RELEASE and the
    upcoming 10.0-RELEASE) now support resolution of $ORIGIN properly.


>---------------------------------------------------------------

bcc5c953f80c53732172345639f30974b9862043
 mk/config.mk.in |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/mk/config.mk.in b/mk/config.mk.in
index 350ea69..b3d6995 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -138,10 +138,6 @@ ifeq "$(TargetOS_CPP)" "mingw32"
 # This doesn't work on Windows yet
 DYNAMIC_GHC_PROGRAMS = NO
 DYNAMIC_TOO=NO
-else ifeq "$(TargetOS_CPP)" "freebsd"
-# FreeBSD cannot do proper resolution for $ORIGIN (due to a bug in
-# rtld(1)), so disable it by default (see #7819).
-DYNAMIC_GHC_PROGRAMS = NO
 else ifeq "$(PlatformSupportsSharedLibs)" "NO"
 DYNAMIC_GHC_PROGRAMS = NO
 else



More information about the ghc-commits mailing list