Sven Panne <[EMAIL PROTECTED]> writes:

>    * Some "classic" warnings in ghc/rts:
>         /usr/include/stdlib.h:149: warning: no previous prototype for `strtold'
>      Hmm, perhaps I should better not mention my fix, otherwise Simon
>      gets pale again...  (see Sep 1st)

These go away w/ a glibc version of Linux.

>    * Some warnings about (almost) nested comments in gum/{HLComms,ParInit}.c:
>         gum/HLComms.c:125: warning: `/*' within comment
>      Perhaps use #ifdef 0...#endif instead of /*...*/

Harmless.

>    * Compiling ghc/compiler/rename/ParseIface.hs with GHC 4.00 itself
>      needs 40MB instead of the 30MB given in ghc/compiler/Makefile.
>      Hmmm, 30MB was enough when compiling 4.00 with 3.03. Even stranger:
>      What about the promised self-adjusting heap in the new RTS? I hoped
>      no -H/-K has to be used with the shiny new RTS...   :-(

using -dcore-lint cuts down the residency.  This is a space leak we're
looking into.

Remember, you compiled 4.00 with 3.03 - that's why the -H option is
still needed.  In the bootstrapped version you can forget about -H,
unless you need more than 64M heap!

>    * In the boostrapping phase (4.00 with 4.00), there are some strange
>      warnings from gcc, but only on some files, e.g.
>         basicTypes/Var.lhs
>         types/Type.lhs
>         typecheck/TcEnv.lhs
>         typecheck/TcHsSyn.lhs
>         typecheck/Inst.lhs
>      gcc complained:
>         /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   -H10m  -c typecheck/TcEnv.lhs -o typecheck/TcEnv.o -osuf o
>         <<ghc: 271383260 bytes, 95 GCs, 2432854/3116888 avg/max bytes residency (5 
>samples), 0.03 INIT (0.00 elapsed), 13.31 MUT (15.00 elapsed), 4.39 GC (4.72 elapsed) 
>:ghc>>
>         ghc: module version changed to 1; reason: no old .hi file
>         /tmp/ghc6681.hc:3700: warning: `c6BS_closure' was declared `extern' and 
>later `static'
>         /tmp/ghc6681.hc:4010: warning: `c6C2_closure' was declared `extern' and 
>later `static'
>         /tmp/ghc6681.hc:4163: warning: `c6C7_closure' was declared `extern' and 
>later `static'
> 

Hmm, should be harmless, but I'll look into it.

I was expecting a bug report about CgBindery.hi-boot - you have to
replace some () with {} to bootstrap.

Sorry for the terse message, I'm on a *really* slow dialup link at the
moment.

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