ghc5.02 can't read its own interface file.

Simon Peyton-Jones simonpj at microsoft.com
Thu Oct 18 03:58:49 EDT 2001


| MainsimpleFormEx.hs:6:
|     failed to load interface for `SimpleForm':
|         Bad interface file: /home/ger/uni/htk/toolkit/SimpleForm.hi
|             /home/ger/uni/htk/toolkit/SimpleForm.hi:155 
| Interface file parse error; on input ` label '
| 
| What is going on?  I can send the complete .hi files for this 
| project, but I'm not doing so here as it would bust 
| haskell.org's 40k limit so delaying this extremely irritating 
| bug from being reported and hopefully fixed.  Is there a workaround?

There's an easy workaround: avoid type variable names like 
'label' and other things that are sometimes keywords (e.g. with
-fglasgow-exts)

But your are right that it's a bug and we will fix it asap.
It's a pain that GHC has to deal with so many variations of itself!

Thanks for reporting it.

Simon




More information about the Glasgow-haskell-bugs mailing list