[GHC] #4210: LLVM: Dynamic Library Support

GHC ghc-devs at haskell.org
Mon Jan 20 20:21:59 UTC 2014


#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


More information about the ghc-tickets mailing list