panic in ghc5.02.3

Simon Marlow simonmar at microsoft.com
Wed Apr 10 12:45:56 EDT 2002


> [Everything on Linux-x86]
> 
> Maybe you're heading in the wrong direction:
> 
> stolz at kastor:~/test/resources > $HC5 --make -fglasgow-exts *.hs
> ghc-5.03: chasing modules from: Colour.hs,GUIValue.hs
> Compiling GUIValue         ( GUIValue.hs, ./GUIValue.o )
> Compiling Colour           ( Colour.hs, ./Colour.o )
> 
> Let's see:
> 
> stolz at kastor:~/test/resources > $HC --make -fglasgow-exts *.hs
> ghc-5.02.2: chasing modules from: Colour.hs,GUIValue.hs
> lexer: misplaced NUL?
> Compiling GUIValue         ( GUIValue.hs, ./GUIValue.o )
> lexer: misplaced NUL?
> Compiling Colour           ( Colour.hs, ./Colour.o )
> 
> Huh? NUL?

That's caused by trying to use interface files from GHC 5.03+ with GHC
5.02.  The newer interface files are in a binary format which will
confuse older versions of GHC.

Cheers,
	Simon



More information about the Glasgow-haskell-bugs mailing list