bugmake - Bugs: bug #30612, error parsing library references...


bug #30612: error parsing library references with multiple objects

Submitted by:  Peter Breitenlohner <breitenlohner>
Submitted on:  Sat Jul 31 14:20:49 2010  
Severity: 3 - NormalItem Group: Bug
Status: FixedPrivacy: Public
Assigned to: Paul D. Smith <psmith>Open/Closed: Closed
Component Version: 3.82Operating System: Any
Fixed Release: 4.0Triage Status: Verified

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


Sun Jun 12 16:23:22 2011, comment #3:

whoops, you're right: fixed now in CVS.

Paul D. Smith <psmith>
Project AdministratorIn charge of this item.
Sat Jun 11 13:40:48 2011, comment #2:

This makefile still fails:
.PHONY: all
all: lib.a( a.o)
(%.o): %.o
echo $@ $<

make 3.81 gives what I would expect:
lib.a a.o

make 3.82, with the comment #1: corrections, gives:
make: *** No rule to make target `lib.a()', needed by `all'. Stop.

Sat Aug 14 02:51:00 2010, comment #1:

I fixed this bug, and added (missing!) regression tests for archives.

Thanks for the report.

Paul D. Smith <psmith>
Project AdministratorIn charge of this item.
Sat Jul 31 14:20:49 2010, original submission:

make 3.82 fails to parse a dependency 'util.a(foo.o bar.o)', as demonstrated by the attached self-contained Makefile. Whereas this Makefile works fine with 3.81, 3.82 yields:
*** No rule to make target `util.a(foo.o', needed by `util.a'

Peter Breitenlohner <breitenlohner>


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

Attach File(s):

Attached Files
file #21114:  Makefile added by breitenlohner (223B - application/octet-stream - Makefile demonstrating the problem)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by psmith (Updated the item)
  • -unavailable- added by breitenlohner (Submitted the item)

    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 9 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat Aug 14 02:51:00 2010psmithStatusNone=>Fixed
      Fixed ReleaseNone=>4.0
    Tue Aug 10 07:39:50 2010psmithSummarymake-3.82 parse error=>error parsing library references with multiple objects
    Tue Aug 10 07:39:10 2010psmithItem GroupNone=>Bug
      Assigned toNone=>psmith
      Component Version4.0=>3.82
      Triage StatusNone=>Verified
    Sat Jul 31 14:20:51 2010breitenlohnerAttached File-=>Added Makefile, #21114

    Back to the top

    Powered by Savane 3.1-cleanup1