[Hackage] #791: Large libraries not installable on OS X

Hackage cvs-ghc at haskell.org
Tue Jan 18 11:08:59 CET 2011

#791: Large libraries not installable on OS X
  Reporter:  batterseapower  |        Owner:         
      Type:  defect          |       Status:  new    
  Priority:  high            |    Milestone:         
 Component:  Cabal library   |      Version:
  Severity:  normal          |     Keywords:         
Difficulty:  unknown         |   Ghcversion:         
  Platform:  Mac OS          |  
 For example:

 cabal unpack highlighting-kate-
 cd highlighting-kate-
 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

 Cabal's GHC.hs should not use combineObjectFiles on with GHC >= 7 and OS

Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/791>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects

More information about the cabal-devel mailing list