
#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 rwbarton): Replying to [comment:16 Feuerbach]:
OTOH, I thought I had used HPC successfully with 7.6.3, so I was surprised when I got this error.
Is it possible that you just weren't building dynamic libraries then, only static libraries, as it was the default for Cabal at the time? After all, the test executable is linked statically by default anyways so for the purpose of testing building the dynamic libraries is just unnecessary extra work. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9012#comment:17 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler