Skip to content

panic! (impossible happened) 5.0.2/RH6.2

Recipe to replicate:

0. Install ghc-5.00.2 binary RPM on Red Hat Linux 6.2.

1. Download and untar the raytracer that Galois 
Connections submitted to last year's ICFP programming 
contest.  
http://www.galoisconnections.com/icfp00/raytracer.tar.g
z

2. Edit CSG/Makefile, adding "lang" to the line 
reading "HC_PKG = " so that it reads "HC_PKG = lang".

3. At the project's root directory, "make".

4. Error occurs while compiling Parse.hs:

ghc-5.00.2: panic! (the `impossible' happened, GHC 
version 5.00.2):
    mk_ww_str: not a product ParsecError.SourceName{-
r1d5-}

Trac metadata
Trac field Value
Version 5.0
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedWon'tFix
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information