
2 May
2002
2 May
'02
7:47 a.m.
| Okay, I've only just toyed with profiling myself, but one | observation I've made is that it's not a good idea to mix | modules compiled with profiling and modules compiled without. | | That is, always 'make clean' (i.e. 'rm -f *.o *.hi') before | you build with a new set of options. Absolutely. GHC should complain if you mix profiled and non-profiled code but it currently doesn't. You'll certainly get disaster if you mix them. (The format of heap objects changes.) I bet that's your problem. S