bugmake - Bugs: bug #30897, simple archive rules broken under...

 
 

bug #30897: simple archive rules broken under make 3.82

Submitter:  Mike Frysinger <vapier>
Submitted:  Sat 28 Aug 2010 10:23:19 PM UTC
   
 
Severity:  3 - Normal Item Group:  None
Status:  Duplicate Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Component Version:  None Operating System:  None
Fixed Release:  None Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 28 Aug 2010 11:44:04 PM UTC, comment #1: 

Duplicate of bug #30612

Paul D. Smith <psmith>
Group administrator
Sat 28 Aug 2010 10:23:19 PM UTC, original submission:  

the simple makefile:
$ cat Makefile
FILES = boxdraw smbios console
OBJS = $(FILES:%=%.o)
libfoo.a: libfoo.a($(OBJS))

along with simple source files:
$ touch boxdraw.c smbios.c console.c

no longer works with make 3.82.  make 3.81 works fine.

$ make-3.81 -n
cc    -c -o boxdraw.o boxdraw.c
ar rv libfoo.a boxdraw.o
cc    -c -o smbios.o smbios.c
ar rv libfoo.a smbios.o
cc    -c -o console.o console.c
ar rv libfoo.a console.o
rm console.o smbios.o boxdraw.o

$ make-3.82 -n
make-3.82: * No rule to make target `boxdraw.o)', needed by `libfoo.a'.  Stop.

and depending on the contents of FILES, the error message may change slightly (not sure if this matters):

$ make-3.82 -n FILES="boxdraw smbios"
make-3.82: * No rule to make target `libfoo.a(boxdraw.o', needed by `libfoo.a'.  Stop.

Mike Frysinger <vapier>

 

(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)
  • -email is unavailable- added by vapier (Submitted the item)
  •  

    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-08-28 psmith StatusNone Duplicate
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code