[GHC] #8266: Dynamic linking on Mac

GHC ghc-devs at haskell.org
Thu Nov 28 08:17:34 UTC 2013


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

Comment (by darchon):

 The current design indeed only works for one, let's call it the
 //default//, situation; which is:
 * When GHC is installed in a //normal// directory using e.g. `make
 install`

 All other situations, including using the GHC binary from the build-tree,
 are either not working, or are working by accident.

 amosrobinson: could you link or include as attachment the output of
 `otool -l Main`? Of course of the version that doesn't have the extra
 rpath.

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


More information about the ghc-tickets mailing list