bugmake - Bugs: bug #33274, Make no longer handles archive...

 
 

bug #33274: Make no longer handles archive prereq's that include multiple files within the ( )'s

Submitter:  None
Submitted:  Tue 10 May 2011 02:47:40 PM UTC
   
 
Severity:  3 - Normal Item Group:  Bug
Status:  Duplicate Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Component Version:  3.82 Operating System:  POSIX-Based
Fixed Release:  None Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 10 May 2011 03:01:15 PM UTC, comment #1: 

Duplicate of (already fixed) bug #30612

Paul D. Smith <psmith>
Group administrator
Tue 10 May 2011 02:47:40 PM UTC, original submission:  

The documentation for GNU make version 3.82 states:

     foolib(hack.o kludge.o)

is equivalent to:

     foolib(hack.o) foolib(kludge.o)

That was true for earlier versions, but not for 3.82,
which doesn't seem to parse the first version properly.
Demonstrating this requires no files, just a bit of a
shell session which is included below.  Thanks, CHRiS

$ 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.
$ uname -sro
Linux 2.6.32-31-generic-pae GNU/Linux
$ touch g.c
$ touch f.c
$ make "mylib.a(f.o g.o)"
make: * No rule to make target `mylib.a(f.o g.o)'.  Stop.
$ make "mylib.a(f.o)" "mylib.a(g.o)"
cc    -c -o f.o f.c
ar rv mylib.a f.o
ar: creating mylib.a
a - f.o
cc    -c -o g.o g.c
ar rv mylib.a g.o
a - g.o
rm f.o g.o
$ /usr/bin/make --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i486-pc-linux-gnu
$ /usr/bin/make "mylib.a(f.o g.o)"
cc    -c -o f.o f.c
cc    -c -o g.o g.c
ar rv mylib.a f.o
r - f.o
rm f.o g.o

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
    2011-05-10 psmith StatusNone Duplicate
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code