G'day!
I just want to report on my little project of making ghc compile from cvs
here at Chalmers. The problem is to make ghci work correctly, the compiler
works just fine.
As a step on the way I've had to add the following lines in
ghc/rts/Linker.c in the definition of RTS_SYMBOLS:
Sym(__ashldi3) \
Sym(__lshrdi3) \
Sym(__ashrdi3)
So far so good. No more complaints about undefined symbols.
But when I compiled ghc last time I got the following error message
when trying to start ghci:
GHCi runtime linker: fatal error: I found a duplicate definition for
symbol
gcc2_compiled.
whilst processing object file
/users/cs/josefs/ghchome/lib/ghc-5.03/HSstd_cbits.o
This could be caused by:
* Loading two different object files which export the same symbol
* Specifying the same object file twice on the GHCi command line
* An incorrect `package.conf' entry, causing some object to be
loaded twice.
GHCi cannot safely continue in this situation. Exiting now. Sorry.
What to do?
/Josef
PS. gcc is 2.95.3 and I'm running on a sparc solaris
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs