Marcin Benke writes:
>
> Hi,
>
> while trying to compile GHC 2.07 with 2.02 (on i386 Linux) I
> encountered the following:
>
> ------------------------------------------------------------------------
> ==fptools== make all;
> in /export/linux/ben/Dlubanie/Build/fptools/ghc/lib
> ------------------------------------------------------------------------
> rm -f ghc/PrelBase.o ; if [ ! -d ghc/PrelBase ]; then mkdir ghc/PrelBase; else find
>ghc/PrelBase -name '*.o' -print | xargs rm -f __rm_food ; fi
> ../../ghc/driver/ghc -recomp -cpp -fglasgow-exts -fvia-C -Rghc-timing -O -split-objs
>-odir ghc/PrelBase -H12m -c ghc/PrelBase.lhs -o ghc/PrelBase.o -osuf o
> Warning: GENERATE_SPECS pre-processing pragma ignored:
> {-# GENERATE_SPECS subtract a{Int#,Double#,Int,Double,Complex(Double#),Complex
>(Double)} #-}
> Warning: GENERATE_SPECS pre-processing pragma ignored:
> {-# GENERATE_SPECS (.) a b c #-}
> Warning: GENERATE_SPECS pre-processing pragma ignored:
> {-# GENERATE_SPECS data a :: Lift a #-}
> Warning: GENERATE_SPECS pre-processing pragma ignored:
> {-# GENERATE_SPECS showList__ a #-}
>
> *** Pattern-matching error within GHC!
>
> This is a compiler bug; please report it to [EMAIL PROTECTED]
>
> Fail: "main/CmdLineOpts.lhs", line 451: incomplete pattern(s) to match in function
>"simpl_sep"
> ----------------------------------------------------------------------
>
Hi,
it seems like you're compiling with an incompatible pair of compiler
and driver. There was a change to the compiler command-line syntax
with version 2.06, which looks like what's causing the above.
Compiling 2.07 with 2.02 is hard (if not impossible). I suggest you
try out the 2.07 Linux binary distribution that the Heroic Sven
Panne has made available
ftp://ftp.informatik.uni-muenchen.de/pub/local/pms/
(2.07 is self-compilable)
HTH,
--Sigbjorn