
#4210: LLVM: Dynamic Library Support -------------------------------------+------------------------------------ Reporter: dterei | Owner: dterei Type: feature request | Status: closed Priority: low | Milestone: 7.6.2 Component: Compiler (LLVM) | Version: 6.13 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: Runtime crash | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by simonmar): Yes, `R_COPY` relocations and tables-next-to-code don't work well together, so I believe we do some trickery on other platforms to avoid the linker from generating them. take a look at `compiler/nativeGen/PIC.hs` and search for "copy". -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/4210#comment:32 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler