make -j failure on MacPro....
I've many failures running large parrallel builds on my 4 core MacPro. For example:
$ make -j 6
...
cp treeplayer/inc/TTreeFormulaManager.h include/TTreeFormulaManager.h
cp treeplayer/inc/TTreeIndex.h include/TTreeIndex.h
cp treeplayer/inc/TTreePlayer.h include/TTreePlayer.h
cp treeplayer/inc/TTreeProxyGenerator.h include/TTreeProxyGenerator.h
cp treeviewer/inc/TTreeViewer.h include/TTreeViewer.h
cp treeviewer/inc/TTVSession.h include/TTVSession.h
make: cp: Command not found
make: * [include/TTVSession.h] Error 127
make: * Waiting for unfinished jobs....
real 0m1.447s
user 0m0.505s
sys 0m2.086s
How can MacOS X suddenly not find the cp command anymore. Also often the compiler exits with BTP and bus errors.
After a reboot things work a gain for a while, but especially after interrupting a make -j (ctrl-c) things go quickly wrong and I need to reboot. Is this a kown locking problem?
The same makefile build perfectly fine in parallel on any other platform (Linux, Solaris, etc).
Cheers, Fons.
MacPro, Mac OS X (10.4.7)