#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 | -----------------------------+----------------------------------------------
Comment(by duncan): Current decision of ghc devs is not to disable GHCi .o libs yet because of possible bugs in loading the .a archives. http://hackage.haskell.org/trac/ghc/ticket/4901 When we do change it, we can use this patch: {{{ hunk ./Distribution/Simple/GHC.hs 542 - ifGHCiLib = when (withGHCiLib lbi && withVanillaLib lbi) + ifGHCiLib = when (withGHCiLib lbi && withVanillaLib lbi + -- As of GHC 7, GHCi can load .a libs, so the .o + -- libs are not necessary. However this only works + -- correctly in later releases of the ghc-7.x + && compilerVersion comp < Version [7,0,unknown] []) }}} Obviously, we'll have to wait to know just which ghc-7.x version it does work in. In the meantime, the workaround for affected packages is to use the flag `--disable-library-for-ghci`. -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/791#comment:5> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects _______________________________________________ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel