#2197: GHCi doesn't work when built with way=p
---------------------------------+------------------------------------------
Reporter: SamB | Owner: simonmar
Type: bug | Status: closed
Priority: low | Milestone: 6.12 branch
Component: GHCi | Version: 6.9
Severity: normal | Resolution: fixed
Keywords: | Difficulty: Unknown
Testcase: | Os: Linux
Architecture: Unknown/Multiple |
---------------------------------+------------------------------------------
Comment (by SamB):
Replying to [comment:13 simonmar]:
> Replying to [comment:12 SamB]:
> > Does this also work for Template Haskell? Even from Haddock?
>
> No, TH also doesn't work when GHC is built with -prof. I'll check what
happens and make it emit an error message.
Yeah, that's what I meant. Hmm. And aren't there probably some other way
to invoke the bytecode interpreter from the GHC API? It might be nice if
all such ways would give the same exception...
> > What if I *want* GHCi to support profiling?
>
> There's a fair bit of work to do, and it's not clear it's worth the
effort. The byte code compiler and interpreter have to be modified to
support the different closure representations and other conventions of the
profiling build.
Hmm. I was expecting something more along the lines of "so make another
ticket", which I've now done: see ticket #3360.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2197#comment:14>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs