logo       

A bug in GHC 6.0 (unbelieveable, I know ...): msg#00012

lang.haskell.glasgow.bugs

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


jseward@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@xxxxxxxxxxx,
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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise