Trying to build from the darcs repository

Florian Weimer fw at
Sun Jan 24 07:10:11 EST 2010

How much memory does GHC need to build on amd64 GNU/Linux?  I'm trying
to build from the darcs repository, and this command

"inplace/bin/ghc-stage1" -H32m -O -package-name terminfo-
  -hide-all-packages -i ilibraries/terminfo/.
  --Ilibraries/terminfo/.  optP-include
  -package base- -package extensible-exceptions-
  -split-objs -Wall -XForeignFunctionInterface -XDeriveDataTypeable
  -XEmptyDataDecls -XScopedTypeVariables -XFlexibleInstances -O2
  -XGenerics -fno-warn-deprecated-flags -odir
  -libraries/terminfo/dist-install/build -hidir
  -libraries/terminfo/dist-install/build -stubdir
  -libraries/terminfo/dist-install/build -hisuf hi -osuf o -hcsuf hc
  --c libraries/terminfo/./System/Console/Terminfo/Effects.hs -o

needs more than 3.5 GB of RAM.  Or is this some sort of miscompilation
problem?  (I'm trying to bootstrap with GHC 6.12.1, but saw this with
GHC 6.8 as well.)

The start of the context is this:

[Remove an out-of-date comment
Ian Lynagh <igloo at>**20100122130853]

[fix build on Windows
Simon Marlow <marlowsd at>**20100122121016
 Ignore-this: cd690a8eff71ca4f87fe67a41a20f493

[fix warning on Windows
Simon Marlow <marlowsd at>**20100122120328
 Ignore-this: 507a91e356a667dcecf8bec621fd2b95

More information about the Glasgow-haskell-users mailing list