[GHC] #13049: Make `-dead_strip` the default on Darwin
#13049: Make `-dead_strip` the default on Darwin -------------------------------------+------------------------------------- Reporter: dobenour | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- We should make `-dead_strip` the default on Darwin. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13049> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#13049: Make `-dead_strip` the default on Darwin -------------------------------------+------------------------------------- Reporter: dobenour | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by olsner): Dead-code stripping on Mac probably also depends on #11040. Both split- objs and split-sections split SRT tables (and that did quite a bit to get rid of references to dead code), but IIRC the `-dead_strip` support is not doing that. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13049#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#13049: Make `-dead_strip` the default on Darwin -------------------------------------+------------------------------------- Reporter: dobenour | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2911 Wiki Page: | -------------------------------------+------------------------------------- Changes (by dobenour): * differential: => Phab:D2911 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13049#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#13049: Make `-dead_strip` the default on Darwin -------------------------------------+------------------------------------- Reporter: dobenour | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2911 Wiki Page: | -------------------------------------+------------------------------------- Comment (by Ben Gamari <ben@…>): In [changeset:"0a6c257de5c217436ec61fdf4b06bca059181f83/ghc" 0a6c257d/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="0a6c257de5c217436ec61fdf4b06bca059181f83" -dead_strip is now the default on Darwin This enables subsections-via-symbols (-dead_strip) by default on Darwin. The Static Reference Table (SRT) needs to be split in order for -dead_strip to be helpful, so this commit always splits it on Darwin systems. Test Plan: GHC CI on Darwin Reviewers: erikd, austin, bgamari Reviewed By: erikd, bgamari Subscribers: erikd, thomie Differential Revision: https://phabricator.haskell.org/D2911 GHC Trac Issues: #11040, #13049 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13049#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#13049: Make `-dead_strip` the default on Darwin -------------------------------------+------------------------------------- Reporter: dobenour | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2911 Wiki Page: | -------------------------------------+------------------------------------- Comment (by Ben Gamari <ben@…>): In [changeset:"58e68b37e74fd226ef6be1d59785cb899e01dbd5/ghc" 58e68b3/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="58e68b37e74fd226ef6be1d59785cb899e01dbd5" Enable subsections via symbols on iOS Test Plan: GHC CI Reviewers: austin, bgamari Reviewed By: bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2915 GHC Trac Issues: #11040, #13049 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13049#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#13049: Make `-dead_strip` the default on Darwin -------------------------------------+------------------------------------- Reporter: dobenour | Owner: Type: bug | Status: closed Priority: normal | Milestone: 8.2.1 Component: Compiler | Version: 8.0.1 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2911 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => closed * resolution: => fixed * milestone: => 8.2.1 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13049#comment:5> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC