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

GHC ghc-devs at haskell.org
Thu Nov 24 09:08:53 UTC 2016


#12479: build fail of commercialhaskell.com with stack build on mac os x sierra
-------------------------------------+-------------------------------------
        Reporter:  stephenb          |                Owner:
            Type:  bug               |               Status:  closed
        Priority:  highest           |            Milestone:  8.0.2
       Component:  Compiler          |              Version:  8.0.1
      Resolution:  fixed             |             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):  Phab:D2532
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by ilovezfs):

 Sources for Sierra's dyld have now been posted:

 https://opensource.apple.com/source/dyld/dyld-421.1/

 https://opensource.apple.com/tarballs/dyld/dyld-421.1.tar.gz


 https://opensource.apple.com/source/dyld/dyld-421.1/src/ImageLoader.h.auto.html

 {{{
 #define MAX_MACH_O_HEADER_AND_LOAD_COMMANDS_SIZE (32*1024)
 }}}


 https://opensource.apple.com/source/dyld/dyld-421.1/src/ImageLoaderMachO.cpp.auto.html
 {{{
 if ( sizeofcmds > (MAX_MACH_O_HEADER_AND_LOAD_COMMANDS_SIZE-
 sizeof(macho_header)) )
                 dyld::throwf("malformed mach-o: load commands size (%u) >
 %u", sizeofcmds, MAX_MACH_O_HEADER_AND_LOAD_COMMANDS_SIZE);
 }}}

 Note the changes from El Capitan
 https://opensource.apple.com/source/dyld/dyld-360.22/src/ImageLoaderMachO.cpp.auto.html


 Other Sierra sources: https://opensource.apple.com/release/os-x-1012.html

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


More information about the ghc-tickets mailing list