logo       

RE: Package with no dependencies causes GHC to mislay standard prelude: msg#00000

lang.haskell.glasgow.bugs

Subject: RE: Package with no dependencies causes GHC to mislay standard prelude


> Unpacking the attached bundle and running the following with
> ghc=GHC6.2
> (Linux, compiled from the ghc-6.2 tag), produces the following:
>
> # cd packagesbug
> /home/ger/test/packagesbug
> # CompileBug
> /home/ger/test/packagesbug/package1
> Chasing modules from: CompileFlags.hs
> Compiling CompileFlags ( CompileFlags.hs, CompileFlags.o )
> Reading package info from stdin... done.
> Expanding embedded variables... done.
> building GHCi library
> `/home/ger/test/packagesbug/package1/package1.o'... done.
> Saving old package config file... done.
> Writing new package config file... done.
> Chasing modules from: UseCompileFlags.hs
> Compiling UseCompileFlags ( UseCompileFlags.hs, UseCompileFlags.o )
> /home/ger/test/packagesbug/package1/package1.o: unknown
> symbol `__stginit_Prelude_'
> Loading package package1 ... linking ... ghc-6.2: panic! (the
> `impossible' happened, GHC version 6.2):
> can't load package `package1'

The package is missing a dependency on 'base', and possibly other
things. I don't see a bug - unless you're complaining about the error
message (quite reasonable).

Cheers,
Simon


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

News | FAQ | advertise