Hi,

I downloaded the sources from GHC 4.06, made the shallow tree, added a
build.mk in mk/ with -H80, later with -H80 -O2, made ./configure in ghc/
and ./configure in the main tree, (copied both .y files because happy
doesn't work on links done with lndir -- it's only NT), said make boot and
then

make all
(....)
------------------------------------------------------------------------
===fptools== Recursively making `all' in std ...
PWD = /ghc/ghc-4.06/ghc/lib
------------------------------------------------------------------------
------------------------------------------------------------------------
==fptools== make all --unix --no-print-directory -r;
 in /ghc/ghc-4.06/ghc/lib/std
------------------------------------------------------------------------
rm -f PrelBase.o ; if [ ! -d PrelBase ]; then mkdir PrelBase; else find
PrelBase -name '*.o' -print | xargs rm -f __rm_food ; fi ;
../../driver/ghc-inplace -recomp -cpp -fglasgow-exts -fvia-C -Rghc-timing
-O -split-objs -odir PrelBase -fcompiling-prelude -static
-keep-hc-files-too -keep-s-files-too  -H32m -K32m  -c PrelBase.lhs -o
PrelBase.o -osuf o

(acutally I wonder where my -H80m and the -O2 is).

A message box appears and tells me about a read action from the statement
at 0x62eaaece which attempted to read from 0x0cfc2603, Visual C says it's
in HSPREL.DLL. I don't know if this is of any use:
 EAX = 00000001 EBX = 6755A250 ECX = 035C20A8 EDX = 0CFC25FF ESI =
675598DC EDI = 035C20B8 EIP = 62EAAECE ESP = 029CF748
 EBP = 035C1F74 EFL = 00000293 CS = 001B DS = 0023 ES = 0023 SS = 0023 FS
= 0038 GS = 0000 OV=0 UP=0 EI=1 PL=1 ZR=0 AC=1
 PE=0 CY=1

The statement is a
62EAAECE   mov         eax,dword ptr [edx+eax*4]

I am using the binary distribution of ghc 4.05, Windows NT SP5 and SP6a.

If there is anything I can do to produce more information or an easier
(safer) way to build ghc on my own, let me know.

Thanks,
Axel.


Reply via email to