Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#3439 closed merge (fixed)

Improve the setup for ticky

Reported by: simonpj Owned by: igloo
Priority: high Milestone: 7.0.1
Component: Compiler Version: 6.10.4
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description (last modified by simonpj)

Simon Marlow and I came up with the following proposals:

  • Merge the "ticky" and "debug" builds of the runtime system. This just simplifies the RTS build, and reduces the number of versions.
  • Arrange that every build of the RTS defines the symbols that are referenced by code compiled with -ticky. That way you won't get link errors if you compile tickified code with a non-debug RTS.

The second point is very important. When testing I often want to compile all the libraries with -ticky, but it's very fiddly to ensure that every program compiled against those libraries is linked against the debug/ticky RTS. I just want those programs to work. The ones I want to examine closely (ie see the ticky stats) I can certainly link with -ticky or -debug to get the RTS that does the counting.

None of this is difficult; just an hour or two's work.

Change History (6)

comment:1 Changed 10 years ago by simonpj

Description: modified (diff)

comment:2 Changed 10 years ago by simonmar


Fri Sep 18 12:46:31 BST 2009  Simon Marlow <>
  * Fix #3439: -debug implies -ticky, and -ticky code links with any RTS

comment:3 Changed 10 years ago by simonpj

Owner: set to simonmar

Not quite: when linking you have to specify -debug, whereas -ticky should do.

Also in the implementation there is still at ticky "way", and that just isn't right.

So the ticket should stay open.


comment:4 Changed 10 years ago by simonmar

Owner: changed from simonmar to igloo
Type: feature requestmerge


Wed Nov  4 06:55:07 PST 2009  Simon Marlow <>
  * Finish #3439: -ticky implies -debug at link time; the ticky "way" has gone

Thu Nov  5 02:15:03 PST 2009  Simon Marlow <>
  * Update docs on ticky-ticky profiling

comment:5 Changed 10 years ago by igloo

Resolution: fixed
Status: newclosed

All 3 patches are now in the 6.12 branch.

comment:6 Changed 10 years ago by simonmar

difficulty: Easy (1 hr)Easy (less than 1 hour)
Note: See TracTickets for help on using tickets.