`panic' with packages
Simon Peyton-Jones
simonpj at microsoft.com
Thu May 27 05:43:00 EDT 2004
| > 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 at haskell.org, 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
More information about the Glasgow-haskell-bugs
mailing list