[nhc-bugs] Time profiling on Mac OS X

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Wed May 18 08:44:49 EDT 2005


Tony Sloane <asloane at ics.mq.edu.au> writes:

> I've been trying a simple test of time profiling on a Mac OS 10.3.9 
> machine.  It fails during linking on the program:
> 
> main = putStrLn "Hello World!\n"
> 
> See the attached typescript.  Is this a known problem?

I'm afraid that time profiling has probably suffered some bit-rot over
the last couple of years.  Its implementation relies on some cunning
generation of extra symbols to aggregate costs upwards to modules
(the tprofprel tool).  Since the move to hierarchical libraries,
I suspect this machinery has not been kept sufficiently up-to-date
to continue to serve its purpose.

> I note that the libraries on this machine can't be ranlib -s'ed since 
> they have multiple definitions of some symbols.  Is this related or can 
> I ignore these warnings?

Not sure.

Regards,
    Malcolm


More information about the Nhc-bugs mailing list