Trying to build from the darcs repository

Florian Weimer fw at deneb.enyo.de
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-0.3.1.1
  -hide-all-packages -i ilibraries/terminfo/.
  --ilibraries/terminfo/dist-install/build
  -ilibraries/terminfo/dist-install/build/autogen
  -Ilibraries/terminfo/dist-install/build
  -Ilibraries/terminfo/dist-install/build/autogen
  --Ilibraries/terminfo/.  optP-include
  -optPlibraries/terminfo/dist-install/build/autogen/cabal_macros.h
  -package base-4.2.0.0 -package extensible-exceptions-0.1.1.1
  -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
  -libraries/terminfo/dist-install/build/System/Console/Terminfo/Effects.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 earth.li>**20100122130853]

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

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



More information about the Glasgow-haskell-users mailing list