logo       

RE: `panic' with packages: msg#00084

lang.haskell.glasgow.bugs

Subject: RE: `panic' with packages


| > 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/.

Sergey's point was also that the error message misled him.
Perhaps we can expand the message to say

Can't load package 'foo'
If there are preceding 'unknown symbol' messages, perhaps
package foo lacks a dependency in its configuration file?

Maybe we can even distinguish the two cases of (a) HSfoo.o was not found
etc from (b) unresolved references. Then the error message could have
fewer
caveats "If there are... ".

Simon


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

News | FAQ | advertise