bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #58735] if depending on include, gmake does not execute commands fo


From: Jörg Schilling
Subject: [bug #58735] if depending on include, gmake does not execute commands for out of date targets in the right order
Date: Wed, 8 Jul 2020 11:10:28 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]