[GHC] #8736: GHCi doesn't load .dyn_o files appropriately
GHC
ghc-devs at haskell.org
Fri Nov 20 22:02:15 UTC 2015
#8736: GHCi doesn't load .dyn_o files appropriately
-------------------------------------+-------------------------------------
Reporter: thoughtpolice | Owner: thoughtpolice
Type: bug | Status: new
Priority: high | Milestone: 8.0.1
Component: GHCi | Version: 7.8.1-rc2
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: #9282 | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by duncan):
I should point out (as in my dupe ticket #11118) that this causes `cabal
repl` to never be able to load .o files for modules previously compiled,
and that there is no sensible workaround that `cabal` can use. The only
way to make it work, afaics, is to call ghc to build things twice, once
for `-static` and once for `-dynamic` outputs. We don't want to do this
since it'll almost double compile times compared to using `-dynamic-too`.
So this is perhaps more important than spj realised (in #comment:4).
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8736#comment:18>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list