Package with no dependencies causes GHC to mislay standard prelude

George Russell ger at informatik.uni-bremen.de
Fri Feb 27 07:33:36 EST 2004


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'

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: packagesbug.tar.bz2
Type: application/x-bzip2
Size: 849 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/glasgow-haskell-bugs/attachments/20040227/94ae5548/packagesbug.tar.bin


More information about the Glasgow-haskell-bugs mailing list