
#4013: build fails on OS X: Invalid Mach-O file:Address out of bounds while relocating object file ----------------------------------------+------------------------------ Reporter: igloo | Owner: Type: bug | Status: closed Priority: high | Milestone: 7.2.1 Component: Compiler | Version: 6.13 Resolution: fixed | Keywords: Operating System: MacOS X | Architecture: x86 Type of failure: Building GHC failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ----------------------------------------+------------------------------ Comment (by bgamari): It seems that Apple has broken split-sections again; see #12479. Also, it's not clear that an autoconf check is enough to guarantee that users aren't affected by this issue. There's no reason to believe that the linker at `configure`-time is the same linker that will be used by the built compiler (consider, for instance, the case of a binary distribution built on a working toolchain but downloaded and used on a broken toolchain). I think we have little choice but to just disable split sections on OS X. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/4013#comment:27 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler