
#14444: Linker limit on OS X Sierra breaks builds for big projects -------------------------------------+------------------------------------- Reporter: dredozubov | Owner: (none) 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 angerman): I'll eventually look into the recursive linking part. I've added aggressive name mangling to cabal for macOS a while ago, which help elevate this issue to a certain part. But we will eventually be unable to _always_ stay under the limit. So a temporary work around (unless you really have excessive amounts of dependencies), might be to use a Cabal build from HEAD. I'm not certain how stack handles this and haven't looked into it. You are basically looking for any point after https://github.com/haskell/cabal/pull/4656 was merged. (3da83a0 was merged into haskell/cabal on Aug 22 2017). -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14444#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler