While compiling GHC 3.01 using GHC 3.00 on a Sparc running Solaris 2.5.1,
I encountered the following error:

------------------------------------------------------------------------
==fptools== gmake all --no-print-directory -r;
in /proj3/DSSSLprint/src/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 ;
../../../ghc/driver/ghc -recomp -cpp -fglasgow-exts -fvia-C -Rghc-timing -O 
-split-objs -odir PrelBase  -H12m  -c PrelBase.lhs -o 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 #-}

NOTE: Simplifier still going after 4 iterations; bailing out.

NOTE: Simplifier still going after 4 iterations; bailing out.

panic! (the `impossible' happened):
         ERROR: Int  -1 out of range [0 .. 2147483647]

Please report it as a compiler bug to [EMAIL PROTECTED]

This looks like the known bug in 2.10 "Native code generator can't handle
``-2147483648''" but the workaround mentioned there, to compile
with -fvia-C, doesn't apply since that flag is already mentioned on the
command line.  What to do?  Does 3.01 need to be built with 2.10?

--FC


Reply via email to