[GHC] #8420: Spurious dynamic library dependencies
GHC
ghc-devs at haskell.org
Tue Feb 11 09:15:42 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 nomeata):
I also noticed the problem; we’d like to generate our Debian package
dependencies based on what files are linked, but currently that is an
over-approximation. I.e. lots of stuff links to libgmp.
I believe Ubuntu and OpenSUSE patch their build to use `-Wl,--as-needed`,
but I refrained from it, to prevent unnecessary divergence. But I would
very much welcome if GHC would build with `-as-needed`, preferably already
in GHc-7.8 (as now we build `libHS*.so` files by default for all
packages).
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8420#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list