
#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.h... {{{ #define MAX_MACH_O_HEADER_AND_LOAD_COMMANDS_SIZE (32*1024) }}} https://opensource.apple.com/source/dyld/dyld-421.1/src/ImageLoaderMachO.cpp... {{{ 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.cp... 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