
some notes noticed when upgrading to 5.04.2 --show-iface seems to not be able to show .hi files created when profiling is turned on. error recieved: mismatched interface file versions: expected 5042, found 5042p also, -hb seems to segfault immediatly but other types of heap profiling seem to work. this is on redhat 7.3 and the RPMs from the ghc site. I dont seem to be getting 'heapCensus' errors anymore which is good. John -- --------------------------------------------------------------------------- John Meacham - California Institute of Technology, Alum. - john@foo.net ---------------------------------------------------------------------------

John Meacham wrote:
[...] --show-iface seems to not be able to show .hi files created when profiling is turned on. [...]
Use the (undocumented :-) option "-buildtag p" *before* --show-iface, e.g. ghc -buildtag p --show-iface Foo.p_hi It doesn't work after --show-iface, neither does any combination with -prof. SimonM: Should this be fixed or documented as a feature? Cheers, S.
participants (2)
-
John Meacham
-
Sven Panne