Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 373947

Summary: dev-lang/ghc-6.12.3-r2: internal error: evacuate: strange closure type -981252095
Product: Gentoo Linux Reporter: Martin von Gagern <Martin.vGagern>
Component: [OLD] DevelopmentAssignee: Gentoo's Haskell Language team <haskell>
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: emerge --info
build log

Description Martin von Gagern 2011-07-03 20:40:54 UTC
Created attachment 278965 [details]
emerge --info

"/var/tmp/portage/dev-lang/ghc-6.12.3-r2/work/usr/bin/ghc"   -H32m -O -optc-marc
h=amdfam10 -opta-march=amdfam10 -w  -package-conf libraries/bootstrapping.conf  
-package-name ghc-6.12.3 -hide-all-packages -i -icompiler/nativeGen -icompiler/b
asicTypes -icompiler/cmm -icompiler/codeGen -icompiler/coreSyn -icompiler/cprAna
lysis -icompiler/deSugar -icompiler/ghci -icompiler/hsSyn -icompiler/iface -icom
piler/main -icompiler/parser -icompiler/prelude -icompiler/profiling -icompiler/
rename -icompiler/simplCore -icompiler/simplStg -icompiler/specialise -icompiler
/stgSyn -icompiler/stranal -icompiler/typecheck -icompiler/types -icompiler/util
s -icompiler/vectorise -icompiler/stage1/build -icompiler/stage1/build/autogen -Icompiler/stage1/build -Icompiler/stage1/build/autogen -Icompiler/stage1 -Icompiler/../libraries/base/cbits -Icompiler/../libraries/base/include -Icompiler/. -Icompiler/parser -Icompiler/utils    -optP-include -optPcompiler/stage1/build/autogen/cabal_macros.h -package Cabal- -package array- -package base- -package bin-package-db- -package bytestring- -package containers- -package directory- -package filepath- -package hpc- -package old-time- -package process- -package unix-  -DSTAGE=1 -Wall -fno-warn-name-shadowing -fno-warn-orphans -XCPP -XMagicHash -XUnboxedTuples -XPatternGuards -XForeignFunctionInterface -XEmptyDataDecls -XTypeSynonymInstances -XMultiParamTypeClasses -XFlexibleInstances -XRank2Types -XScopedTypeVariables -XDeriveDataTypeable -XRelaxedPolyRec     -odir compiler/stage1/build -hidir compiler/stage1/build -stubdir compiler/stage1/build -hisuf hi -osuf  o -hcsuf hc -c compiler/prelude/PrimOp.lhs -o compiler/stage1/build/PrimOp.o
ghc: internal error: evacuate: strange closure type -981252095
    (GHC version 6.12.3 for x86_64_unknown_linux)
    Please report this as a GHC bug:
make[1]: *** [compiler/stage1/build/PrimOp.o] Aborted
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2
emake failed
 * ERROR: dev-lang/ghc-6.12.3-r2 failed (compile phase):
 *   make failed
Comment 1 Martin von Gagern 2011-07-03 20:41:26 UTC
Created attachment 278969 [details]
build log
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2011-07-08 22:24:34 UTC
Oh, ghc looks completely screwed.

May I ask you to try ghc-6.12.3 to see if it fails?
And if it won't fail, will it fail if you set MAKEOPTS to -j1?
Comment 3 Martin von Gagern 2011-07-09 11:57:36 UTC
No idea what changed, but at some point after I reported this bug, 6.12.3-r2 emerged correctly dusing some world update, and I didn't even notice. Strange.
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2011-07-09 13:20:05 UTC
It might be another exposition of bug #326347 (parallel build issue).

I'd also advise you to check memory with memtest86/memtest86+ to make
sure it's not hardware problem.
Comment 5 Sergei Trofimovich (RETIRED) gentoo-dev 2011-08-03 16:46:37 UTC
I've disabled parallel build for ghc-7.0.4 as there was a number of similar reports.

Thanks, Martin!