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

Submitted by:  None
Submitted on:  Tue 10 May 2011 02:47:40 PM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: DuplicatePrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Component Version: 3.82Operating System: POSIX-Based
Fixed Release: NoneTriage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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

Duplicate of (already fixed) bug #30612

Paul D. Smith <psmith>
Project 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 10 May 2011 03:01:15 PM UTCpsmithStatusNone=>Duplicate
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1