[GHC] #14444: Linker limit on OS X Sierra breaks builds for big projects
GHC
ghc-devs at haskell.org
Mon Mar 5 19:32:07 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):
Hm, so- as I understand it. We create a single libghc_XX.dylib for use by
TH, which in turn references each of its dependencies and loads them with
'load commands' (of which there is a hard total size limit on MacOS).
What's the reason we take this step instead of just loading each
dependency directly? Is that also for performance? If so, could we
generate two of these libghc_XX.dylibs? Or 1 per every 50 dependencies?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14444#comment:14>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list