Just for fun, I decided to run valgrind on the "empty program", i.e. main = return (), compiled with ghc 6.0.1. Much to my surprise, it found an error:
==21117== Source and destination overlap in strcpy(0xbffffc02, 0xbffffc04) ==21117== at 0x40021E99: strcpy (mac_replace_strmem.c:87) ==21117== by 0x8063D45: setupRtsFlags (in /home/abe/src/haskell/test/empty) ==21117== by 0x402B3DBD: __libc_start_main (in /lib/libc-2.3.2.so) ==21117== by 0x8049320: (within /home/abe/src/haskell/test/empty) I'm not sure whether this is even a bug or just an artifact of weird memory handing in the RTS, but it's worrying either way. Abe _______________________________________________ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs