[GHC] #13828: Re-linking is not avoided when -dynamic is used

GHC ghc-devs at haskell.org
Thu Jun 15 00:20:59 UTC 2017


#13828: Re-linking is not avoided when -dynamic is used
-------------------------------------+-------------------------------------
           Reporter:  nh2            |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  8.0.2
  (Linking)                          |
           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:
-------------------------------------+-------------------------------------
 In normal builds, GHC will no re-link executables when that's not necesary
 (e.g. when no code has changed).

 But when `-dynamic` is used, it re-links every time.

 Minimal example for reproduction: https://github.com/nh2/cabal-relink-test

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


More information about the ghc-tickets mailing list