[GHC] #3550: Dynamic libraries don't work on Mac OS/X
GHC
trac at galois.com
Mon Sep 28 17:38:12 EDT 2009
#3550: Dynamic libraries don't work on Mac OS/X
------------------------------+---------------------------------------------
Reporter: StephenBlackheath | Owner: StephenBlackheath
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.11 | Severity: major
Keywords: dynamic mac osx | Testcase: http://upcycle.it/~blackh/ghc/test-case.tar.bz2
Os: MacOS X | Architecture: Unknown/Multiple
------------------------------+---------------------------------------------
GHC doesn't build properly on Mac OS/X when dynamic library support is
enabled. And, when GHC is successfully built with dynamic library support
(with tweaks), it doesn't build or link dynamic libraries properly.
I've provided a set of patches, broken up with explanations. We need to
discuss whether adding an -install-name option to GHC is acceptable to the
GHC team.
Note: A separate patch for Cabal uses the new -install-name option.
Without this applying this in the ghc tree, the Cabal installed along with
ghc will not generate shared libraries on Mac OS/X with the right install
name.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3550>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list