This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: possible race condition in make install?
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Jack Howarth <howarth at bromo dot med dot uc dot edu>
- Cc: gcc at gcc dot gnu dot org, mikestump at comcast dot net, iains at gcc dot gnu dot org, dominiq at lps dot ens dot fr
- Date: Sun, 17 Jul 2011 10:24:53 +0200
- Subject: Re: possible race condition in make install?
- References: <20110716204022.GA29419@bromo.med.uc.edu> <20110716205320.GA29476@bromo.med.uc.edu>
Jack Howarth <howarth@bromo.med.uc.edu> writes:
> What keeps...
>
> $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n
>
> from outrunning the execution of the next command...
>
> ( cd $(DESTDIR)$(libdir)/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n ;$(RANLIB) $(TARGETLIB)n )
>
> on a multiprocessor machine with parallel make?
That they are executed in sequence?
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."