RE: GHC 4.00 bug

1998-10-13 Thread Sigbjorn Finne (Intl Vendor)

Hi,

edward barry jr [mailto:[EMAIL PROTECTED]] writes: 
> 
> The following bug occurred while compiling GHC-4.00 on a Linux
> platform, using ghc-3.03, gcc-2.7.3.2
> 
 ...
> 
> HsDecls.lhs:10: Warning:
> Failed to find (optional) interface decl for
> `s6CV'
> desired at
> HsBinds.hi:60
> 

There's a general problem here, in that we've pinned the
version number "3.03" on all source snapshots from May
until October. During that period we've fixed a raft of bugs,
including ones that manifested themselves while compiling
HsBinds.lhs with -O, just like you're trying to do.

My suggestion to you would be either to

  - fall back to 3.02
  - compile up the latest 3.03 source snapshot first.
(if it already is, please let us know.)
  - Turn off the specialiser, as there's a good chance
that it is in on the shenanigans, i.e., compile with
'ghc-3.03 -O -fno-specialise'. Do a 'make clean'
in ghc/compiler to make sure you're not picking up
any duff interface files.

hope that helps,
--Sigbjorn



GHC 4.00 bug

1998-10-13 Thread edward barry jr

The following bug occurred while compiling GHC-4.00 on a Linux
platform, using ghc-3.03, gcc-2.7.3.2

Thanks
Ed
-

ghc-3.03 -cpp -fglasgow-exts -Rghc-timing -I. -IcodeGen -InativeGen
-Iparser
-iutils:basicTypes:types:hsSyn:prelude:rename:typecheck:deSugar:coreSyn:specialise:simplCore:stranal:stgSyn:simplStg:codeGen:absCSyn:main:reader:profiling:parser:nativeGen
-recomp -O -H32m-c hsSyn/HsDecls.lhs -o hsSyn/HsDecls.o -osuf o

HsDecls.lhs:10: Warning:
Failed to find (optional) interface decl for
`s6CV'
desired at
HsBinds.hi:60

HsDecls.lhs:10: Warning:
Failed to find (optional) interface decl for
`s6CV'
desired at
HsBinds.hi:60

HsDecls.lhs:10: Warning:
Failed to find (optional) interface decl for
`s6CV'
desired at
HsBinds.hi:60


panic! (the `impossible' happened):
tcLookupTyVar: HsBinds.s6CV{-r3qc-}

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

make[2]: *** [hsSyn/HsDecls.o] Error 1