[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Error in processing of :: targets
From: |
Paul D. Smith |
Subject: |
RE: Error in processing of :: targets |
Date: |
Tue, 14 Jun 2005 13:13:30 -0400 |
%% address@hidden writes:
rm> all:: first
rm> @echo one
rm> all:: second
rm> @echo two
rm> first:
rm> @echo first
rm> second:
rm> @echo second
rm> In GNUmake 3.75, this produced:
rm> first
rm> one
rm> second
rm> two
rm> In GNUmake 3.80, this produced:
rm> first
rm> second
rm> one
rm> two
I was looking through the NEWS file for GNU make and found this:
> Version 3.63
>
[...]
>
> * Multiple double-colon rules for the same target will no longer have
> their commands run simultaneously under -j, as this could result in
> the two commands trying to change the file at the same time and
> interfering with one another.
So, it looks like you're right: double-colon rules should be invoked
serially. I guess the docs weren't changed to make this clear when the
code was updated. Obviously something changed between 3.75 and now to
break that: I definitely didn't change it on purpose.
Please file a bug at Savannah against GNU make and I'll look into it at
some point.
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> Find some GNU make tips at:
http://www.gnu.org http://make.paulandlesley.org
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist