Skip to content

undefined reference to `__stg_EAGER_BLACKHOLE_INFO'

That's probably powerpc (Linux) specific (I know, I know), but perhaps somebody has an easy fix... I guess it's a problem with GHC (6.12.1, recompiled from source, to be sure), not the 'parallel' library.

The bug is a failing test suite for http://hackage.haskell.org/package/parallel, versions from 1.1.0.1 to at least 2.2.0.1. Version 1.1.0.0 works fine and the culprit is the following clause in parallel.cabal:

if impl(ghc >= 6.11) {
    -- To improve parallel performance:
    ghc-options: -feager-blackholing
  }

Some relevant lines from the test output:

=====> conc057(threaded2)
cd . && '/home/mikolaj/Desktop/ghc6-6.12.1/inplace/bin/ghc-stage2' -fforce-recomp -dcore-lint -dcmm-lint -no-user-package-conf  -dno-debug-output -o conc057 conc057.hs -O -threaded -eventlog -O0 -package parallel  >conc057.comp.stderr 2>&1
Compile failed (status 256) errors were:
/usr/local/lib/parallel-2.2.0.1/ghc-6.12.1/libHSparallel-2.2.0.1.a(Strategies.o): In function `sXK_info':
(.text+0x56): undefined reference to `__stg_EAGER_BLACKHOLE_INFO'
/usr/local/lib/parallel-2.2.0.1/ghc-6.12.1/libHSparallel-2.2.0.1.a(Strategies.o): In function `sXK_info':
(.text+0x5a): undefined reference to `__stg_EAGER_BLACKHOLE_INFO'

I attach the full test output from version 2.2.0.1 of parallel and a similar compilation failure, when using parallel 1.1.0.1 in vty in LambdaHack.

Trac metadata
Trac field Value
Version 6.12.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information