Hi Thorkil,
On Tue, Jan 13, 2009 at 11:30:48PM +0100, Thorkil Naur wrote:
>
> > codeGen/StgCmmBind.hs:20:0:
> > Warning: Redundant import of: `cgExpr'
> > It is also imported from StgCmmExpr at
> codeGen/StgCmmBind.hs:18:0-16
Fix this, after briefly being confused by the mention of cgExpr.
It's actually complaining about two "import StgCmmExpr" declarations.
> > typecheck/TcTyClsDecls.lhs:53:0:
> > Warning: Redundant import of: `Boxed'
> > It is also imported from BasicTypes at
> typecheck/TcTyClsDecls.lhs:17:0-16
This is similar; fixed.
> 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'
Simon said he is looking at this, so I haven't done so.
> 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
Cleaning the testsuite was accidentally running GHC. I've now fixed
that, but is sounds like the real problem is that your GHC diverges.
Presumably running
ghc/stage2-inplace/ghc
also just sits there? If so, you could try running
ghc/stage2-inplace/ghc -v
and
ghc/stage2-inplace/libexec/ghc
for more clues.
You could also try doing the same after recompiling GHC to use the
debugging, and not the threaded, RTS:
cd ghc
make clean stage=2; make stage=2 GhcDebugged=YES GhcThreaded=NO
and if you're lucky then running ghc under gdb and hitting ^C after a
while will reveal the problem.
Thanks
Ian
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc