logo       

RE: `panic' with packages: msg#00081

lang.haskell.glasgow.bugs

Subject: RE: `panic' with packages

On 26 May 2004 06:58, Serge D. Mechveliani wrote:

> Dear GHC team,
>
> In my previous letter I wrote about a bug-like message in
> cvs ghc-6-2-branch of May 24
>
> (the fragments of this letter are appended).
>
> And in this situation GHC also responds badly if the user forgets
> to include a package.
>
> > cd foo
> foo> ghci $pcpfoo $pcpdocon
>
> performs correct.
>
> And if the user forgets to include the package docon, then it
> happens
> foo> ghci $pcpfoo
>
> Loading package foo ... linking ...
> /home/mechvel/t/u/lib/HSfoo.o: unknown symbol `__stginit_Prelude_'
> ghc-6.2.1: panic! (the `impossible' happened, GHC version 6.2.1):
> can't load package `foo'
> Please report it as a compiler bug to
> glasgow-haskell-bugs@xxxxxxxxxxx, or
> http://sourceforge.net/projects/ghc/.

It looks like your packages are missing some dependencies. Most
packages should depend on at least 'base', unless they depend on it
indirectly. Perhaps your 'foo' package should have a dependency on
'docon'?

Cheers,
Simon


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

News | FAQ | advertise