Hi All,
I were trying to build GHC-4.03 from the CVS repo (yesterday) under cygwin on NT4, SP4
(egcs-1.1.2).
When it is built with GHC-4.02 all is OK. But, when I installed the resulted GHC-4.03
and attempted to build it again (with itself) the compilation failed as follows:
----------------------------------
ghc -cpp -fglasgow-exts -Rghc-timing -I. -IcodeGen -InativeGen -Iparser
-iutils:basicTypes:types:hsSyn:prelude:rename:typecheck:deSugar:coreSyn:specialise:simplCore:stranal:stgSyn:simplStg:codeGen:absCSyn:main:reader:profiling:parser:nativeGen
-recomp -Onot -H45m -fno-warn-incomplete-patterns -c rename/ParseIface.hs -o
rename/ParseIface.o -osuf o
GHC's heap exhausted;
while trying to allocate 0 bytes in a 67108864-byte heap;
use the `-H<size>' option to increase the total heap size.
make[2]: *** [rename/ParseIface.o] Error 1
make[1]: *** [all] Error 1
make: *** [all] Error 1
----------------------------------
The same result I had when heap size is increased (up to 60M).
Perhaps, it is GHC heap management bug?
Best regards,
Michael