RE: ghc5.02 can't read its own interface file.
The attached interface file SimpleForm.hi provokes the following error from ghc5.02: 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 ' Fixed; thanks. Simon ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
RE: ghc5.02 can't read its own interface file.
| 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 ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
ghc5.02 can't read its own interface file.
The attached interface file SimpleForm.hi provokes the following error from ghc5.02: 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 ' when read in later, although it is generated by ghc5.02 itself from the attached file SimpleForm.hs with command line /usr/local/pub-bkb/ghc/ghc-latest/bin/ghc -c toolkit/SimpleForm.hs -package concurrent -package data -package net -package posix -package text -package util -package lang -i.:packer:resources:canvasitems:kernel:containers:menuitems:toolkit:components:toplevel:widgets:devices:textitems:tix:/home/ger/uni/util:/home/ger/uni/events:/home/ger/uni/reactor:/home/ger/uni/server:/home/ger/uni/htk:/home/ger/uni/davinci:/home/ger/uni/graphs:/home/ger/uni/tools:/home/ger/uni/cvs:/home/ger/uni/types -fglasgow-exts -fallow-overlapping-instances -fallow-undecidable-instances -cpp -ddump-hi-diffs -H25M -recomp -fwarn-deprecations -Onot -DDEBUG -Onot -H30M -fasm 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? SimpleForm.hs Description: Binary data SimpleForm.hi Description: Binary data