
I just built GHC 6.6 on my linux Fedora Core box (athlon 700mhz). When I run it, it crashes. The 6.4 version works fine (which I also built). # ghc-6.6 Segmentation fault # gdb /usr/local/lib/ghc-6.6/ghc-6.6 GNU gdb Red Hat Linux (6.0post-0.20040223.19rh) Copyright 2004 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 "i386-redhat-linux-gnu"...(no debugging symbols found)...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run -B/usr/local/lib/ghc-6.6 Starting program: /usr/local/lib/ghc-6.6/ghc-6.6 -B/usr/local/lib/ghc-6.6 Error while mapping shared library sections: : Success. Error while reading shared library symbols: : No such file or directory. (no debugging symbols found)...(no debugging symbols found)...[Thread debugging using libthread_db enabled] [New Thread 16384 (LWP 20880)] Error while reading shared library symbols: : No such file or directory. Error while reading shared library symbols: : No such file or directory. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 20880)] 0x00421d3b in __pthread_clock_gettime () from /lib/i686/libpthread.so.0 (gdb) where #0 0x00421d3b in __pthread_clock_gettime () from /lib/i686/libpthread.so.0 #1 0x00dc0331 in clock_gettime () from /lib/i686/librt.so.1 #2 0x0888fb4d in ?? () #3 0x00000003 in ?? () #4 0xfef22228 in ?? () #5 0xfef222e8 in ?? () #6 0x0888fe26 in ?? () #7 0x09462dd4 in ?? () #8 0x00000000 in ?? () (gdb) x/64 $esp 0xfef221a4: 0x13ea7d62 0x00000000 0x00000003 0x29a79300 0xfef221b4: 0x006ec840 0x00421cf0 0x00dc3ff4 0x00000003 0xfef221c4: 0x00000000 0xfef22208 0x00dc0331 0x00000003 0xfef221d4: 0x29a79300 0x00000000 0xfef22228 0x00dbc7ec 0xfef221e4: 0x09462d88 0x29a79300 0x00000000 0xffffffff 0xfef221f4: 0x006ec840 0x00000000 0x09462d88 0xfef222d0 0xfef22204: 0x00000002 0xfef222e8 0x0888fb4d 0x00000003 0xfef22214: 0xfef22228 0xfef222e8 0x0888fe26 0x09462dd4 0xfef22224: 0x00000000 0x0945c280 0x00000000 0x00000000 0xfef22234: 0x09462d88 0xfef222d0 0x0888f127 0x09462dd4 0xfef22244: 0x08962469 0xfef22268 0x0041d525 0xfef222d4 0xfef22254: 0xfef222d0 0x00000002 0x0888f23d 0xfef222d0 0xfef22264: 0x00000002 0xfef222d4 0x08888c73 0x089e2aa0 0xfef22274: 0x00000000 0x00000000 0x00000000 0x00000000 0xfef22284: 0x00000000 0xfef222d4 0x08890019 0xfef222d4 0xfef22294: 0xfef222d0 0xfef222d4 0x08889bde 0xfef222d0 # uname -a Linux box 2.6.5-1.358 #1 Sat May 8 09:04:50 EDT 2004 i686 athlon i386 GNU/Linux # ls -ld /lib/*pthread* -rwxr-xr-x 1 root root 95012 May 11 2004 /lib/libpthread-0.10.so* lrwxrwxrwx 1 root root 18 Jun 21 15:00 /lib/libpthread.so.0 -> libpthread-0.10.so* Tim Newsham http://www.thenewsh.com/~newsham/

Also the build worked fine (as far as I can tell). Wouldn't ghc normally crash when building itself as part of the build process if it was defective in some way? On Fri, 24 Nov 2006, Tim Newsham wrote:
I just built GHC 6.6 on my linux Fedora Core box (athlon 700mhz). When I run it, it crashes. The 6.4 version works fine (which I also built).
# ghc-6.6 Segmentation fault
Tim Newsham http://www.thenewsh.com/~newsham/
participants (1)
-
Tim Newsham