ghci failed to load static archive

Andrew Pimlott andrew at pimlott.net
Thu Aug 28 22:00:48 EDT 2003


I'm sure this is pilot error, but I'm reporting it like the message
says.  I was trying to figure out how to get the fudgets library
loaded into ghci.  (I still haven't succeeded, in case you have any
tips.  Fudgets programs work fine when compiled with ghcxmake.)

    % ghci -fglasgow-exts /home/pimlott/local/fudgets/lib/GhcFudgets/libFudgets*
       ___         ___ _
      / _ \ /\  /\/ __(_)
     / /_\// /_/ / /  | |      GHC Interactive, version 6.0.1, for Haskell 98.
    / /_\\/ __  / /___| |      http://www.haskell.org/ghc/
    \____/\/ /_/\____/|_|      Type :? for help.

    Loading package base ... linking ... done.
    Loading object (static) /home/pimlott/local/fudgets/lib/GhcFudgets/libFudgetsXlib.a ... /home/pimlott/local/fudgets/lib/GhcFudgets/libFudgetsXlib.a: not an ELF object
    ghc-6.0.1: panic! (the `impossible' happened, GHC version 6.0.1):
            loadObj: failed

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

Andrew



More information about the Glasgow-haskell-bugs mailing list