Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gSTqO-0002sM-IN for pgsql-bugs@arkaria.postgresql.org; Thu, 29 Nov 2018 21:27:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gSTqN-0003eD-9v for pgsql-bugs@arkaria.postgresql.org; Thu, 29 Nov 2018 21:27:31 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gSTqN-0003e6-43 for pgsql-bugs@lists.postgresql.org; Thu, 29 Nov 2018 21:27:31 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gSTqL-00084r-7j for pgsql-bugs@lists.postgresql.org; Thu, 29 Nov 2018 21:27:30 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id wATLRMdE004685; Thu, 29 Nov 2018 16:27:22 -0500 From: Tom Lane To: Thomas Munro cc: jack@jackkelly.name, PostgreSQL mailing lists Subject: Re: BUG #15525: Build failures when compiling Postgres with Make parallelization In-reply-to: References: <15525-a30da084f17a1faa@postgresql.org> <31602.1543363896@sss.pgh.pa.us> <87k1kwlvad.fsf@jackkelly.name> <28417.1543458718@sss.pgh.pa.us> <31059.1543461919@sss.pgh.pa.us> <87r2f4jfu0.fsf@jackkelly.name> <28445.1543507385@sss.pgh.pa.us> Comments: In-reply-to Thomas Munro message dated "Fri, 30 Nov 2018 10:14:17 +1300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4683.1543526842.1@sss.pgh.pa.us> Date: Thu, 29 Nov 2018 16:27:22 -0500 Message-ID: <4684.1543526842@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Thomas Munro writes: > But just for the record, while we're doing amateur software > archeology: I'm pretty sure Apple's libtool/ranlib is not derived > from BSD... it says it's from NeXT and has no University of California > copyright. They probably needed something different to work with > Mach-O objects, whereas ancient BSD used a.out and modern BSDen use > ELF. It also supports their funky fat/universal libraries which NeXT > and Apple used to change CPU architectures several times surprisingly > smoothly. I don't see anything like that utime() in either modern > FreeBSD (where it's been rewritten at least once) or ancient 4.4BSD > lite sources. Interesting. There's definitely some funky behavior in Apple's ranlib. While testing this, I noted that sometimes it will produce a timestamp that seems to be max-of-the-input-timestamps (truncated to seconds), which can be much older than current time. Other times it will produce current time (truncated to seconds). No idea what's causing this difference in behavior. regards, tom lane