
#4210: LLVM: Dynamic Library Support ---------------------------------+------------------------------------------ Reporter: dterei | Owner: dterei Type: feature request | Status: new Priority: low | Milestone: 7.6.2 Component: Compiler (LLVM) | Version: 6.13 Keywords: | Os: Unknown/Multiple Architecture: Unknown/Multiple | Failure: Runtime crash Difficulty: | Testcase: Blockedby: | Blocking: Related: | ---------------------------------+------------------------------------------ Comment(by dterei): Simon Marlow said in an email: {{{ Also I believe even if it works, the code that LLVM generates for -dynamic is not very good. This is because it makes every symbol reference a dynamic reference, whereas the NCG only makes dynamic references for symbols in other packages. It ought to be possible to fix this by using the right symbol declarations (I'm guessing, I haven't looked into it). }}} I can't remember if this is correct or not but recording here to look into when I have time as part of dynamic support in LLVM. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/4210#comment:21 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler