[GHC] #2197: GHCi doesn't work when built with way=p

GHC trac at galois.com
Fri Apr 11 12:26:28 EDT 2008


#2197: GHCi doesn't work when built with way=p
--------------------+-------------------------------------------------------
 Reporter:  SamB    |          Owner:  simonmar   
     Type:  bug     |         Status:  new        
 Priority:  low     |      Milestone:  6.10 branch
Component:  GHCi    |        Version:  6.9        
 Severity:  normal  |     Resolution:             
 Keywords:          |     Difficulty:  Unknown    
 Testcase:          |   Architecture:  Unknown    
       Os:  Linux   |  
--------------------+-------------------------------------------------------
Comment (by simonmar):

 Replying to [comment:3 SamB]:
 > Well, what about using -fobject-code then?

 Yes, that would make the problem smaller.  However you may have noticed
 that `-fobject-code` doesn't currently apply to expressions typed at the
 prompt, so that would need to change.  And you'd get no debugging support.
 And we'd need to modify Cabal to generate profiled GHCi libraries, as you
 pointed out earlier (and modify GHCi to load the profiled versions).

 So it's possible, but not the work of an afternoon.

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


More information about the Glasgow-haskell-bugs mailing list