Sven Panne <[EMAIL PROTECTED]> writes:

> OK, you've asked for it: Here a picture of ghc-4.00 (CVS snapshot from
> Oct 18th, new-rts branch) bootstrapping itself...   :-)
> 
>    /home/inst/glasgow/linux/bin/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 -H30m -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 65536-byte heap;

These numbers are, of course, bogus.  Part of the problem is that the
new storage manager doesn't know how large a chunk the program was
trying to allocate when it failed.  This will be fixed at some point.

And to get around the bootstrapping problem, try

        gmake EXTRA_HC_OPTS=-dcore-lint

(the -dcore-lint option alleviates a space leak in the compiler.
Sigh).  Or this, to increase the heap size:
        
        gmake EXTRA_HC_OPTS=-optCrts-M128m

> More seriously, today's CVS snapshot misses the distrib directory, but
> simply copying an older one seems to work.

Weird.  I'll look into it as soon as I'm properly back online (a week
or so).

Cheers,
        Simon

-- 
Simon Marlow                                             [EMAIL PROTECTED]
University of Glasgow                       http://www.dcs.gla.ac.uk/~simonm/
finger for PGP public key

Reply via email to