Hi, I just fetched the ghc-4.01-sparc-sun-solaris2.tar.gz binary distribution, unpackaged, configured (./configure --prefix=/udd/lande), tested: 16:31 /tmp/test; cat Main.hs main = do putStrLn "Hello World\n"; 16:31 /tmp/test; ghc -c Main.hs ghc: module version changed to 1; reason: no old .hi file 16:31 /tmp/test; ghc -o Main Main.o 16:31 /tmp/test; ./Main Bus error 16:31 /tmp/test; uname -a SunOS ultra 5.6 Generic_105181-09 sun4u sparc SUNW,Ultra-1 Looking with strace indicates that it dies real early. Gdb gives me this: 16:31 /tmp/test; gdb ./Main GNU gdb 4.17 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "sparc-sun-solaris2.4"... (gdb) r Starting program: /tmp/test/./Main Program received signal SIGBUS, Bus error. 0x13934 in c2B5_info () (gdb) inf s #0 0x13934 in c2B5_info () #1 0x28894 in catchZh_fast () #2 0x2169c in schedule () #3 0x201fc in main () I hope this is helpful (no, there is nothing funny in my env, not even a LD_LIBRARY_PATH). /Tommy
