Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
GHC
GHC
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,247
    • Issues 4,247
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 396
    • Merge Requests 396
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #5359

Closed
Open
Opened Jul 30, 2011 by Herbert Valerio Riedel@hvr🕺Maintainer

GHC 7.2.1-rc1 panics on `cgLookupPanic`

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
Trac metadata
Trac field Value
Version 7.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
Assignee
Assign to
7.2.1
Milestone
7.2.1
Assign milestone
Time tracking
None
Due date
None
Reference: ghc/ghc#5359