I got that too.  It turned out that in my build.mk I had GhcLibWays = v, and I 
think for some reason it may need way 'dyn' too.

I don't know whether this is expected behaviour.  Simon, Ian?

S

From: [email protected] [mailto:[email protected]] On 
Behalf Of Vivian McPhail
Sent: 25 September 2010 12:53
To: [email protected]
Subject: Build fails after new vector package configuration patch

Hi,

on linux x86_64 ghc HEAD of September 24:

Early in the build process there are a number of "missing .hi" errors followed 
by "ignoring."  Later I get the following error:

"inplace/bin/ghc-stage2"   -H64m -O0 -fasm    -package-name primitive-0.3.1 
-hide-all-packages -i -ilibraries/primitive/. 
-ilibraries/primitive/dist-install/build 
-ilibraries/primitive/dist-install/build/autogen 
-Ilibraries/primitive/dist-install/build 
-Ilibraries/primitive/dist-install/build/autogen -Ilibraries/primitive/cbits    
-optP-include 
-optPlibraries/primitive/dist-install/build/autogen/cabal_macros.h -package 
base-4.3.0.0 -package ghc-prim-0.2.0.0  -O2 -no-user-package-conf -rtsopts -O0 
-fasm     -odir libraries/primitive/dist-install/build -hidir 
libraries/primitive/dist-install/build -stubdir 
libraries/primitive/dist-install/build -hisuf hi -osuf  o -hcsuf hc -c 
libraries/primitive/./Data/Primitive.hs -o 
libraries/primitive/dist-install/build/Data/Primitive.o
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package primitive-0.3.1 ... <command line>: can't load .so/.DLL for: 
HSprimitive-0.3.1 (libHSprimitive-0.3.1.so<http://libHSprimitive-0.3.1.so>: 
cannot open shared object file: No such file or directory)
make[1]: *** 
[libraries/vector/dist-install/build/Data/Vector/Fusion/Stream/Monadic.o] Error 
1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2

I know that there is a new configuration with the dph/vector/primitive 
libraries.  Is there some configuration setting I need to change?

It seems that perhaps the primitive package is not getting built in stage1?

Vivian
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to