[GHC] #9762: #8696 + #9012

GHC ghc-devs at haskell.org
Mon Nov 3 16:45:59 UTC 2014


#9762: #8696 + #9012
-------------------------------------+-------------------------------------
       Reporter:  rwbarton           |                   Owner:
           Type:  bug                |                  Status:  new
       Priority:  normal             |               Milestone:
      Component:  Compiler           |                 Version:  7.8.3
       Keywords:                     |        Operating System:
   Architecture:  Unknown/Multiple   |  Unknown/Multiple
     Difficulty:  Unknown            |         Type of failure:
     Blocked By:                     |  None/Unknown
Related Tickets:                     |               Test Case:
                                     |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------
 As of the patch for #9012, we create a static reference to an HPC ticks
 label if and only if it is in the same package, which is correct for
 building normally, but not for building libraries that are to be loaded
 piecemeal by GHCi/TH (as was the issue in #8696).

 See http://lpaste.net/113689 for an example error.

 I also wonder whether the other cases of `CLabel.labelDynamic` that check
 for "same package" could result in similar issues.

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


More information about the ghc-tickets mailing list