Roman Leshchinskiy wrote:
This is caused by this patch:
Sun Jul 8 12:44:23 PDT 2007 Simon Marlow <[EMAIL PROTECTED]>
* Fix the +RTS -V0 option introduced recently; it didn't work at
all, now it does.
Also, I documented it. +RTS -V0 disables the internal RTS timer
completely, which is useful for repeatable debugginng.
M ./docs/users_guide/runtime_control.xml +8
M ./rts/Makefile -1 +1
M ./rts/RtsFlags.c -6 +18
M ./rts/Timer.c -1 +3
which includes this change:
diff -rN old-ghc-test/rts/Makefile new-ghc-test/rts/Makefile
333c333
< SRC_HC_OPTS += -fvia-C
---
# SRC_HC_OPTS += -fvia-C
Oops, my bad. Sorry about that.
We do need the RTS to compile with -fasm for the dynamic linking work, though,
so this problem will need to be fixed. In the meantime I'm reverting the
change, but I'd be grateful if someone could look into this issue (actually Andy
Gill has just mentioned to me on IRC that he'll look into it).
Apparently, the NCG adds an underscore to foreign "C" names which seems
to be wrong on MacOS.
It can't be that wrong surely, otherwise the NCG would always generate bogus
code for FFI calls?
Cheers,
Simon
_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc