GHC 7.0rc1

Simon Marlow marlowsd at gmail.com
Mon Oct 11 05:35:19 EDT 2010


On 08/10/2010 21:30, Vivian McPhail wrote:
> Hi,
>
> On linux x86_64 (1Gbyte RAM),
>
> I downloaded the 7.0.20100930 source tarball and installed.
>
> First, "darcs-all" and "validate" scripts are missing, which breaks
> "perl boot."
>
> I copied these from the HEAD and all worked well, until...
>
> "/usr/bin/ar" q  compiler/stage2/build/libHSghc-7.0.0.20100930_p.a
> @compiler/stage2/build/libHSghc-7.0.0.20100930_p.a.contents
> /usr/bin/ar: creating compiler/stage2/build/libHSghc-7.0.0.20100930_p.a
> "rm" -f compiler/stage2/build/libHSghc-7.0.0.20100930_p.a.contents

I'm surprised that you were building profiling libraries, that's not 
normally part of validate.  Did you do a plain 'make'?

> My machine spent over 12 hours grinding away the swap space and I
> finally killed the make process.  This isn't a bug, but a performance
> issue.

hmm, I don't see that here:

$ /usr/bin/time make FAST=YES stage2/build/libHSghc-7.1.20101008_p.a
...
3.59user 1.10system 0:05.16elapsed 90%CPU (0avgtext+0avgdata 
97376maxresident)k 0inputs+519016outputs (0major+120732minor)pagefaults 
0swaps


Anyway, I suggest not building the profiling libraries if you don't need 
them.

Cheers,
	Simon



More information about the Cvs-ghc mailing list