[GHC] #9265: Extend PackageId to include version dependency information

GHC ghc-devs at haskell.org
Thu Jul 10 15:45:48 UTC 2014


#9265: Extend PackageId to include version dependency information
-------------------------------------+------------------------------------
        Reporter:  ezyang            |            Owner:  ezyang
            Type:  feature request   |           Status:  new
        Priority:  high              |        Milestone:
       Component:  Package system    |          Version:  7.9
      Resolution:                    |         Keywords:  backpack
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------

Comment (by rwbarton):

 What about packages that include "cbits" where the calling convention (or
 just semantics) of the C function changes from one version to the next?
 Won't the linker complain or, worse, just pick one? I guess with dynamic
 linking it might work.

 Admittedly, it could already happen that two unrelated packages use
 clashing names for their incompatible "cbits" C functions, but it seems
 rather more likely to occur between one version of a package and the next.

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


More information about the ghc-tickets mailing list