Subject: Re: Linker bug of the day?
To: Todd Vierling <tv@pobox.com>
From: Simon Burge <simonb@netbsd.org>
List: port-pmax
Date: 04/27/1999 23:42:19
Todd Vierling wrote:

> On Tue, 27 Apr 1999, Simon Burge wrote:
> 
> : > Now, why you are getting the warnings I'm not sure, as you said that your
> : > libc.a is a half hour older than libc.so (!?  Shouldn't that be at most a
> : > couple minutes?  At "make install" time, they are installed one after
> : > the other)....
> : 
> : Just a quick answer to this one - UPDATE=1, so the times are the build
> : times, not the install times.
> 
> That still doesn't make sense - even with UPDATE=1, the datestamp on the
> files should reflect the time they are installed.  UPDATE=1 just means that
> files which haven't changed aren't installed.

UPDATE=1 implies PRESERVE=-p now.

mona:~ 259> ls -l /usr/lib/libc.so.12.40 /usr/lib/libc.a
-r--r--r--  1 root  wheel  2211810 Apr 27 13:26 /usr/lib/libc.a
-r--r--r--  1 root  wheel  1131788 Apr 27 14:07 /usr/lib/libc.so.12.40
mona:~ 260> ls -cl /usr/lib/libc.so.12.40 /usr/lib/libc.a
-r--r--r--  1 root  wheel  2211810 Apr 27 14:26 /usr/lib/libc.a
-r--r--r--  1 root  wheel  1131788 Apr 27 14:26 /usr/lib/libc.so.12.40

> So, if libc.a is much older than libc.so.12.minor, that means that the
> shared object was rebuilt and reinstalled at the update phase, whereas the
> static lib wasn't rebuilt(!?).

Simon.