[GHC] #14444: Linker limit on OS X Sierra breaks builds for big projects

GHC ghc-devs at haskell.org
Tue Mar 6 17:31:21 UTC 2018


#14444: Linker limit on OS X Sierra breaks builds for big projects
-------------------------------------+-------------------------------------
        Reporter:  dredozubov        |                Owner:  angerman
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.2.1
  (Linking)                          |
      Resolution:                    |             Keywords:
Operating System:  MacOS X           |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by aosivitz):

 Oh, I understand. By default GHC will statically link exes, but you can
 force it to be dynamic and in that case it will fail. Well, I personally
 am less concerned about that case because I'm not trying to dynamically
 link any exes, but I see why you would want both to work equally well.

 It seems to me like the TH problem (building an extra dynamic lib
 unnecessarily which happens to cause bad behavior on Mac) is separate from
 the dynamic exe problem (how can we dynamically link a bunch of libs into
 an exe on Mac). Is there some implementation reason why those two problems
 are more tied together than I assume?

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


More information about the ghc-tickets mailing list