#4036: Compiled FFI static imports are invalid when imported in GHCI
------------------------------------------+---------------------------------
  Reporter:  jmillikin                    |          Owner:                
      Type:  bug                          |         Status:  closed        
  Priority:  normal                       |      Milestone:                
 Component:  Compiler (FFI)               |        Version:  6.12.1        
Resolution:  duplicate                    |       Keywords:                
Difficulty:                               |             Os:  Linux         
  Testcase:                               |   Architecture:  x86_64 (amd64)
   Failure:  Incorrect result at runtime  |  
------------------------------------------+---------------------------------
Changes (by simonmar):

  * status:  new => closed
  * resolution:  => duplicate


Comment:

 Thanks for the report; this is a known bug (#781) that is hard to fix.
 You can compile your code with `-fPIC` to work around it.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4036#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to