#884: panic "initC: srt" strikes again
-------------------------+--------------------------------------------------
Reporter: ekarttun | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.5
Severity: normal | Keywords:
Os: Linux | Difficulty: Unknown
Architecture: x86 |
-------------------------+--------------------------------------------------
Trying to build jhc fails with the RC-version of GHC 6.6 (20060831).
Note the patch to plain jhc to get the API differences into jhc.
-dcore-info seems to catch the error:
http://www.cs.helsinki.fi/u/ekarttun/haskell/jhc-ghc6.5.dcore-info.txt
Here is how to reproduce:
(This needs DrIFT and Happy installed)
{{{
darcs get --partial http://repetae.net/john/repos/jhc
cd jhc
darcs get http://repetae.net/john/repos/Boolean
darcs get http://repetae.net/john/repos/Doc
wget http://www.cs.helsinki.fi/u/ekarttun/haskell/jhc-ghc6.5.patch
darcs apply jhc-ghc6.5.patch
make
# lots of boring information, and then:
...
[122 of 156] Compiling DataConstructors ( DataConstructors.hs,
DataConstructors.o )
DataConstructors.hs:63:0:
Warning: Pattern match(es) are non-exhaustive
In the definition of `tipe'': Patterns not matched: TMetaVar
_
DataConstructors.hs:419:18:
Warning: Pattern match(es) are non-exhaustive
In a case alternative: Patterns not matched: Nothing
ghc-6.5.20060831: panic! (the 'impossible' happened)
(GHC version 6.5.20060831 for i386-unknown-linux):
initC: srt
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
make: *** [jhc] Error 1
# Some system information:
[EMAIL PROTECTED]:/tmp/ekarttun/jhc $ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.5.20060831
[EMAIL PROTECTED]:/tmp/ekarttun/jhc $ uname -a
Linux melkki 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686
i686 i386 GNU/Linux
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/884>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs