[GHC] #12479: build fail of commercialhaskell.com with stack build on mac os x sierra beta 4

GHC ghc-devs at haskell.org
Fri Sep 16 14:45:49 UTC 2016


#12479: build fail of commercialhaskell.com with stack build on mac os x sierra
beta 4
-------------------------------------+-------------------------------------
        Reporter:  stephenb          |                Owner:
            Type:  bug               |               Status:  infoneeded
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  MacOS X           |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash                              |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #12198            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 Carter astutely pointed out that `config.mk` enables GHC's `SplitObjs`
 build system setting on those platforms that support it (of which OS X is
 one).

 The real question is why this only started breaking now. I checked the
 Mach-O specification and there is no mention of any limit on the number of
 load commands, so presumably this is some artificial limit imposed by the
 linker. Carter suggested that perhaps Sierra moved to the LLVM linker,
 `lld`, but I see no mention of this error message in the `lld` repository.
 Very mysterious.

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


More information about the ghc-tickets mailing list