Peter,  

Sorry for the long silence about your bug report.

2.02 wasn't advertised as strong enough to boot GHC itself.  If you want
to compile 2.04, use 0.29.  Even 2.04 can't boot itself.  2.05 will be able
to.... I have an optimised build going right now!

Simon

| From: Peter Liljenberg <[EMAIL PROTECTED]>
| Date: 06 Jul 1997 16:13:31 +0200
| Hello!
| 
| I'm trying to compile 2.04 using 2.02 for solaris2, but I get this
| error message:
| 
| ------------------------------------------------------------------------
| ==fptools== make all;
|  in /home/petli/ghc-2.04/build/solaris2.4/ghc/compiler
| ------------------------------------------------------------------------
| ghc -cpp -fhaskell-1.3 -fglasgow-exts -DCOMPILING_GHC -Rghc-timing -I. -IcodeGe
|  n -InativeGen -Iparser -iutils -ibasicTypes -itypes -ihsSyn -iprelude -irename
|   -itypecheck -ideSugar -icoreSyn -ispecialise -isimplCore -istranal -istgSyn -
|  isimplStg -icodeGen -iabsCSyn -imain -ireader -iprofiling -iparser -inativeGen
|   -recomp -DOMIT_DEFORESTER   -K2m  -c hsSyn/HsExpr.lhs -o hsSyn/HsExpr.o -osuf
|   o
|  
| hsSyn/HsExpr.lhs:9: A group of type signatures have mismatched contexts
|                         HsExpr.pprExpr :: 
|                             (Name.NamedThing id{-a2gF-}, Outputable.Outputable 
|  id{-a2gF-}, Outputable.Outputable pat{-a2gG-}, PrelBase.Eq tyvar{-a2gH-}, Outp
|  utable.Outputable tyvar{-a2gH-}, PrelBase.Eq uvar{-a2gI-}, Outputable.Outputab
|  le uvar{-a2gI-}) => ...
|                         HsExpr.pprParendExpr :: 
|                             (Name.NamedThing id{-a2gJ-}, Outputable.Outputable 
|  id{-a2gJ-}, Outputable.Outputable pat{-a2gK-}, PrelBase.Eq tyvar{-a2gL-}, Outp
|  utable.Outputable tyvar{-a2gL-}, PrelBase.Eq uvar{-a2gM-}, Outputable.Outputab
|  le uvar{-a2gM-}) => ...
|  
|  
|  
| Compilation had errors
| make[2]: *** [hsSyn/HsExpr.o] Error 1
| 
| 
| I could probably make do with 2.02, but as has been noted before here,
| it doesn't like solaris2.4, so I figured that this (in build.mk)
| should fix this (after recompiling the 2.04 with itself, of course...):
| 
|  BUILD_LD_OPTS += -lc -L/usr/ucblib -lucb
| 
| Or is there an easier way to patch the compiler, preferably in a
| binary dist?

Reply via email to