
Hi Gregory, On Tue, Mar 13, 2007 at 05:18:42PM -0400, Gregory Wright wrote:
The 6.4.2 build now runs successfully to the end of the hc-build script.
Ah, good, that'll hopefully make getting 6.6 working less painful.
The interesting thing is that out of the box using the 6.4.2 bootstrap compiler, 6.6 still crashes when compiling Linker.c. Not just a little crash; it hung the whole system.
Hmm. Do you know if it was eating all your memory?
As I said, I'm using out of the box 6.6. Should I try a 6.6 from darcs?
Yes, that's probably the best way to go. Put: GhcUnregisterised=YES GhcWithNativeCodeGen=NO GhcWithInterpreter=NO SplitObjs=NO GhcWithSMP=NO in mk/build.mk before you start building. If that breaks in the same way then set the -debug flag as I described before, delete compiler/stage1/ghc-6.whatever.it.is, run "make stage=1" in compiler/ (should relink ghc with -debug) and then try the failing command again. Assuming it still breaks, try gdb'ing it (note that it's a shell script that's being run, so you'll need to run the real binary and pass the extra args to it manually with gdb). Thanks Ian