#2987: panic when compiling again
---------------------+------------------------------------------------------
Reporter: dsrogers | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.10.1 | Severity: normal
Keywords: | Testcase:
Os: MacOS X | Architecture: x86
---------------------+------------------------------------------------------
haskelldb 0.10 doesn't build under ghc 6.10.1. I download it with:
{{{
cabal fetch
}}}
Then unpack it and use the attached modified .cabal file to enable a build
with:
{{{
cabal build
}}}
It should build. Do a
{{{
cabal install
}}}
It will then attempt to rebuild, but will fail with the error:
{{{
[18 of 25] Compiling Database.HaskellDB.Database (
src/Database/HaskellDB/Database.hs,
dist/build/Database/HaskellDB/Database.o )
ghc: panic! (the 'impossible' happened)
(GHC version 6.10.1 for i386-apple-darwin):
idInfo r{tv adJo} [tv]
}}}
However, if you clean and then install it will succeed
{{{
cabal clean
cabal install
}}}
ghc 6.10.1 doesn't like something about the intermediate files left over
from the cabal build step.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2987>
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