Validate failure

Simon Marlow marlowsd at gmail.com
Thu Dec 31 08:54:46 EST 2009


The following validate failure has happened to me twice, and appears to 
be a parallel make problem (a missing dependency somewhere).  I'm using 
-j3 on a dual-core. I'm posting it here in case anyone else has a clue 
what's going on, otherwise I'll queue it for investigation.

Cheers,
	Simon

"inplace/bin/ghc-stage2" -fPIC -dynamic  -H32m -O -Wall -Werror -H64m 
-O0    -package-name dph-par-0.4.0 -hide-all-packages -i 
-ilibraries/dph/dph-par/../dph-common 
-ilibraries/dph/dph-par/dist-install/build 
-ilibraries/dph/dph-par/dist-install/build/autogen 
-Ilibraries/dph/dph-par/dist-install/build 
-Ilibraries/dph/dph-par/dist-install/build/autogen 
-Ilibraries/dph/dph-par/.    -optP-include 
-optPlibraries/dph/dph-par/dist-install/build/autogen/cabal_macros.h 
-package array-0.3.0.0 -package base-4.2.0.0 -package dph-base-0.4.0 
-package dph-prim-par-0.4.0 -package ghc-6.13.20091222 -package 
ghc-prim-0.2.0.0 -package random-1.0.0.2 -package 
template-haskell-2.4.0.0  -Odph -funbox-strict-fields -haddock -fcpr-off 
-fdph-this -package-name dph-par -XTypeFamilies -XGADTs -XRankNTypes 
-XBangPatterns -XMagicHash -XUnboxedTuples -XTypeOperators -O2 
-XGenerics -O -dcore-lint -fno-warn-deprecated-flags -Wwarn     -odir 
libraries/dph/dph-par/dist-install/build -hidir 
libraries/dph/dph-par/dist-install/build -stubdir 
libraries/dph/dph-par/dist-install/build -hisuf dyn_hi -osuf  dyn_o 
-hcsuf dyn_hc -c 
libraries/dph/dph-par/../dph-common/Data/Array/Parallel/Lifted/PArray.hs 
-o 
libraries/dph/dph-par/dist-install/build/Data/Array/Parallel/Lifted/PArray.dyn_o
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package array-0.3.0.0 ... linking ... done.
Loading package containers-0.3.0.0 ... linking ... done.
Loading package filepath-1.1.0.3 ... linking ... done.
Loading package old-locale-1.0.0.2 ... linking ... done.
Loading package old-time-1.0.0.3 ... linking ... done.
Loading package unix-2.4.0.0 ... linking ... done.
Loading package directory-1.0.1.0 ... linking ... done.
Loading package pretty-1.0.1.1 ... linking ... done.
Loading package process-1.0.1.2 ... linking ... done.
Loading package Cabal-1.9.0 ... linking ... done.
Loading package bytestring-0.9.1.5 ... linking ... done.
Loading package binary-0.5.0.2 ... linking ... done.
Loading package bin-package-db-0.0.0.0 ... linking ... done.
Loading package hpc-0.5.0.5 ... linking ... done.
Loading package template-haskell ... linking ... done.
Loading package ghc-6.13.20091222 ... linking ... done.
Loading package time-1.1.4 ... linking ... done.
Loading package random-1.0.0.2 ... linking ... done.
Loading package dph-base-0.4.0 ... linking ... done.
Loading package dph-prim-interface-0.4.0 ... linking ... done.
Loading package dph-prim-seq-0.4.0 ... linking ... done.
Loading package dph-prim-par-0.4.0 ... <command line>: can't load 
.so/.DLL for: HSdph-prim-par-0.4.0-ghc6.13.20091222 
(libHSdph-prim-seq-0.4.0-ghc6.13.20091222.so: cannot open shared object 
file: No such file or directory)
make[1]: *** 
[libraries/dph/dph-par/dist-install/build/Data/Array/Parallel/Lifted/PArray.dyn_o] 
Error 1
make[1]: *** Waiting for unfinished jobs....


why is GHC trying to load the .so for dph-prim-seq?  Is that because the 
.o doesn't exist yet perhaps?



More information about the Cvs-ghc mailing list