On Sat, Dec 12, 2009 at 07:19:17PM +1100, Manuel M T Chakravarty wrote:
> I think this is since the new c_asm.bit dependency stuff was introduced.  The 
> problem only seems to happen in a very parallel build, and my guess is that 
> this happens on any box that doesn't have gmp.h globally installed.
> 
> I ran into it when using 8 cores (with 'env CPUS=8 sh validate'):
> 
> > /usr/bin/gcc -E    -m32 -Wall -Werror 
> > -I/Users/chak/Code/ghc-test/libraries/integer-gmp/gmp 
> > -Ilibraries/integer-gmp/.    -I"/Users/chak/Code/ghc-test/includes" 
> > -I"/Users/chak/Code/ghc-test/libffi/dist-install/build"      -MM 
> > libraries/integer-gmp/cbits/cbits.c -MF 
> > libraries/integer-gmp/dist-install/build/.depend-v.c_asm.bit
> > In file included from libraries/integer-gmp/cbits/cbits.c:12:
> > libraries/integer-gmp/cbits/alloc.c:11:17: error: gmp.h: No such file or 
> > directory
> > make[1]: *** [libraries/integer-gmp/dist-install/build/.depend-v.c_asm] 
> > Error 1

Should be fixed now.

> > make: *** [all] Error 2
> > limitingfactor chak 21 (.../Code/ghc-test): 
> 
> I also get lots of annoying message like this (independent of whether the 
> build is parallel or not):
> 
> > # libraries/base = dir
[...]

I've also moved that so it doesn't get printed out each time we make
some C deps.


Thanks
Ian

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

Reply via email to