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

GHC ghc-devs at haskell.org
Thu Jan 7 15:16: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):

 All this scares me a lot.  Why does the package database need to record
 the versioned .so dependency?  It is not required, either for linking
 against the dynamic library (because it is already recorded as a
 dependency in the .so) or against the static library (because we use
 -lfoo).

 We require the `-dev` versions of libraries for GHCi very deliberately,
 because GHCi is supposed to mimic the linking that would be done for a
 standalone executable.

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


More information about the ghc-tickets mailing list