Simon Marlow:
Manuel M T Chakravarty wrote:
/Users/chak/Code/ghc-test/ghc/stage1-inplace/ghc -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 PrimOps.cmm -o PrimOps.debug_o cc1: warnings being treated as e/Users/chak/Code/ghc-test/ghc/ stage1-inplace/ghc -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 StgMiscClosures.cmm - o StgMiscClosures.debug_o
rrors
sm/Scav.c: In function 'scavengeTSO':
sm/Scav.c:72:0:
warning: format '%d' expects type 'int', but argument 3 has type 'StgThreadID'

I'm fixing this.

BTW, if I ignore this problem by compiling without -Werror for $CC, it then fails as follows:

/Users/chak/Code/ghc-test/libraries/cabal-bin /usr/bin/ghc /Users/chak/ Code/ghc-test/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/chak/Code/ghc-test/ghc/ stage2-inplace/ghc --with-hc-pkg=/Users/chak/Code/ghc-test/utils/ghc- pkg/install-inplace/bin/ghc-pkg --package-db /Users/chak/Code/ghc- test/stage3.package.conf \ --libsubdir='$pkgid' --with-gcc=gcc --with-ld=/usr/ bin/ld --with-hscolour=/Users/chak/bin/HsColour --with-alex=/opt/ local/bin/alex --with-happy=/opt/local/bin/happy --configure- option='--prefix=/Users/chak/Code/ghc-test/inst' --configure-option=-- with-cc=gcc --with-hsc2hs=/Users/chak/Code/ghc-test/utils/hsc2hs/ install-inplace/bin/hsc2hs \
                           --constraint="Cabal == 1.7.0"
Configuring ghc-pkg-6.9...
Configuring installPackage-1.0...
ghc: internal error: RELEASE_LOCK: I do not own this lock: posix/ FileLock.c 90
    (GHC version 6.11.20090115 for i386_apple_darwin)
    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
ghc: internal error: RELEASE_LOCK: I do not own this lock: posix/ FileLock.c 90
    (GHC version 6.11.20090115 for i386_apple_darwin)
    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
make[3]: *** [with-stage-2] Error 6
make[2]: *** [with-stage-2.ghc-pkg] Error 2
make[2]: *** Waiting for unfinished jobs....
make[3]: *** [with-stage-2] Error 6
make[2]: *** [with-stage-2.installPackage] Error 2
make[1]: *** [stage2] Error 2
make: *** [bootstrap2] Error 2
limitingfactor chak 11 (.../Code/ghc-test):

Seems as if we are pretty much out of luck with the head, at least on MacOS...

Manuel

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

Reply via email to