[GHC] #13604: ghci no longer loads dynamic .o files by default if they were built with -O

GHC ghc-devs at haskell.org
Fri Oct 20 15:11:49 UTC 2017


#13604: ghci no longer loads dynamic .o files by default if they were built with -O
-------------------------------------+-------------------------------------
        Reporter:  George            |                Owner:  dfeuer
            Type:  bug               |               Status:  new
        Priority:  highest           |            Milestone:  8.2.2
       Component:  Compiler          |              Version:  8.2.1-rc1
      Resolution:                    |             Keywords:
                                     |  RecompilationCheck
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Runtime           |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D3514
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by dfeuer):

 One flag we should ideally treat specially (at some point) is `-fignore-
 interface-pragmas`. If the ''importing'' module uses that pragma, we can
 be much more aggressive about recompilation avoidance. In particular, if
 we don't already do this, we should really produce two interface hashes,
 one of which ignores interface pragmas. That way we won't recompile a
 module just because the pieces it's explicitly said it doesn't care about
 have changed.

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


More information about the ghc-tickets mailing list