[GHC] #7806: Dynamic linking and libffi

GHC cvs-ghc at haskell.org
Wed Apr 3 20:07:07 CEST 2013


#7806: Dynamic linking and libffi
----------------------------------+-----------------------------------------
Reporter:  kazu-yamamoto          |          Owner:                  
    Type:  bug                    |         Status:  new             
Priority:  normal                 |      Component:  Build System    
 Version:  7.7                    |       Keywords:                  
      Os:  Unknown/Multiple       |   Architecture:  Unknown/Multiple
 Failure:  Installing GHC failed  |      Blockedby:                  
Blocking:                         |        Related:  #7686           
----------------------------------+-----------------------------------------
Changes (by trommler):

 * cc: ptrommler@… (added)
  * related:  => #7686


Comment:

 The issue "Mac with system libffi" is a duplicate of #7686.

 A patch for #7686 is currently under review.

 The two issues "without system libffi" were solved in Linux by adding an
 ELF rpath/runpath to
 the library if a library was not installed in a linker standard directory.
 I believe the same would work for any ELF system and IIRC FreeBSD uses
 ELF, too. Do we have a conditional to
 check for ELF system (instead of Linux as done now) in our build system?

 I don't know enough about mach-o to provide a "Mac without system libffi"
 solution.

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



More information about the ghc-tickets mailing list