I'm trying to build 4.06 (to allow me to compile 4.07) with
the install shield version of 4.05, on WinNT.
It crashes with the message:
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 -sp
lit-objs -odir PrelBase -fcompiling-prelude -static -keep-hc-files-too -keep-s-f
iles-too -H32m -K32m -c PrelBase.lhs -o PrelBase.o -osuf o
Fail: panic! (the `impossible' happened):
no filename
Please report it as a compiler bug to [EMAIL PROTECTED]
[Tricking it into giving a verbose message gives:]
The Glorious Glasgow Haskell Compilation System, version 4.06
literate pre-processor:
echo '#line 1 "PrelBase.lhs"' > c:/tmp/ghc12889.lpp && /ghc/ghc-4.06/ghc
/driver/../utils/unlit/unlit PrelBase.lhs - >> c:/tmp/ghc12889.lpp
real 0m0.010s
user 0m0.000s
sys 0m0.010s
Found OPTIONS -fno-implicit-prelude in c:/tmp/ghc12889.lpp
Effective command line: -fno-implicit-prelude -v -recomp -cpp -fglasgow-exts -fv
ia-C -Rghc-timing -O -split-objs -odir PrelBase -fcompiling-prelude -static -kee
p-hc-files-too -keep-s-files-too -H32m -K32m -c -o PrelBase.o -osuf o
Haskellised C pre-processor:
echo '{-# LINE 1 "PrelBase.lhs" -}' > c:/tmp/ghc12889.cpp && /ghc/ghc-4.
06/ghc/driver/../utils/hscpp/hscpp -v -D__HASKELL__=98 -D__HASKELL1__=5 -D__GLA
SGOW_HASKELL__=406 -D__HASKELL98__ -D__CONCURRENT_HASKELL__ -I. -I/ghc/ghc-4.06/
ghc/driver/../includes c:/tmp/ghc12889.lpp >> c:/tmp/ghc12889.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_HASKELL__=406 -D__HASKELL98__ -D__CONCURRENT_HASKELL__ -I. -I/ghc/gh
c-4.06/ghc/driver/../includes - <c:/tmp/ghc12889.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:
/ghc/ghc-4.06/ghc/driver/../compiler/hsc c:/tmp/ghc12889.cpp -fno-impli
cit-prelude -fglasgow-exts -fglobalise-toplev-names -fcompiling-prelude -ffoldr-
build-on -fdo-eta-reduction -fdo-lambda-eta-expansion -fcase-of-case -fcase-merg
e -flet-to-case -fpedantic-bottoms -fsimplify [ -finline-phase0 -fno-rules -fmax
-simplifier-iterations2 ] -fspecialise -ffull-laziness -ffloat-inwards -fsimplif
y [ -finline-phase1 -fmax-simplifier-iterations4 ] -fsimplify [ -finline-phase2
-fmax-simplifier-iterations4 ] -fstrictness -fcpr-analyse -fworker-wrapper -fsi
mplify [ -fmax-simplifier-iterations4 ] -ffull-laziness -fcse -ffloat-inwards -f
simplify [ -fmax-simplifier-iterations4 ] -flet-no-escape -fwarn-overlapping-p
atterns -fwarn-missing-methods -fwarn-missing-fields -fwarn-duplicate-exports -f
hi-version=406 -static "-himap=.%.hi:/ghc/ghc-4.06/hslibs/lang/monads%.hi:/ghc/g
hc-4.06/hslibs/lang%.hi:/ghc/ghc-4.06/hslibs/lang/monads%.hi:/ghc/ghc-4.06/hslib
s/lang%.hi:/ghc/ghc-4.06/ghc/driver/../lib/std%.hi" "-himap-sep=:" -v -hifile
=c:/tmp/ghc12889.hi -C=c:/tmp/ghc12889.hc -F=c:/tmp/ghc12889_stb.c -FH=c:/tmp/gh
c12889_stb.h +RTS -H32000000 -K32000000 -Sc:/tmp/ghc12889.stat
Fail: panic! (the `impossible' happened):
no filename
Please report it as a compiler bug to [EMAIL PROTECTED]
real 0m0.110s
user 0m0.020s
sys 0m0.010s
deleting... c:/tmp/ghc12889.lpp c:/tmp/ghc12889.cpp c:/tmp/ghc12889.hi c:/tmp/gh
c12889.hc c:/tmp/ghc12889_stb.c c:/tmp/ghc12889_stb.h c:/tmp/ghc12889.stat
rm -f c:/tmp/ghc12889*
bash%