Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 373947 - dev-lang/ghc-6.12.3-r2: internal error: evacuate: strange closure type -981252095
Summary: dev-lang/ghc-6.12.3-r2: internal error: evacuate: strange closure type -98125...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-03 20:40 UTC by Martin von Gagern
Modified: 2011-08-03 16:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (dev-lang:ghc-6.12.3-r2.emerge--info,6.58 KB, text/plain)
2011-07-03 20:40 UTC, Martin von Gagern
Details
build log (dev-lang:ghc-6.12.3-r2:20110703-200310.log,573.52 KB, text/plain)
2011-07-03 20:41 UTC, Martin von Gagern
Details

Note You need to log in before you can comment on or make changes to this bug.
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-1.8.0.6 -package array-0.3.0.1 -package base-4.2.0.2 -package bin-package-db-0.0.0.0 -package bytestring-0.9.1.7 -package containers-0.3.0.0 -package directory-1.0.1.1 -package filepath-1.1.0.4 -package hpc-0.5.0.5 -package old-time-1.0.0.5 -package process-1.0.1.3 -package unix-2.4.0.2  -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:  http://www.haskell.org/ghc/reportabug
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!