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

Dominic Steinitz dominic.steinitz at blueyonder.co.uk
Sun Sep 19 08:09:37 EDT 2004


[dom at 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 at haskell.org,
or http://sourceforge.net/projects/ghc/.

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

[dom at 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 = []}




More information about the Glasgow-haskell-bugs mailing list