bug-make
[Top][All Lists]
Advanced

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

make "foo.a(j.o)" bug


From: Bruce Hill
Subject: make "foo.a(j.o)" bug
Date: Mon, 30 Oct 2000 17:43:44 -0800

I'm using make 3.79.1 on a Sparc running Solaris 7, and
have found that the GNU make archive member syntax is
often finding that the object file is newer
than the archive member even after updating the archive.

Example:

foo.a(j.o):   j.o
    ar  rv   foo.a   j.o

This bug also occurs without a makefile with implicit rules
generating the same ar command for a command line of
% make "foo.a(j.o)"

We also had the same problem with make 3.79, and have
the same results with Sun's ar, Gnu ar, and Greenhills ax.

The fix for this problem is to rebuild make using
% configure --disable-nsec-timestamps

Apparently the ar program doesn't support nsec timestamps
and thus make fails to recognize that the archive member is uptodate
for some object file timestamps.

- Bruce Hill
address@hidden


-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com




reply via email to

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