A bug in GHC 6.0 (unbelieveable, I know ...)

Julian Seward jseward at arm.com
Wed Sep 3 11:34:57 EDT 2003


jseward at pc998:~/SCG/scg$ ghci
   ___         ___ _
  / _ \ /\  /\/ __(_)
 / /_\// /_/ / /  | |      GHC Interactive, version 6.0, for Haskell 98.
/ /_\\/ __  / /___| |      http://www.haskell.org/ghc/
\____/\/ /_/\____/|_|      Type :? for help.

Loading package base ... linking ... done.
Prelude>
Prelude> let sieve (x:xs) = x : filter ((/= 0).(`mod` x)) (sieve xs) in sieve 
[2 ..]
ghc-6.0: panic! (the `impossible' happened, GHC version 6.0):
        getLinkDeps No iface for [<pkg>]GHCziErr

Please report it as a compiler bug to glasgow-haskell-bugs at haskell.org,
or http://sourceforge.net/projects/ghc/.


Prelude>

Even stranger considering 6.0 is otherwise rock-solid and successfully
runs 30000+ loc programs on the interpreter with no problems.  This is
the .tar.bz2 binary build for x86-linux, running on R H 7.3.

J




More information about the Glasgow-haskell-bugs mailing list