[GHC] #4210: LLVM: Dynamic Library Support
GHC
cvs-ghc at haskell.org
Wed Mar 30 17:48:56 CEST 2011
#4210: LLVM: Dynamic Library Support
---------------------------------+------------------------------------------
Reporter: dterei | Owner: dterei
Type: feature request | Status: new
Priority: high | Milestone: 7.2.1
Component: Compiler (LLVM) | Version: 6.13
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: Runtime crash
---------------------------------+------------------------------------------
Changes (by simonmar):
* priority: normal => high
Comment:
It was pointed out to me today that 64 bit OSX has `-fPIC` turned on by
default, because that's what the platform ABI requires (quite sensibly),
but GHC disables `-fllvm` automatically as a result. Hence you can't use
`-fllvm` on 64-bit OSX at all.
I expect we're being too conservative here and it would be fine to enable
`-fllvm`. As I understand it, `-dynamic` is the real problem, not
`-fPIC`. David?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4210#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list