URL:
<https://savannah.gnu.org/bugs/?58735>
Summary: if depending on include, gmake does not execute
commands for out of date targets in the right order
Project: make
Submitted by: schily
Submitted on: Wed 08 Jul 2020 03:10:27 PM UTC
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: None
Operating System: None
Fixed Release: None
Triage Status: None
_______________________________________________________
Details:
gmake, when in parallel mode, executes commands for out of date files needed
by the include directive in a random order instead of executing them in the
order needed by the include directives.
It even tries to read the "include file" before "file" has been created by the
related rule command.
This causes files to be frequently created after the "include" directive that
likes to read these files is run.
This is related to a bug report about a wrong include concept in gmake that I
made in 1998 already.
BTW: rules for out of date makefiles that are on the command line are handled
correctly.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58735>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/