[GHC] #4210: LLVM: Dynamic Library Support
GHC
ghc-devs at haskell.org
Fri Dec 27 20:40:25 UTC 2013
#4210: LLVM: Dynamic Library Support
-------------------------------------+------------------------------------
Reporter: dterei | Owner: dterei
Type: feature request | Status: patch
Priority: low | Milestone: 7.6.2
Component: Compiler (LLVM) | Version: 6.13
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: Runtime crash | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+------------------------------------
Changes (by bgamari):
* cc: bgamari@… (added)
* status: new => patch
Comment:
I just sent this [http://www.haskell.org/pipermail/ghc-
devs/2013-December/003531.html message] to the list characterizing the
behavior of the NCG and LLVM backends in handling dynamic references. In
short, the NCG and LLVM backends both handle intra-package references
efficiently. That is, the branch I cited in comment 24 shouldn't be
necessary.
In this case, all we need is the fixes in this
[https://github.com/bgamari/ghc/commits/llvm-dynamic branch] for
functional dynamic linking with the LLVM backend. This has been tested on
both x86_64 and ARM.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/4210#comment:25>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list