This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Does running a parallel "make -jN check" work safely?


Kaveh R. Ghazi wrote:
I'm wondering whether running "make -jN check" is safe. I'm

I have problems with the java testsuite when I use make -jN. Some of the java tests are self-timing. They time a loop, use that timing info to set a timer, and then do something that might hang. See for instance libjava/testsuite/libjava.lang/Thread_Interrupt.java. These tests work fine normally, but are unreliable with make -jN. I suspect that the changing load average disrupts the timing of them. I avoid parallel make checks because of this problem. I am talking about using N > number of processors here. Maybe they work OK if N <= number of processors.


If your target is a simulator, and you have a broken simulator that requires the dejagnu testglue.o file, then running tests in parallel may fail because of conflicts with the testglue.o file. This one might have been fixed though; I am not sure.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]