[GHC] #8420: Spurious dynamic library dependencies

GHC ghc-devs at haskell.org
Tue Feb 11 09:39:03 UTC 2014


#8420: Spurious dynamic library dependencies
-----------------------------------+------------------------------------
        Reporter:  AndreasVoellmy  |            Owner:
            Type:  bug             |           Status:  new
        Priority:  normal          |        Milestone:
       Component:  Compiler        |          Version:  7.6.3
      Resolution:                  |         Keywords:
Operating System:  MacOS X         |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown    |       Difficulty:  Unknown
       Test Case:                  |       Blocked By:
        Blocking:                  |  Related Tickets:
-----------------------------------+------------------------------------

Comment (by darchon):

 It would be my guess this has something to do that the original pipeline
 was build with static linking in mind.
 In which case you would need the transitive closure of the libraries you
 depend on?

 Looking at `linkBinary'` in `compiler/main/DriverPipeline.hs`, I see that
 it just gets a list of `PackageId`'s that must be linked, for which, as
 far as I can see, there is no differentiation between dynamic linking and
 static linking.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8420#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list