HPC is broken (relocation R_386_GOTOFF against undefined symbol can not be used when making a shared object)
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
Trac metadata
Trac field | Value |
---|---|
Version | 7.8.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |