[GHC] #7819: FreeBSD without system libffi: Shared object "libffi.so.6" not found

GHC cvs-ghc at haskell.org
Sat Apr 27 15:28:08 CEST 2013


#7819: FreeBSD without system libffi: Shared object "libffi.so.6" not found
---------------------------+------------------------------------------------
  Reporter:  igloo         |          Owner:  pgj             
      Type:  bug           |         Status:  new             
  Priority:  high          |      Milestone:  7.8.1           
 Component:  Build System  |        Version:  7.6.2           
Resolution:                |       Keywords:                  
        Os:  FreeBSD       |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown  |     Difficulty:  Unknown         
  Testcase:                |      Blockedby:                  
  Blocking:                |        Related:                  
---------------------------+------------------------------------------------
Changes (by pgj):

  * owner:  => pgj


Comment:

 Replying to [comment:15 igloo]:
 > What other fix did you have in mind?

 Okay, I think I have solved it: Disable `DYNAMIC_GHC_PROGRAMS` for FreeBSD
 by default.  Later I can override this in the Ports Collection for the
 FreeBSD releases that contain the aforementioned `rtld(1)` fix.

 {{{
 diff --git a/mk/config.mk.in b/mk/config.mk.in
 index 55f5756..af70215 100644
 --- a/mk/config.mk.in
 +++ b/mk/config.mk.in
 @@ -134,6 +134,9 @@ DYNAMIC_TOO = YES
  ifeq "$(TargetOS_CPP)" "mingw32"
  # This doesn't work on Windows yet
  DYNAMIC_GHC_PROGRAMS = NO
 +# This does not work on FreeBSD yet as well
 +else ifeq "$(TargetOS_CPP)" "freebsd"
 +DYNAMIC_GHC_PROGRAMS = NO
  else
  DYNAMIC_GHC_PROGRAMS = YES
  endif
 }}}

 If there is no objection, I push this fix later today and close the
 ticket.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7819#comment:16>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list