#5816: static linking silently fails in ghc
--------------------------+-------------------------------------------------
Reporter: carter | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.2.2 | Keywords: linking osx
Os: MacOS X | Architecture: x86_64 (amd64)
Failure: None/Unknown | Testcase:
Blockedby: | Blocking:
Related: |
--------------------------+-------------------------------------------------
On OS X, ghci uses dylib versions of C libraries when linking, and ghc
uses static versions of those libraries.
However, while ghci will give an (informative) error message when dynamic
linking fails, ghc gives no error message, and the resultant programs
crash in an uninformative way.
this lack of consistent error messages is also likely why GTK has been
difficult to install and get working on OS X in recent time, precisely
because of this issue, see discussion here
http://www.reddit.com/r/haskell/comments/or0ro/easy_steps_to_install_gtk_and_use_all_its/
of recent efforts in successfully installing gtk on mac
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5816>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs