[GHC] #7955: CApiFFI doesn't produce wrappers for #defined values in GHCi

#7955: CApiFFI doesn't produce wrappers for #defined values in GHCi -----------------------------+---------------------------------------------- Reporter: merijn | Owner: Type: bug | Status: new Priority: normal | Component: GHCi Version: 7.6.3 | Keywords: ghci, capi Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: GHCi crash | Blockedby: Blocking: | Related: -----------------------------+---------------------------------------------- When using the FFI's capi calling convention to get access to #defined constants ghci produces the following error: ByteCodeLink: can't find label During interactive linking, GHCi couldn't find the following symbol: ghc_wrapper_<mangled string>_<symbol name> Compiling via the commandline works just fine. Attached is a minimal test case. "ghc minimal.hs" produces a working binary, but "ghci minimal.hs" produces the above error. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7955 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC