[GHC] #9498: GHC links against unversioned .so files
GHC
ghc-devs at haskell.org
Thu Jan 14 18:26:13 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 trommler):
Replying to [comment:23 simonmar]:
>
> 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.
Is the C library going to be a static (archive) or da dynamic (shared
object) library?
If it is the latter then I think it would still work with comment:16 and
if we pass a linker flag (something along the lines of copy all DT_NEEDED
tags for C libraries from the dummy SO into the executable) the
performance impact would be small.
But in the completely static case you are right, the dev dependency is
always required.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9498#comment:24>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list