
#791: Large libraries not installable on OS X -----------------------------+---------------------------------------------- Reporter: batterseapower | Owner: Type: defect | Status: new Priority: high | Milestone: Component: Cabal library | Version: 1.8.0.6 Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: Mac OS | -----------------------------+---------------------------------------------- For example: {{{ cabal unpack highlighting-kate-0.2.8.1 cd highlighting-kate-0.2.8.1 ghc --make Setup.hs ./Setup configure ./Setup build }}} This fails: {{{ ld: scattered reloc r_address too large for inferred architecture i386 }}} The underlying reason is that Cabal is trying to create an object file for use with GHCi, but that is not possible (see http://hackage.haskell.org/trac/ghc/ticket/3260). Cabal's GHC.hs should not use combineObjectFiles on with GHC >= 7 and OS X. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/791 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects