logo       

ghc-6.2.1: panic! (the `impossible' happened, GHC version 6.2.1): msg#00066

lang.haskell.glasgow.bugs

Subject: ghc-6.2.1: panic! (the `impossible' happened, GHC version 6.2.1)

[dom@tility Test]$ ghci
___ ___ _
/ _ \ /\ /\/ __(_)
/ /_\// /_/ / / | | GHC Interactive, version 6.2.1, for Haskell 98.
/ /_\\/ __ / /___| | http://www.haskell.org/ghc/
\____/\/ /_/\____/|_| Type :? for help.

Loading package base ... linking ... done.
Prelude> :set -package crypto
Loading package lang ... linking ... done.
Loading package parsec ... linking ... done.
Loading package text ... linking ... done.
Loading package crypto ... linking ... /usr/local/lib/HScrypto.o: unknown
symbol `__stginit_Word_'
ghc-6.2.1: panic! (the `impossible' happened, GHC version 6.2.1):
can't load package `crypto'

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

The problem is cured if I put "data" rather than "text" as a dependency in
package.conf

[dom@tility crypto]$ more package.conf
Package
{name = "crypto",
import_dirs = ["/usr/local/lib/imports/HScrypto"],
source_dirs = [],
library_dirs = ["/usr/local/lib"],
hs_libraries = ["HScrypto"],
extra_libraries = [],
include_dirs = [],
c_includes = [],
package_deps = ["data"],
extra_ghc_opts = [],
extra_cc_opts = [],
extra_ld_opts = [],
framework_dirs = [],
extra_frameworks = []}


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

News | FAQ | advertise