Ticket #5359 (closed bug: fixed)
GHC 7.2.1-rc1 panics on `cgLookupPanic`
| Reported by: | hvr | Owned by: | simonpj |
|---|---|---|---|
| Priority: | highest | Milestone: | 7.2.1 |
| Component: | Compiler | Version: | 7.1 |
| Keywords: | Cc: | ||
| Operating System: | Linux | Architecture: | x86_64 (amd64) |
| Type of failure: | Compile-time crash | Difficulty: | |
| Test Case: | simplCore/should_compile/T5359a,b | Blocked By: | |
| Blocking: | Related Tickets: |
Description
Grabbed the ghc-7.2.0.20110728-x86_64-unknown-linux.tar.bz2 release, and as a first thing after install I tried to cabal install text, which paniced with the following output
...
Registering deepseq-1.1.0.2...
Configuring text-0.11.1.5...
Preprocessing library text-0.11.1.5...
Building text-0.11.1.5...
[ 1 of 38] Compiling Data.Text.Encoding.Utf32 ( Data/Text/Encoding/Utf32.hs, dist/build/Data/Text/Encoding/Utf32.o )
...
[23 of 38] Compiling Data.Text.Foreign ( Data/Text/Foreign.hs, dist/build/Data/Text/Foreign.o )
Data/Text/Foreign.hs:36:26:
Warning: In the use of `unsafeIOToST'
(imported from Control.Monad.ST):
Deprecated: "Please import from Control.Monad.ST.Unsafe instead; This will be removed in the next release"
[24 of 38] Compiling Data.Text ( Data/Text.hs, dist/build/Data/Text.o )
ghc: panic! (the 'impossible' happened)
(GHC version 7.2.0.20110728 for x86_64-unknown-linux):
cgLookupPanic (probably invalid Core; try -dcore-lint)
$w$j{v s1HTU} [lid]
static binds for:
local binds for:
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
cabal: Error: some packages failed to install:
text-0.11.1.5 failed during the building phase. The exception was:
ExitFailure 1
Change History
Note: See
TracTickets for help on using
tickets.
