#4106: undefined reference to `__stg_EAGER_BLACKHOLE_INFO' ------------------------+--------------------------------------------------- Reporter: Mikolaj | Owner: Type: bug | Status: new Priority: normal | Component: Compiler Version: 6.12.1 | Keywords: Os: Linux | Testcase: Architecture: powerpc | Failure: Other ------------------------+--------------------------------------------------- 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. -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4106> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs