bug-make
[Top][All Lists]
Advanced

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

[bug #37315] private modifier on pattern specific variable ignored as pr


From: Ruben Brown
Subject: [bug #37315] private modifier on pattern specific variable ignored as prerequisite
Date: Mon, 10 Sep 2012 14:42:19 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1

URL:
  <http://savannah.gnu.org/bugs/?37315>

                 Summary: private modifier on pattern specific variable
ignored as prerequisite
                 Project: make
            Submitted by: rubrown
            Submitted on: Mon 10 Sep 2012 02:42:18 PM GMT
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 3.82
        Operating System: Any
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

I’ve found a use case in which a chain of prerequisite targets appears to
ignore the private modifier on a pattern specific variable definition. This
occurs in gnu make 3.82. Please find a simple example of this use case below.
This seems like a bug.

This looks like a bug of a similar type to bug #32872, however that bug is
with target specific variables, not what Paul referred to in other bugs as
pattern specific variables.

Make 3.82 behavior:

$make-3.82 -f Makefile debug
build: IMMEDIATE[-debug -implicit] DEFERRED[-debug -implicit]
all: IMMEDIATE[-debug -implicit] DEFERRED[-debug -implicit]
debug: IMMEDIATE[-debug] DEFERRED[-debug]

$make-3.82 -f Makefile all  
build: IMMEDIATE[] DEFERRED[]
all: IMMEDIATE[-implicit] DEFERRED[-implicit]

Expected Behavior:

As I understand it the -implicit string should never occur outside the
evaluation of the all target. E.G. The output of the debug target evaluation
above should be, with the non-private –debug modification taking effect, and
the private –implicit modification not taking effect outside the all
target.

$make-3.82 -f Makefile debug
build: IMMEDIATE[-debug] DEFERRED[-debug]
all: IMMEDIATE[-debug -implicit] DEFERRED[-debug -implicit]
debug: IMMEDIATE[-debug] DEFERRED[-debug]



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 10 Sep 2012 02:42:18 PM GMT  Name: Makefile  Size: 329B   By:
rubrown

<http://savannah.gnu.org/bugs/download.php?file_id=26521>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?37315>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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