bug-make
[Top][All Lists]
Advanced

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

[bug #30897] simple archive rules broken under make 3.82


From: Mike Frysinger
Subject: [bug #30897] simple archive rules broken under make 3.82
Date: Sat, 28 Aug 2010 22:23:20 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100809 Gentoo Firefox/3.6.8

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

                 Summary: simple archive rules broken under make 3.82
                 Project: make
            Submitted by: vapier
            Submitted on: Sat 28 Aug 2010 10:23:19 PM GMT
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: None
        Operating System: None
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

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.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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