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

George Russell ger at tzi.de
Wed Oct 17 11:41:22 EDT 2001


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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SimpleForm.hs
Type: application/octet-stream
Size: 9994 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/glasgow-haskell-bugs/attachments/20011017/96f63de2/SimpleForm.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SimpleForm.hi
Type: application/octet-stream
Size: 6866 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/glasgow-haskell-bugs/attachments/20011017/96f63de2/SimpleForm-0001.obj


More information about the Glasgow-haskell-bugs mailing list