public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* legitimate parallel make check?
@ 2010-03-09 11:43 IainS
  2010-03-09 12:11 ` Rainer Orth
  0 siblings, 1 reply; 13+ messages in thread
From: IainS @ 2010-03-09 11:43 UTC (permalink / raw)
  To: GCC Development

for the sake of keeping information segregated in log files (and  
balancing out test times)
  I tried the following (from within a regression testing script):

'make -k check-gcc-c RUNTESTFLAGS=$runTEST >${STATE}/$svnRevision- 
check-c-log.txt 2>&1' &
(sleep 2) 'make -k check-gcc-c++ RUNTESTFLAGS=$runTEST >${STATE}/ 
$svnRevision-check-c++-log.txt 2>&1' &
(sleep 2) 'make -k check-gcc-fortran RUNTESTFLAGS=$runTEST >${STATE}/ 
$svnRevision-check-fortran-log.txt 2>&1' &
(sleep 2) ' make -k check-gcc-objc RUNTESTFLAGS=$runTEST >${STATE}/ 
$svnRevision-check-objc-log.txt 2>&1' &
(sleep 2) 'make -k check-gcc-obj-c++ RUNTESTFLAGS=$runTEST >${STATE}/ 
$svnRevision-check-obc++-log.txt 2>&1' &
(sleep 2) 'make -k check-target-libstdc++-v3 RUNTESTFLAGS=$runTEST >$ 
{STATE}/$svnRevision-check-target-libstdc++-log.txt 2>&1'&
(sleep 2) 'make -k check-target-libgomp RUNTESTFLAGS=$runTEST >$ 
{STATE}/$svnRevision-check-target-libgomp-log.txt 2>&1' &

firstly; this actually breaks the make process permanently (I suspect  
a race to make site.exp) unless the parallel jobs are launched with a  
time delay.
by permanently I mean that after trying this - "make check-gcc"  fails  
from the command line until config.status is re-run in the gcc dir.

====

secondly;  if I use  "-k -j3 check-gcc-c "
    together with "-k -j2 check-gcc-fortran " (for example)

I get sporadic bus errors :
/bin/sh: line 1: 67618 Bus error               `if [ -f ${srcdir}/../ 
dejagnu/runtest ] ; then echo ${srcdir}/../dejagnu/runtest ; else echo  
runtest; fi` --tool gfortran --target_board=unix\{-m32,-m64\}  
$runtestflags
make[2]: [check-parallel-gfortran] Error 138 (ignored)

large chunks of tests go silently missing at this point...

===

Am I trying something that is unsupported - or is this is a bug?

===

"make -k -j8 check " is not particularly helpful (a) because it tests  
gmp/mpfr/mpc every time (b) any redirected output is hard to scan for  
problems.

Iain

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2010-03-10 20:59 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-09 11:43 legitimate parallel make check? IainS
2010-03-09 12:11 ` Rainer Orth
2010-03-09 12:29   ` IainS
2010-03-09 12:46     ` Rainer Orth
2010-03-09 15:05       ` IainS
2010-03-09 15:17         ` Rainer Orth
     [not found]           ` <fc556a771003091113g4837d6e4o9e34288d8344f2@mail.gmail.com>
2010-03-09 19:28             ` IainS
2010-03-09 19:31               ` NightStrike
2010-03-09 19:36                 ` IainS
2010-03-09 19:36               ` Rainer Orth
2010-03-09 20:33                 ` IainS
     [not found]                   ` <yddfx48o7zj.fsf@manam.CeBiTec.Uni-Bielefeld.DE>
     [not found]                     ` <AFABE34F-D88B-4C9D-BD07-0DBACCB36F64@sandoe-acoustics.co.uk>
     [not found]                       ` <yddy6i0mrsv.fsf@manam.CeBiTec.Uni-Bielefeld.DE>
2010-03-10 20:59                         ` IainS
2010-03-09 14:23     ` Tim Prince

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).