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