ticky

Simon Peyton-Jones simonpj at microsoft.com
Wed Apr 4 10:31:25 EDT 2007


Hi Kirsten

I'm getting this when compiling the RTS with -ticky:

../compiler/ghc-inplace -H32m -W -fno-warn-unused-matches -fwarn-unused-imports -optc-O2 -static -I. -#include HCIncludes.h -fvia-C -dcmm-lint  -hisuf t_hi -hcsuf t_hc -osuf t_o -ticky -#include posix/Itimer.h  -c PrimOps.cmm -o PrimOps.t_o
ghc-6.7: panic! (the 'impossible' happened)
  (GHC version 6.7 for x86_64-unknown-linux):
        ToDo: tickyAllocPrim

If I make this go away (by making CgTicky.tickyAllocPrim do return ()), then I get

/tmp/ghc978_0/ghc978_0.t_hc:43:0:
     error: 'RET_UNBOXED_TUP_hst' undeclared (first use in this function)

/tmp/ghc978_0/ghc978_0.t_hc:43:0:
     error: (Each undeclared identifier is reported only once


Lots of times.


If I make this go away (more changes to CgTicky) then it compiles but I get a seg fault when running with +RTS -rsttderr


Do you think ticky is working in the HEAD?  Any chance you could patch it up?

Thanks

Simon



More information about the Cvs-ghc mailing list