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

GHC ghc-devs at haskell.org
Tue Oct 24 21:24:44 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:  patch
        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:D4123
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by dfeuer):

 elaforge, so you want GHCi to load everything with the optimization level
 you specify? The downside I see is that if you have a bunch of object code
 (for dependencies) but you want to be able to set breakpoints and such in
 the specific module you're working on right now, you're stuck; you'll have
 to load everything to get that module in interpreted mode. Or do you want
 to load the modules you list on the command line in interpreted mode and
 load object code for the dependencies? Or something else? I'm not sure
 exactly what else you want.

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


More information about the ghc-tickets mailing list