[GHC] #10161: GHC does not relink if we link against a new library with old timestamp

GHC ghc-devs at haskell.org
Sat Sep 3 05:31:43 UTC 2016


#10161: GHC does not relink if we link against a new library with old timestamp
-------------------------------------+-------------------------------------
        Reporter:  nh2               |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Driver            |              Version:  7.8.4
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #10966            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by ezyang):

 I think thomie is right and the base problem is the same: the way we
 decide to relink is if any of the inputs to the linker are newer than the
 executable. In the provided test case, both libraries are built before the
 initial link, so there's nothing newer. A workaround is to touch the
 library after you do an operation like this.

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


More information about the ghc-tickets mailing list