[GHC] #9012: HPC is broken (relocation R_386_GOTOFF against undefined symbol can not be used when making a shared object)

GHC ghc-devs at haskell.org
Tue Jul 1 13:20:35 UTC 2014


#9012: HPC is broken (relocation R_386_GOTOFF against undefined symbol can not be
used when making a shared object)
-------------------------------------+------------------------------------
        Reporter:  Feuerbach         |            Owner:
            Type:  bug               |           Status:  patch
        Priority:  high              |        Milestone:  7.8.4
       Component:  Compiler          |          Version:  7.8.2
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------

Comment (by Feuerbach):

 rwbarton: first off, thanks for working on this!

 To answer your question, the typical workflow is to build the package in
 hpc mode (`cabal install -j --enable-library-coverage myprogram`), then
 run `cabal test`. It should then run the tests and generate an hpc report
 somewhere under `dist/`

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


More information about the ghc-tickets mailing list