7.8 Release Update
marlowsd at gmail.com
Tue Sep 10 07:50:57 CEST 2013
Template Haskell *does* work with profiling, you just have to compile the
code without profiling first (Cabal knows how to do this and does it
The big obstacles to loading profiled code into ghci are (a) lack of
support in the byte code compiler and interpreter and (b) ghci itself would
need to be a profiled executable.
On 9 Sep 2013 22:21, "Edward Z. Yang" <ezyang at mit.edu> wrote:
> Hello Mikhail,
> It is a known issue that Template Haskell does not work with profiling
> GHCi and profiling do not work together, and TH uses GHCi's linker). 
> with the new linker patches that are landing soon we are not too far off
> having this work.
>  http://ghc.haskell.org/trac/ghc/ticket/4837
> Excerpts from Mikhail Glushenkov's message of Mon Sep 09 14:15:54 -0700
> > Hi,
> > On Mon, Sep 9, 2013 at 10:11 PM, Simon Marlow <marlowsd at gmail.com>
> > >
> > > I think Kazu is saying that when he builds something with profiling
> > > cabal-install, it fails because cabal-install tries to build a dynamic
> > > version too. We don't want dyanmic/profiled libraries (there's no
> > > you can't load them into GHCi). Perhaps this is something that needs
> > > in cabal-install?
> > Aren't they needed when compiling libraries that are using Template
> > Haskell for profiling? The issue sounds like it could be TH-related.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Glasgow-haskell-users