[GHC] #10601: GHC should be distributed with debug symbols
GHC
ghc-devs at haskell.org
Mon Sep 7 12:59:52 UTC 2015
#10601: GHC should be distributed with debug symbols
-------------------------------------+-------------------------------------
Reporter: bitonic | Owner:
Type: task | Status: new
Priority: normal | Milestone:
Component: Build System | Version:
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by thomie):
This requires a little more work than just adding `GhcRtsHcOpts += -g` and
`GhcLibHcOpts += -g` to `mk/config.mk.in`.
What is also needed is to no strip debug symbols from the libraries when
running 'make install', but to only do that when running 'make install-
strip'.
Currently, ghc-cabal tells Cabal to strip the libraries on installation
(with `--strip-unneeded`), unless `STRIP_CMD = :`.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10601#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list