Title: Message
OK, this is a bad feature of the new binary-interface story:
if there is an old Foo.hi file around with the wrong format, it
can crash the compiler.  We need to add a magic-number to
the front or something.
 
Meanwhile, delete all your .hi files you'll be fine.
 
Simon
-----Original Message-----
From: Mike Thomas [mailto:[EMAIL PROTECTED]]
Sent: 25 June 2002 17:08
To: [EMAIL PROTECTED]
Subject: Ix{Int}.index: Index (28671) out of range ((4,450))

FYI, On WinNT 2000 Mingw32, CVS HEAD build....
 
../../ghc/utils/ghc-pkg/ghc-pkg-inplace  -f ../../ghc/driver/package.conf --upda
te-package <base.conf.installed
Reading package info from stdin... done.
Expanding embedded variables...done.
warning: can't find GHCi lib `HSbase1.o'
warning: can't find GHCi lib `HSbase2.o'
warning: can't find GHCi lib `HSbase3.o'
Saving old package config file... done.
Writing new package config file... done.
../../ghc/compiler/ghc-inplace -lbfd -liberty -fglasgow-exts -cpp -Iinclude -Icb
its/regex -funbox-strict-fields -package-name base -dcore-lint -O -W -fno-warn-u
nused-matches -fwarn-unused-imports -keep-hc-files      -c GHC/Arr.lhs -o GHC/Ar
r.o
ghc.exe: panic! (the `impossible' happened, GHC version 5.03):
        Ix{Int}.index: Index (28671) out of range ((4,450))
 
Please report it as a compiler bug to [EMAIL PROTECTED],
or http://sourceforge.net/projects/ghc/.
 
make: *** [GHC/Arr.o] Error 1

Reply via email to