Static pointers in GHCi cause panic
I load this module into ghci
{-# LANGUAGE StaticPointers #-}
module Static where
import GHC.StaticPtr
f = deRefStaticPtr (static True)
and get a panic upon evaluating f
> f
ghc: panic! (the 'impossible' happened)
(GHC version 7.9.20141210 for x86_64-unknown-linux):
Loading temp shared object failed: /tmp/ghc30486_0/ghc30486_5.so: undefined symbol: Static_sptEntryZC0_closure
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
Am I doing static pointers right?
Trac metadata
Trac field | Value |
---|---|
Version | 7.9 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | Unknown/Multiple |
Architecture |