Hi,

the stage2 compiler I've created from the official sources almost works,
but ghci crashes with seg-fault.

Any ideas?

-bash-3.1$ gdb --args
/localdisk/maeder/haskell/ghc-6.6.1/compiler/stage2/ghc-6.6.1
-B/localdisk/maeder/haskell/ghc-6.6.1 --interactive
GNU gdb 6.5
Copyright (C) 2006 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-pc-solaris2.10"...
(gdb) run
Starting program:
/localdisk/maeder/haskell/ghc-6.6.1/compiler/stage2/ghc-6.6.1
-B/localdisk/maeder/haskell/ghc-6.6.1 --interactive
warning: Lowest section in /lib/libpthread.so.1 is .dynamic at 00000074
[New LWP 1]
[New LWP 2]
   ___         ___ _
  / _ \ /\  /\/ __(_)
 / /_\// /_/ / /  | |      GHC Interactive, version 6.6.1, for Haskell 98.
/ /_\\/ __  / /___| |      http://www.haskell.org/ghc/
\____/\/ /_/\____/|_|      Type :? for help.

[New LWP 3]
Loading package base ... linking ... done.

Program received signal SIGSEGV, Segmentation fault.
0x08cd0980 in ?? ()
(gdb) where
#0  0x08cd0980 in ?? ()
#1  0x0000fd90 in ?? ()
#2  0xa39cbf6c in ?? ()
#3  0x00010980 in ?? ()
#4  0x00000004 in ?? ()
#5  0x0001433c in ?? ()
#6  0x08a5f448 in MainCapability ()
#7  0x00000001 in ?? ()
#8  0x08cd0980 in ?? ()
#9  0x9b726b40 in ?? ()
#10 0x9b726ab8 in ?? ()
#11 0x08a5f448 in MainCapability ()
#12 0x00000000 in ?? ()
(gdb) quit
The program is running.  Exit anyway? (y or n) y
-bash-3.1$ uname -a
SunOS isaac 5.10 Generic_118855-36 i86pc i386 i86pc
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to