Hello,

Using

> $ uname -a
> Darwin thorkil-naurs-mac-mini.local 9.6.0 Darwin Kernel Version 9.6.0: Mon 
Nov 24 17:39:01 PST 2008; root:xnu-1228.9.59~1/RELEASE_PPC Power Macintosh
>$ ghc --version
> The Glorious Glasgow Haskell Compilation System, version 6.6.1

(which is the machine that hosts the tnaur-ppc-osx-2 buildbot slave), sh 
validate stops with this message:

> /Users/thorkilnaur/tn/install/ghc-6.6.1/bin/ghc -#include cutils.h -DSTAGE=1 
-package-name ghc-6.11.20090112 -hide-all-packages -no-user-package-conf 
-package-conf 
/Users/thorkilnaur/tn/GHCDarcsRepository/ghc-HEAD-complete-for-pulling-and-copying-20070713_1212/ghc/libraries/bootstrapping.conf
 
-i -idist-stage1/build -inativeGen -ibasicTypes -icmm -icodeGen -icoreSyn 
-icprAnalysis -ideSugar -ighci -ihsSyn -iiface -imain -iparser -iprelude 
-iprofiling -irename -isimplCore -isimplStg -ispecialise -istgSyn -istranal 
-itypecheck -itypes -iutils -ivectorise -idist-stage1/build/autogen 
-Idist-stage1/build/autogen -Idist-stage1/build -Istage1 
-I../libraries/base/cbits -I../libraries/base/include -I. -Iparser -Iutils 
-optP-include -optPdist-stage1/build/autogen/cabal_macros.h -odir 
dist-stage1/build -hidir dist-stage1/build -package Cabal-1.7.0 -package 
base-2.1.1 -package extensible-exceptions-0.1.1.0 -package filepath-1.1.0.1 
-package haskell98-1.0 -package hpc-0.5.0.2 -package unix-2.1 -O -Wall 
-fno-warn-name-shadowing -fno-warn-orphans -fglasgow-exts -cpp -fffi 
-fscoped-type-variables -idist-stage1/build  -Werror -H64m -O0 -fasm 
-Rghc-timing -O -fasm  -c codeGen/StgCmmBind.hs -o 
dist-stage1/build/StgCmmBind.o  -ohi dist-stage1/build/StgCmmBind.hi
>
> codeGen/StgCmmBind.hs:20:0:
>     Warning: Redundant import of: `cgExpr'
>              It is also imported from StgCmmExpr at 
codeGen/StgCmmBind.hs:18:0-16
> <<ghc: 81067436 bytes, 11 GCs, 6507586/13450024 avg/max bytes residency (3 
samples), 66M in use, 0.01 INIT (0.01 elapsed), 0.84 MUT (4.28 elapsed), 0.67 
GC (2.51 elapsed) :ghc>>
> make[2]: *** [dist-stage1/build/StgCmmBind.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> <<ghc: 206862796 bytes, 12 GCs, 6801385/14422444 avg/max bytes residency (3 
samples), 67M in use, 0.01 INIT (0.01 elapsed), 2.74 MUT (9.23 elapsed), 0.75 
GC (2.61 elapsed) :ghc>>
> make[1]: *** [build.stage.1] Error 2
> make: *** [stage1] Error 1

With the work around

> hunk ./compiler/codeGen/StgCmmBind.hs 1
> +{-# OPTIONS -w #-}

the validate proceeds to:

> /Users/thorkilnaur/tn/install/ghc-6.6.1/bin/ghc -#include cutils.h -DSTAGE=1 
-package-name ghc-6.11.20090112 -hide-all-packages -no-user-package-conf 
-package-conf 
/Users/thorkilnaur/tn/GHCDarcsRepository/ghc-HEAD-complete-for-pulling-and-copying-20070713_1212/ghc/libraries/bootstrapping.conf
 
-i -idist-stage1/build -inativeGen -ibasicTypes -icmm -icodeGen -icoreSyn 
-icprAnalysis -ideSugar -ighci -ihsSyn -iiface -imain -iparser -iprelude 
-iprofiling -irename -isimplCore -isimplStg -ispecialise -istgSyn -istranal 
-itypecheck -itypes -iutils -ivectorise -idist-stage1/build/autogen 
-Idist-stage1/build/autogen -Idist-stage1/build -Istage1 
-I../libraries/base/cbits -I../libraries/base/include -I. -Iparser -Iutils 
-optP-include -optPdist-stage1/build/autogen/cabal_macros.h -odir 
dist-stage1/build -hidir dist-stage1/build -package Cabal-1.7.0 -package 
base-2.1.1 -package extensible-exceptions-0.1.1.0 -package filepath-1.1.0.1 
-package haskell98-1.0 -package hpc-0.5.0.2 -package unix-2.1 -O -Wall 
-fno-warn-name-shadowing -fno-warn-orphans -fglasgow-exts -cpp -fffi 
-fscoped-type-variables -idist-stage1/build  -Werror -H64m -O0 -fasm 
-Rghc-timing -O -fasm  -c typecheck/TcTyClsDecls.lhs -o 
dist-stage1/build/TcTyClsDecls.o  -ohi dist-stage1/build/TcTyClsDecls.hi
>
> typecheck/TcTyClsDecls.lhs:53:0:
>     Warning: Redundant import of: `Boxed'
>              It is also imported from BasicTypes at 
typecheck/TcTyClsDecls.lhs:17:0-16
>
> typecheck/TcTyClsDecls.lhs:53:0:
>     Warning: Redundant import of: `NonRecursive'
>              It is also imported from BasicTypes at 
typecheck/TcTyClsDecls.lhs:17:0-16
>
> typecheck/TcTyClsDecls.lhs:53:0:
>     Warning: Redundant import of: `Recursive'
>              It is also imported from BasicTypes at 
typecheck/TcTyClsDecls.lhs:17:0-16
>
> typecheck/TcTyClsDecls.lhs:53:0:
>     Warning: Redundant import of: `MarkedStrict'
>              It is also imported from BasicTypes at 
typecheck/TcTyClsDecls.lhs:17:0-16
>
> typecheck/TcTyClsDecls.lhs:53:0:
>     Warning: Redundant import of: `MarkedUnboxed'
>              It is also imported from BasicTypes at 
typecheck/TcTyClsDecls.lhs:17:0-16
>
> typecheck/TcTyClsDecls.lhs:53:0:
>     Warning: Redundant import of: `NotMarkedStrict'
>              It is also imported from BasicTypes at 
typecheck/TcTyClsDecls.lhs:17:0-16
>
> typecheck/TcTyClsDecls.lhs:53:0:
>     Warning: Redundant import of: `isMarkedStrict'
>              It is also imported from BasicTypes at 
typecheck/TcTyClsDecls.lhs:17:0-16
>
> typecheck/TcTyClsDecls.lhs:53:0:
>     Warning: Redundant import of: `Boxity'
>              It is also imported from BasicTypes at 
typecheck/TcTyClsDecls.lhs:17:0-16
>
> typecheck/TcTyClsDecls.lhs:53:0:
>     Warning: Redundant import of: `Arity'
>              It is also imported from BasicTypes at 
typecheck/TcTyClsDecls.lhs:17:0-16
>
> typecheck/TcTyClsDecls.lhs:53:0:
>     Warning: Redundant import of: `RecFlag'
>              It is also imported from BasicTypes at 
typecheck/TcTyClsDecls.lhs:17:0-16
>
> typecheck/TcTyClsDecls.lhs:53:0:
>     Warning: Redundant import of: `StrictnessMark'
>              It is also imported from BasicTypes at 
typecheck/TcTyClsDecls.lhs:17:0-16
> <<ghc: 118743500 bytes, 11 GCs, 2192557/6153868 avg/max bytes residency (3 
samples), 67M in use, 0.01 INIT (0.01 elapsed), 1.38 MUT (5.89 elapsed), 0.48 
GC (1.67 elapsed) :ghc>>
> make[2]: *** [dist-stage1/build/TcTyClsDecls.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> <<ghc: 194495320 bytes, 14 GCs, 6417021/13578956 avg/max bytes residency (3 
samples), 69M in use, 0.01 INIT (0.02 elapsed), 2.48 MUT (10.09 elapsed), 
0.79 GC (2.81 elapsed) :ghc>>
> make[1]: *** [build.stage.1] Error 2
> make: *** [stage1] Error 1

Working around by

> hunk ./compiler/typecheck/TcTyClsDecls.lhs 9
> +{-# OPTIONS -w #-}

we get to

> /Users/thorkilnaur/tn/GHCDarcsRepository/ghc-HEAD-complete-for-pulling-and-copying-20070713_1212/ghc/ghc/stage1-inplace/ghc
>  
-optc-Werror -optc-Wall -optc-W -optc-Wstrict-prototypes 
-optc-Wmissing-prototypes -optc-Wmissing-declarations -optc-Winline 
-optc-Waggregate-return -optc-I../includes -optc-I. -optc-Iparallel -optc-Ism 
-optc-DCOMPILING_RTS -optc-g -optc-O0 -optc-I../gmp/gmpbuild 
-optc-I../libffi/build/include -optc-fno-strict-aliasing  -Werror -H64m -O0 
-fasm  -I../includes -I. -Iparallel -Ism -DCOMPILING_RTS -package-name rts 
-static  -I../gmp/gmpbuild -I../libffi/build/include -I. -dcmm-lint  -hisuf 
debug_hi -hcsuf debug_hc -osuf debug_o -optc-DDEBUG   -c sm/Scav.c -o 
sm/Scav.debug_o
> cc1: warnings being treated as errors
> sm/Scav.c: In function 'scavengeTSO':
>
> sm/Scav.c:72:0:
>      warning: format '%d' expects type 'int', but argument 3 has type 
'StgThreadID'
> make[2]: *** [sm/Scav.debug_o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[1]: *** [all] Error 1
> make: *** [stage1] Error 2

This can be worked around (or even fixed) by:

> hunk ./rts/sm/Scav.c 72
> -    debugTrace(DEBUG_gc,"scavenging thread %d",tso->id);
> +    debugTrace(DEBUG_gc,"scavenging thread %d",(int)tso->id);

which finally brings us to:

> make -C utils with-stage-2
> make -C installPackage with-stage-2
> make -C ghc-pkg with-stage-2
> /Users/thorkilnaur/tn/GHCDarcsRepository/ghc-HEAD-complete-for-pulling-and-copying-20070713_1212/ghc/libraries/cabal-bin
>  /Users/thorkilnaur/tn/install/ghc-6.6.1/bin/ghc 
> /Users/thorkilnaur/tn/GHCDarcsRepository/ghc-HEAD-complete-for-pulling-and-copying-20070713_1212/ghc/libraries/bootstrapping.conf
>  
1.7.0 configure --distpref dist-install         \
>                            --prefix=/NONEXISTENT --bindir=/NONEXISTENT 
--libdir=/NONEXISTENT --libexecdir=/NONEXISTENT --datadir=/NONEXISTENT 
--docdir=/NONEXISTENT --haddockdir=/NONEXISTENT --htmldir=/NONEXISTENT \
>                            
--with-compiler=/Users/thorkilnaur/tn/GHCDarcsRepository/ghc-HEAD-complete-for-pulling-and-copying-20070713_1212/ghc/ghc/stage2-inplace/ghc
 
--with-hc-pkg=/Users/thorkilnaur/tn/GHCDarcsRepository/ghc-HEAD-complete-for-pulling-and-copying-20070713_1212/ghc/utils/ghc-pkg/install-inplace/bin/ghc-pkg
   
--package-db 
/Users/thorkilnaur/tn/GHCDarcsRepository/ghc-HEAD-complete-for-pulling-and-copying-20070713_1212/ghc/stage3.package.conf
   
\
>                            --libsubdir='$pkgid' --with-gcc=gcc 
--with-ld=/usr/bin/ld --hsc2hs-option=--cflag=-Werror 
--with-hscolour=/Users/thorkilnaur/tn/install/hscolour-1.10.1/bin/HsColour 
--with-alex=/Users/thorkilnaur/tn/install/alex-2.2/bin/alex 
--with-happy=/Users/thorkilnaur/tn/install/happy-1.17/bin/happy    
--configure-option='--prefix=/Users/thorkilnaur/tn/GHCDarcsRepository/ghc-HEAD-complete-for-pulling-and-copying-20070713_1212/ghc/inst'
 
--configure-option=--with-cc=gcc 
--with-hsc2hs=/Users/thorkilnaur/tn/GHCDarcsRepository/ghc-HEAD-complete-for-pulling-and-copying-20070713_1212/ghc/utils/hsc2hs/install-inplace/bin/hsc2hs
       
\
>                            --datasubdir=.
> /Users/thorkilnaur/tn/GHCDarcsRepository/ghc-HEAD-complete-for-pulling-and-copying-20070713_1212/ghc/libraries/cabal-bin
>  /Users/thorkilnaur/tn/install/ghc-6.6.1/bin/ghc 
> /Users/thorkilnaur/tn/GHCDarcsRepository/ghc-HEAD-complete-for-pulling-and-copying-20070713_1212/ghc/libraries/bootstrapping.conf
>  
1.7.0 configure --distpref dist-install         \
>                            --prefix=/NONEXISTENT --bindir=/NONEXISTENT 
--libdir=/NONEXISTENT --libexecdir=/NONEXISTENT --datadir=/NONEXISTENT 
--docdir=/NONEXISTENT --haddockdir=/NONEXISTENT --htmldir=/NONEXISTENT \
>                            
--with-compiler=/Users/thorkilnaur/tn/GHCDarcsRepository/ghc-HEAD-complete-for-pulling-and-copying-20070713_1212/ghc/ghc/stage2-inplace/ghc
 
--with-hc-pkg=/Users/thorkilnaur/tn/GHCDarcsRepository/ghc-HEAD-complete-for-pulling-and-copying-20070713_1212/ghc/utils/ghc-pkg/install-inplace/bin/ghc-pkg
   
--package-db 
/Users/thorkilnaur/tn/GHCDarcsRepository/ghc-HEAD-complete-for-pulling-and-copying-20070713_1212/ghc/stage3.package.conf
   
\
>                            --libsubdir='$pkgid' --with-gcc=gcc 
--with-ld=/usr/bin/ld --hsc2hs-option=--cflag=-Werror 
--with-hscolour=/Users/thorkilnaur/tn/install/hscolour-1.10.1/bin/HsColour 
--with-alex=/Users/thorkilnaur/tn/install/alex-2.2/bin/alex 
--with-happy=/Users/thorkilnaur/tn/install/happy-1.17/bin/happy    
--configure-option='--prefix=/Users/thorkilnaur/tn/GHCDarcsRepository/ghc-HEAD-complete-for-pulling-and-copying-20070713_1212/ghc/inst'
 
--configure-option=--with-cc=gcc 
--with-hsc2hs=/Users/thorkilnaur/tn/GHCDarcsRepository/ghc-HEAD-complete-for-pulling-and-copying-20070713_1212/ghc/utils/hsc2hs/install-inplace/bin/hsc2hs
       
\
>                            --constraint="Cabal == 1.7.0"

with nothing happening for hours. I Ctrl-C'ed it and tried again and it hung 
in the same place.

All the repeated attempts mentioned were sh validate with --no-clean, so I 
decided now to try sh validate without --no-clean. That resulted in a hang 
here:

> $ sh validate
> rm -f -rf inplace-datadir
> make -C bindisttest distclean
> rm -f -rf installed
> rm -f -rf ghc*
> rm -f HelloWorld HelloWorld.o HelloWorld.hi output
> if test -d testsuite; then make -C testsuite distclean; fi
> ^C^C

I guess I'll just lie low for a couple of days ...

Thanks and best regards
Thorkil

_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to