[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
Sat Apr 19 09:59:47 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:  new
       Priority:  normal            |         Milestone:
      Component:  Compiler          |           Version:  7.8.2
       Keywords:                    |  Operating System:  Unknown/Multiple
   Architecture:  Unknown/Multiple  |   Type of failure:  None/Unknown
     Difficulty:  Unknown           |         Test Case:
     Blocked By:                    |          Blocking:
Related Tickets:                    |
------------------------------------+-------------------------------------
 This happens in a clean sandbox:

 {{{
 % cabal install -j --enable-library-coverage logict
 Resolving dependencies...
 Notice: installing into a sandbox located at
 /home/feuerbach/tmp/sandboxes/smallcheck-bug/.cabal-sandbox
 Configuring mtl-2.1.3.1...
 Building mtl-2.1.3.1...
 Installed mtl-2.1.3.1
 Configuring logict-0.6.0.2...
 Building logict-0.6.0.2...
 Failed to install logict-0.6.0.2
 Last 10 lines of the build log ( /home/feuerbach/tmp/sandboxes/smallcheck-
 bug/.cabal-sandbox/logs/logict-0.6.0.2.log ):
 Configuring logict-0.6.0.2...
 Building logict-0.6.0.2...
 Preprocessing library logict-0.6.0.2...
 [1 of 2] Compiling Control.Monad.Logic.Class (
 Control/Monad/Logic/Class.hs, dist/dist-sandbox-
 cdfcc6f0/build/Control/Monad/Logic/Class.o )
 [2 of 2] Compiling Control.Monad.Logic ( Control/Monad/Logic.hs, dist
 /dist-sandbox-cdfcc6f0/build/Control/Monad/Logic.o )
 /usr/bin/ld: dist/dist-sandbox-cdfcc6f0/build/Control/Monad/Logic.dyn_o:
 relocation R_386_GOTOFF against undefined symbol
 `_hpc_tickboxes_mtlzm2zi1zi3zi1_ControlziMonadziReaderziClass_hpc' can not
 be used when making a shared object
 /usr/bin/ld: final link failed: Bad value
 collect2: error: ld returned 1 exit status
 cabal: Error: some packages failed to install:
 logict-0.6.0.2 failed during the building phase. The exception was:
 ExitFailure 1
 }}}

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


More information about the ghc-tickets mailing list