This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Strange ACATS fails in acats.log
On Thu, 4 May 2006, Laurent GUERBY wrote:
> BUILD alone means that the sequence
>
> gnatchop x
> ls * > tmp
> main=`tail -1 tmp`
> echo "BUILD $main"
>
> got an empty tmp file.
>
> I see that from time to time, more on SMP/dual core machines, if you add
> sync or sleep it goes away but the run is slower. I've always assumed
> it's some kind of process/kernel/fs race condition (I don't see
> anything wrong in gnatchop code).
Yes, this happens repeatedly on a 4-way HT-Xeon machine. Maybe just
skipping the test completely if $main is empty would at least avoid
the spurious FAILs...
Richard.
--
Richard Guenther <rguenther@suse.de>
Novell / SUSE Labs