[GHC] #8266: Dynamic linking on Mac

GHC ghc-devs
Wed Oct 2 00:14:35 UTC 2013


#8266: Dynamic linking on Mac
--------------------------------------------+------------------------------
        Reporter:  kazu-yamamoto            |            Owner:
            Type:  bug                      |           Status:  new
        Priority:  highest                  |        Milestone:
       Component:  Build System             |          Version:  7.7
      Resolution:                           |         Keywords:
Operating System:  MacOS X                  |     Architecture:
 Type of failure:  GHC doesn't work at all  |  Unknown/Multiple
       Test Case:                           |       Difficulty:  Unknown
        Blocking:                           |       Blocked By:
                                            |  Related Tickets:
--------------------------------------------+------------------------------

Comment (by kazu-yamamoto):

 I did not notice your previous comment. Sorry for the delay.

 I tried 8266_proper_fix.patch and confirmed that it works well.

 8266_fix.patch:

 {{{
 % otool -L libffi.dylib
 libffi.dylib:
         /Users/kazu/work/ghc/libffi/build/inst/lib/libffi.6.dylib
 (compatibility version 7.0.0, current version 7.0.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 169.3.0)
 }}}

 8266_proper_fix.patch:

 {{{
 % otool -L libffi.dylib
 libffi.dylib:
         @rpath/rts-1.0/libffi.dylib (compatibility version 7.0.0, current
 version 7.0.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 169.3.0)
 }}}

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



More information about the ghc-tickets mailing list