I've now done a 3-stage bootstrap using exactly the same versions of GHC
4.04, gcc 2.95.2 and Solaris 7.  Everything worked without a hitch.

> OK, after hacking ghc-inplace to stop it deleting all its 
> files (is there
> a --keep-everything option?) and running hsc inside gdb I get:
> 
> Glasgow Haskell Compiler, version 4.06, for Haskell 98, 
> compiled by GHC version 4.06
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x90062010 in ?? ()
> (gdb) bt
> #0  0x90062010 in ?? ()
> #1  0xa7db74 in schedule ()
> #2  0xa7e080 in waitThread ()
> #3  0xa7c8a8 in rts_evalIO ()
> #4  0xa7c2b8 in main ()
> 
> I'll keep the gdb session alive for the rest of today if you 
> have any more 
> queries.

You could try building your RTS with debugging options (look in
fptools/mk/config.mk for the details).  This is the RTS on the stage 1
compiler.  Then relink the stage 2 compiler, and run gdb again.  You should
get more informative debugging info.

We'll hold off on 4.06 until we've got a better handle on this one.

Cheers,
        Simon

Reply via email to