cvs ghc crashes when compiling

1999-11-23 Thread Meurig Sage

Hi,
I tried compiling a cvs copy of ghc from Monday 22 November.
This was on Windows NT. The compiler was compiled using the binary
ghc-4.045 binary release. It crashed when compiling PrelBase.


==fptools== make all --unix --no-print-directory -r;
 in /meurig/cvs/fptools/ghc/lib


===fptools== Recursively making `all' in std exts concurrent posix misc ...
PWD = /meurig/cvs/fptools/ghc/lib


==fptools== make all --unix --no-print-directory -r;
 in /meurig/cvs/fptools/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  -H12m  -v -c
PrelBase.lhs -o PrelBase.o -osuf o
The Glorious Glasgow Haskell Compilation System, version 4.05

literate pre-processor:
 echo '#line 1 "PrelBase.lhs"'  /tmp/ghc17024.lpp 
/meurig/cvs/fptools/ghc/driver/../utils/unlit/unlit  PrelBase.lhs -  
/tmp/ghc17024.lpp

real 0m0.010s
user 0m0.010s
sys 0m0.000s
Found OPTIONS -fno-implicit-prelude in /tmp/ghc17024.lpp

Effective command
line: -fno-implicit-prelude -recomp -cpp -fglasgow-exts -fvia-C -Rghc-timing
 -O -split-objs -odir PrelBase -fcompiling-prelude -static -H12m -v -c -o
PrelBase.o -osuf o

Haskellised C pre-processor:
 echo '{-# LINE 1 "PrelBase.lhs" -}'  /tmp/ghc17024.cpp 
/meurig/cvs/fptools/ghc/driver/../utils/hscpp/hscpp -v  -D__HASKELL__=98 -D_
_HASKELL1__=5 -D__GLASGOW_HASKELL__=405 -D__HASKELL98__ -D__CONCURRENT_HASKE
LL__ -I. -I/meurig/cvs/fptools/ghc/driver/../includes /tmp/ghc17024.lpp 
/tmp/ghc17024.cpp

real 0m0.000s
user 0m0.000s
sys 0m0.000s
hscpp:CPP invoked:
gcc -E -undef -traditional -D__HASKELL__=98 -D__HASKELL1__=5 -D__GLASGOW_HAS
KELL__=405 -D__HASKELL98__ -D__CONCURRENT_HASKELL__ -I. -I/meurig/cvs/fptool
s/ghc/driver/../includes - /tmp/ghc17024.lpp
ghc-inplace:compile:Output file PrelBase/PrelBase.o doesn't exist
ghc-inplace:compile:Interface file PrelBase.hi doesn't exist
ghc-inplace:recompile:Input file PrelBase.lhs newer than PrelBase/PrelBase.o

Haskell compiler:
 /meurig/cvs/fptools/ghc/driver/../compiler/hsc
tmp/ghc17024.cpp  -fno-implicit-prelude -fglasgow-exts -fglobalise-toplev-na
mes -fcompiling-prelude -ffoldr-build-on -fdo-eta-reduction -fdo-lambda-eta-
expansion -fcase-of-case -fcase-merge -flet-to-case -fpedantic-bottoms -fsim
plify
[ -finline-phase0 -fmax-simplifier-iterations2 ] -fspecialise -ffull-lazines
s -ffloat-inwards -fsimplify
[ -finline-phase1 -fmax-simplifier-iterations4 ]  -fsimplify
 -finline-phase2 -fmax-simplifier-iterations4 ] -fstrictness -fcpr-analyse -
fworker-wrapper -fsimplify
[ -fmax-simplifier-iterations4 ] -fcse -ffull-laziness -ffloat-inwards -fsim
plify
[ -fmax-simplifier-iterations4 ]   -flet-no-escape -fwarn-overlapping-patter
ns -fwarn-missing-methods -fwarn-missing-fields -fwarn-duplicate-exports -fh
i-version=405 -static
"-himap=.%.hi:/meurig/cvs/fptools/ghc/driver/../lib/exts%.hi:/meurig/cvs/fpt
ools/ghc/driver/../lib/exts%.hi:/meurig/cvs/fptools/ghc/driver/../lib/std%.h
i"
"-himap-sep=:"-v -hifile=/tmp/ghc17024.hi -C=/tmp/ghc17024.hc -F=/tmp/gh
c17024_stb.c -FH=/tmp/ghc17024_stb.h
+RTS -H1200 -K100 -S/tmp/ghc17024.stat

real 0m4.456s
user 0m0.010s
sys 0m0.030s
deleting... /tmp/ghc17024.lpp /tmp/ghc17024.cpp /tmp/ghc17024.hi
/tmp/ghc17024.hc /tmp/ghc17024_stb.c /tmp/ghc17024_stb.h /tmp/ghc17024.stat

rm -f /tmp/ghc17024*
make: *** [PrelBase.o] Error 1
bash%

A popup window with the following message appeared:

The instruction at "0x62eaaece" referenced memory at "0x0d542603". The
memory could not be "read".


Meurig




RE: cvs ghc crashes when compiling

1999-11-23 Thread Simon Marlow


 Hi,
 I tried compiling a cvs copy of ghc from Monday 22 November.
 This was on Windows NT. The compiler was compiled using the binary
 ghc-4.045 binary release. It crashed when compiling PrelBase.

I've seen this too.  Compiling the hsc binary with -static fixed it for me,
but I don't know the real cause.  Sigbjorn, come back... all is forgiven :)

Simon