[GHC] #9875: ld -l:filename.dylib does not appear to be portable
GHC
ghc-devs at haskell.org
Mon Dec 29 16:32:16 UTC 2014
#9875: ld -l:filename.dylib does not appear to be portable
-------------------------------+-------------------------------------------
Reporter: ezyang | Owner:
Type: bug | Status: patch
Priority: high | Milestone: 7.10.1
Component: GHCi | Version: 7.9
Resolution: | Keywords:
Operating System: MacOS X | Architecture: Unknown/Multiple
Type of failure: GHCi crash | Test Case: T2276_ghci
Blocked By: | Blocking: 9845
Related Tickets: | Differential Revisions: Phab:D579
-------------------------------+-------------------------------------------
Comment (by Edward Z. Yang <ezyang@…>):
In [changeset:"b32c22760687a6a1a2e88fdba8de32f6951b5029/ghc"]:
{{{
#!CommitTicketReference repository="ghc"
revision="b32c22760687a6a1a2e88fdba8de32f6951b5029"
Fix system linker on Mac OS X
Summary:
Flag `-l:` is GNU ld specific and not supported by the
Mac OS X link editor. So we create a temporary file name
lib<tmpname>.<so_ext> and link with the standard -l<tmpname>
option on Linux and OS X.
Fixes #9875
Test Plan: validate on Mac OS X
Reviewers: austin, hvr, ezyang
Reviewed By: ezyang
Subscribers: carter, thomie, ezyang
Differential Revision: https://phabricator.haskell.org/D579
GHC Trac Issues: #9875
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9875#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list