[GHC] #8266: Dynamic linking on Mac

GHC ghc-devs at haskell.org
Tue Jan 14 21:18:26 UTC 2014


#8266: Dynamic linking on Mac
--------------------------------------------+------------------------------
        Reporter:  kazu-yamamoto            |            Owner:
            Type:  bug                      |           Status:  patch
        Priority:  highest                  |        Milestone:  7.8.1
       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 darchon):

 Could you elaborate 'this issue'?

 Do you mean, does the current situation (with my previous patch,
 f213e48447050bf468bc4d91fc4d810402c23b85/ghc, already committed) result in
 a non-working GHC install for 'normal' users? The answer to that would be
 _no_, the current situation is just fine for the largest part of the user-
 base of GHC.

 If you mean, that you cannot properly use `inplace/bin/ghc-stage2` in
 combination with `cabal-install`, which matters to both GHC
 developers/hackers and those wanting bleeding-edge GHC? Then the answer
 would be _yes_, the way dynamic libraries are set up with my previous
 patch do not work well with `cabal -w inplace/bin/ghc-stage2`.

 My _new_ patch, attached as `8266_MachO_same_as_ELF.patch`, is just there
 to solve the latter issue.

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


More information about the ghc-tickets mailing list