[GHC] #9040: HPC doesnt work as expected on mac

GHC ghc-devs at haskell.org
Wed Dec 17 22:22:39 UTC 2014


#9040: HPC doesnt work as expected on mac
-------------------------------------+-------------------------------------
              Reporter:  carter      |            Owner:
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:
             Component:  Code        |          Version:  7.8.2
  Coverage                           |         Keywords:
            Resolution:              |     Architecture:  Unknown/Multiple
      Operating System:  MacOS X     |       Difficulty:  Unknown
       Type of failure:              |       Blocked By:
  None/Unknown                       |  Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by ttuegel):

 This turns out to be a bug in Cabal, so it should be closed. Cabal doesn't
 separate the HPC module interfaces for each build way. Carter has library
 profiling enabled, so the library is built twice and only the profiled
 module interfaces are kept. But, the test executable is compiled with
 profiling disabled, so the module interface hashes don't match! See
 [https://github.com/haskell/cabal/issues/2281].

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


More information about the ghc-tickets mailing list