[GHC] #9498: GHC links against unversioned .so files

GHC ghc-devs at haskell.org
Thu Jan 14 17:29:50 UTC 2016


#9498: GHC links against unversioned .so files
-------------------------------------+-------------------------------------
        Reporter:  Kritzefitz        |                Owner:
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.6.3
  (Linking)                          |
      Resolution:                    |             Keywords:  Debian
Operating System:  Linux             |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Other             |            Test Case:
      Blocked By:  10458             |             Blocking:  9237
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonmar):

 > No, if we implemented my proposal in comment:16 we would not need the
 dependency on C library -dev packages anymore. The -dev package would only
 be a build requirement.

 I think maybe we're talking about different things, let me try to clarify.

 * If you install a Haskell package to be used with GHC, you still need the
 `-dev` version of any C library dependencies.  That's independent of your
 proposal in comment:16, because we need the -dev libraries when building
 standalone executables.
 * If you install a package because it is a runtime dependency of an
 executable or another library, then you don't need the -dev version of C
 dependencies.  So you could, if you wanted, split compiled Haskell
 packages into dev and non-dev distributions.
 * The case you seem to be referring to is somewhere between these two,
 where you're only using a package in GHCi, or only via the GHC API.  In
 those cases you could avoid needing the `-dev` dependency, but I'm not
 sure how you would distinguish this kind of dependency.  How can you tell
 that the user isn't going to try to use GHC?

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


More information about the ghc-tickets mailing list