[Haskell-cafe] non_lazy_ptr ld error?

Evan Laforge qdunkan at gmail.com
Thu Dec 23 14:33:52 CET 2010


Lately I've been seeing this error occasionally when recompiling:

Undefined symbols:
  "_UiziTrackC_d26DB", referenced from:
      _UiziTrackC_d26DB$non_lazy_ptr in TrackC.o
ld: symbol(s) not found

If I delete the .o file for the mentioned module and recompile, it
links fine.  This makes me think something in the dependency analysis
is mixed up and not recompiling something that should be recompiled.
But I'm using --make and letting ghc figure out the deps.

Does this error look familiar to anyone?  This is ghc 6.12.3 on OS X 10.5.8.


On a probably unrelated note, a few times lately I've had a startup
segfault on a program which was previously fine.  The stack trace on
the crashing thread is:

Thread 2 Crashed:
0   libSystem.B.dylib                   0x954f9fa0 strcmp + 80
1   elaforge.seq.seq                    0x0143f7dd lookupHashTable + 131
2   elaforge.seq.seq                    0x01444243 ghciInsertStrHashTable + 24
3   elaforge.seq.seq                    0x01445a87 ocGetNames_MachO + 1803
4   elaforge.seq.seq                    0x014447bf loadObj + 500
5   elaforge.seq.seq                    0x007064a4 sYy_info + 12

This is a little worrying because I've never seen this before and I
don't know why it's started.  It seems to happen consistently until I
make clean and recompile.  My app uses hint and I suspect this is part
of the hint initialization and has to do with inconsistent .o files or
something... anyone seen this either?



More information about the Haskell-Cafe mailing list