bugmake - Bugs: bug #31087, .SECONDEXPANSION: of $$<...

 
 

bug #31087: .SECONDEXPANSION: of $$< expands to target in pattern prerequisites

Submitter:  None
Submitted:  Mon 20 Sep 2010 05:26:25 PM UTC
   
 
Severity:  3 - Normal Item Group:  Bug
Status:  Duplicate Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Component Version:  3.82 Operating System:  Any
Fixed Release:  None Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 20 Sep 2010 05:40:40 PM UTC, comment #2: 

Thanks for the note; closing as dup.

Paul D. Smith <psmith>
Group administrator
Mon 20 Sep 2010 05:36:47 PM UTC, comment #1: 

This duplicates bug #28456; sorry that I did not spot it earlier when I first looked for matching bugs.

Anonymous
Mon 20 Sep 2010 05:26:25 PM UTC, original submission:  

The following command line session describes and demonstrates
the issue.  It is from Ubuntu x86_64, but probably the behavior
is platform-independent.

-- John Carey


> cat /etc/issue
Ubuntu 8.04.4 LTS \n \l

> make --version
GNU Make 3.82
Built for i686-pc-linux-gnu
Copyright (C) 2010  Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
> ls -1
Makefile
> cat Makefile

# "$$<" expands to "target", even though we
# are not actually invoking a .DEFAULT rule.
# It should expand to the empty string.

.SECONDEXPANSION:
all : target
tar%: p$$< ; @echo '$@' from '$+'
p% : ;

> make
target from ptarget


Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by psmith (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-09-20 psmith StatusNone Duplicate
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code