#1907: HPC and Template Haskell don't mix
----------------------+-----------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.8.1
Severity: normal | Keywords:
Testcase: | Architecture: Unknown
Os: Unknown |
----------------------+-----------------------------------------------------
When compiling code that uses Template Haskell with HPC, ghc fails part
way with
ghc:
_objs/Common/ArrayTH.hpc_o: unknown symbol `_hs_hpc_module'
I guess this is expected for the same reasons that HPC is known not to mix
with GHCi. However, I would have expected the same workaround as for
profiling to work, namely building the normal objects first and then
building with -fhpc -osuf hpc_o, and it doesn't.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1907>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs