
On Fri, 25 Jan 2002, Nicholas Nethercote wrote:
Also, when I try to compile for ticky-ticky profiling...
Further in the ticky-ticky adventure... Having compiled the libraries and RTS and other bits for ticky-ticky, when I try the -ticky option with ghc I get loads of messages like this at link-time: /homes/njn25/ws/build/ghc/driver/../rts/libHSrts_t.a(GC.t_o): In function `threadSqueezeStack': GC.t_o(.text+0x2fe0): undefined reference to `LDV_recordDead_FILL_SLOP_DYNAMIC' GC.t_o(.text+0x3010): undefined reference to `LDV_recordCreate' GC.t_o(.text+0x304d): undefined reference to `LDV_recordCreate' These LDV_* functions seem to only be needed/used if compiling for normal profiling, which I'm not and don't want to. Similarly, when I try recompiling the RTS (trying to make the problem disappear), I get warnings of this sort: In file included from Updates.hc:14: Storage.h: In function `updateWithPermIndirection': Storage.h:289: warning: implicit declaration of function `LDV_recordDead_FILL_SLOP_DYNAMIC' So it seems PROFILING is being defined, but I'm not sure where since my $(BUILD)/mk/builk.mk file has these lines: GhcCompilerWays= GhcLibWays=t Can anyone suggest what might be causing the problem? Thanks. -- Nick Nethercote njn25@cam.ac.uk