Re: BUG #15525: Build failures when compiling Postgres with Make parallelization

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: jack@jackkelly.name, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Date: 2018-11-29T03:25:19Z
Lists: pgsql-bugs
Thomas Munro <thomas.munro@enterprisedb.com> writes:
> Nice detective work.  Possibly because libtool/ranlib whacks it with
> utime(), which only knows about time_t, here:
> https://github.com/opensource-apple/cctools/blob/master/misc/libtool.c#L2779

I suspected as much, but hadn't gone looking for the code.  I wonder
why it bothers with any of that... it's certainly not documented
behavior per the man page.

			regards, tom lane


Commits

  1. Ensure static libraries have correct mod time even if ranlib messes it up.