Missing symbols from libraries on Mac OS X builds

Sean Seefried sseefried at cse.unsw.edu.au
Thu Oct 21 00:45:42 EDT 2004


Hi all,

Yesterday while I was doing some Template Haskell programming I noticed 
the strangest phenomenon.  While splicing was occurring I got the 
following error message:

ghc-6.3: /Users/sseefried/code/pantheon/src/lib/Pan.o unknown symbol 
`_GHCziFLoat_toRational_entry'
ghc-6.3: unable to load package Pan

So I had a look at the packages I had put as dependencies to package 
Pan.  I'd thought about this before and I was pretty sure it was right. 
  So I decided to look in /usr/local/lib/ghc-6.3 and see if I could find 
the symbol defined in one of the libraries using the nm utility.  The 
result astounded me: the symbol was not defined anywhere.

I've had a look at my Linux build of the HEAD. Naturally it's there. 
But for some reason on Mac OS X it's missing. This is the case on _two_ 
machines - a G5 and a G4 that I've built it on.

Anyone have _any_ idea why this might have happened?


Sean




More information about the Glasgow-haskell-bugs mailing list