[GHC] #10966: dirtiness checking isn't keeping track of which source file contained Main

GHC ghc-devs at haskell.org
Fri Oct 16 07:56:37 UTC 2015


#10966: dirtiness checking isn't keeping track of which source file contained Main
-------------------------------------+-------------------------------------
        Reporter:  gueux             |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Driver            |              Version:  7.10.2
      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 thomie):

 In `compiler/main/DriverPipeline.hs`:
 {{{
 linkingNeeded :: DynFlags -> Bool -> [Linkable] -> [UnitId] -> IO Bool
 linkingNeeded dflags staticLink linkables pkg_deps = do
          -- if the modification time on the executable is later than the
          -- modification times on all of the objects and libraries, then
 omit
          -- linking (unless the -fforce-recomp flag was given).
 ...
 }}}

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


More information about the ghc-tickets mailing list