
Hi all!. I modified build.mk in order to allow Ticky-Ticky profiling (GhcLibWays=t). Now, when I try to make I get this error: ------------------------------------------------------------------------ == make way=t all; PWD = (the_whole_path)/ghc-6.6.1/rts ------------------------------------------------------------------------ ../compiler/ghc-inplace -H32m -O -fasm -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.6.1: panic! (the 'impossible' happened) (GHC version 6.6.1 for i386-unknown-linux): ToDo: tickyAllocThunk Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug Any clue? Thanks in advance. Cristian Perfumo.

On 7/31/07, Cristian Perfumo
Hi all!. I modified build.mk in order to allow Ticky-Ticky profiling (GhcLibWays=t). Now, when I try to make I get this error:
------------------------------------------------------------------------
== make way=t all; PWD = (the_whole_path)/ghc-6.6.1/rts ------------------------------------------------------------------------ ../compiler/ghc-inplace -H32m -O -fasm -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.6.1: panic! (the 'impossible' happened) (GHC version 6.6.1 for i386-unknown-linux):
ToDo: tickyAllocThunk
Hi, Cristian-- To get ticky to work, you need the HEAD (or a recent nightly build snapshot). If it's still not working after that, post again. Cheers, Tim -- Tim Chevalier* catamorphism.org *Often in error, never in doubt "More than at any other time in history, mankind faces a crossroads. One path leads to despair and utter hopelessness. The other, to total extinction. Let us pray we have the wisdom to choose correctly."--Woody Allen

By the way... does ticky-ticky allow monitoring multithreaded programs?
I ask this because the other way of learning data about the execution
(compiling with -prof) is not compatible with -threaded options. In other
words, you can't compile a Haskell program with -prof and -threaded options
at the same time.
Cheers.
Cristian
On 8/1/07, Tim Chevalier
On 7/31/07, Cristian Perfumo
wrote: Hi all!. I modified build.mk in order to allow Ticky-Ticky profiling (GhcLibWays=t). Now, when I try to make I get this error:
------------------------------------------------------------------------
== make way=t all; PWD = (the_whole_path)/ghc-6.6.1/rts ------------------------------------------------------------------------ ../compiler/ghc-inplace -H32m -O -fasm -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.6.1: panic! (the 'impossible' happened) (GHC version 6.6.1 for i386-unknown-linux):
ToDo: tickyAllocThunk
Hi, Cristian-- To get ticky to work, you need the HEAD (or a recent nightly build snapshot). If it's still not working after that, post again.
Cheers, Tim
-- Tim Chevalier* catamorphism.org *Often in error, never in doubt "More than at any other time in history, mankind faces a crossroads. One path leads to despair and utter hopelessness. The other, to total extinction. Let us pray we have the wisdom to choose correctly."--Woody Allen

On Thu, Aug 02, 2007 at 10:59:12AM +0200, Cristian Perfumo wrote:
By the way... does ticky-ticky allow monitoring multithreaded programs? I ask this because the other way of learning data about the execution (compiling with -prof) is not compatible with -threaded options. In other words, you can't compile a Haskell program with -prof and -threaded options at the same time.
You don't need -threaded to run multithreaded programs. -threaded will make them run *faster* on >1-core machines, but the normal RTS will run multiple Haskell threads just fine on its single OS-thread. Stefan

Sorry, It looks like I haven't been precise with my question: I wanted to
say multiple hardware (it implies OS) threads.
In other words: are -threaded and ticky ticky compatible? Will I be able to
run "./myProgram +RTS -N4 -rmyout.ticky" ?
Hope my doubt is clearer now.
Regards.
Cristian
On 8/2/07, Stefan O'Rear
By the way... does ticky-ticky allow monitoring multithreaded programs? I ask this because the other way of learning data about the execution (compiling with -prof) is not compatible with -threaded options. In other words, you can't compile a Haskell program with -prof and -threaded
On Thu, Aug 02, 2007 at 10:59:12AM +0200, Cristian Perfumo wrote: options
at the same time.
You don't need -threaded to run multithreaded programs.
-threaded will make them run *faster* on >1-core machines, but the normal RTS will run multiple Haskell threads just fine on its single OS-thread.
Stefan
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGsgO/FBz7OZ2P+dIRAjI4AKCXDt9A87auA57GlKYm0CGk4sp9OQCaA3qk LSAmbXi/iCpiRC96ZpSz4KY= =1WKQ -----END PGP SIGNATURE-----

On 8/2/07, Cristian Perfumo
Sorry, It looks like I haven't been precise with my question: I wanted to say multiple hardware (it implies OS) threads. In other words: are -threaded and ticky ticky compatible? Will I be able to run "./myProgram +RTS -N4 - rmyout.ticky" ?
I haven't tried it, but the best way to find out is to try it and see :-) If you run into problems, yell. Cheers, Tim -- Tim Chevalier * chevalier@alum.wellesley.edu * Often in error, never in doubt
participants (3)
-
Cristian Perfumo
-
Stefan O'Rear
-
Tim Chevalier