Skip to content

ghc panic when compiling with -fPIC

ghc panic on compiling such a simple programme: -- begin module FPIC where foo = putStrLn "hello" -- end

error message: ghc -fPIC -c fPIC.hs ghc-6.6.1: panic! (the 'impossible' happened)

(GHC version 6.6.1 for x86_64-unknown-linux):

initializePicBase

Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug

Trac metadata
Trac field Value
Version 6.6.1
Type Bug
TypeOfFailure OtherFailure
Priority highest
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information