Changes between Version 18 and Version 19 of Building/Troubleshooting


Ignore:
Timestamp:
Jul 23, 2009 12:40:23 PM (6 years ago)
Author:
simonpj
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/Troubleshooting

    v18 v19  
    66 
    77We don't expect anyone to read this page from beginning to end.  The only way you get here is by searching, so remember when adding a new entry the most important thing to do is to '''include the error message verbatim''', so searches will find it.  If a build failure is caused by a bug in GHC or the build system, please link to the ticket number so we can tell when it's safe to remove the entry and keep this page from getting too crufty. 
     8 
     9=== chr: bad argument === 
     10 
     11Occasionally you see this: 
     12{{{ 
     13Compile failed (status 256) errors were: 
     14ghc-stage2.exe: panic! (the 'impossible' happened) 
     15  (GHC version 6.11.20090722 for i386-unknown-mingw32): 
     16        Prelude.chr: bad argument: 50331648 
     17}}} 
     18This is almost certainly because you have stale interface files (`Foo.hi`) lying around, and GHC's binary interface-file format has changed.  Try `make distclean` and rebuild.  If you still get it, use `find` to find `*.hi` and remove them. 
    819 
    920=== All binaries crash (Windows only) ===