From owner-freebsd-hackers@FreeBSD.ORG Tue Oct 5 15:22:13 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3C861065670 for ; Tue, 5 Oct 2010 15:22:13 +0000 (UTC) (envelope-from kaduk@mit.edu) Received: from dmz-mailsec-scanner-2.mit.edu (DMZ-MAILSEC-SCANNER-2.MIT.EDU [18.9.25.13]) by mx1.freebsd.org (Postfix) with ESMTP id 6F12E8FC17 for ; Tue, 5 Oct 2010 15:22:13 +0000 (UTC) X-AuditID: 1209190d-b7cacae000000a14-41-4cab42a62f93 Received: from mailhub-auth-4.mit.edu ( [18.7.62.39]) by dmz-mailsec-scanner-2.mit.edu (Symantec Brightmail Gateway) with SMTP id 57.36.02580.6A24BAC4; Tue, 5 Oct 2010 11:22:14 -0400 (EDT) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id o95FMCXk010758; Tue, 5 Oct 2010 11:22:12 -0400 Received: from multics.mit.edu (MULTICS.MIT.EDU [18.187.1.73]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id o95FM9EA013514 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 5 Oct 2010 11:22:11 -0400 (EDT) Received: (from kaduk@localhost) by multics.mit.edu (8.12.9.20060308) id o95FM8MX003813; Tue, 5 Oct 2010 11:22:08 -0400 (EDT) Date: Tue, 5 Oct 2010 11:22:07 -0400 (EDT) From: Benjamin Kaduk To: Joerg Sonnenberger In-Reply-To: <20101005151348.GA27763@britannica.bec.de> Message-ID: References: <52C32EA5-A380-4237-A27C-9E2DF2D4E022@cederstrand.dk> <20101005151348.GA27763@britannica.bec.de> User-Agent: Alpine 1.10 (GSO 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Brightmail-Tracker: AAAAAA== Cc: freebsd-hackers@freebsd.org Subject: Re: Timestamps in static libraries X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Oct 2010 15:22:13 -0000 On Tue, 5 Oct 2010, Joerg Sonnenberger wrote: > On Tue, Oct 05, 2010 at 03:28:36PM +0200, Erik Cederstrand wrote: >> I'm wondering if this is necessary, or if this can possibly be turned >> of with a knob somewhere. > > Newer binutils got a flag after a discussion about this and related > issues in NetBSD. It basically stores 0 for the uid/gid/time fields. This also came up recently in the context of producing static libraries from object files with large uid's (such as in AFS). A couple of patches to ar(1) and libarchive were bandied about, though I don't think Tim Kientzle has committed any of them, yet. (As it turns out, I may also need to patch ranlib(1) in order to get a complete buildworld in my large-uid environment, and possibly other things.) -Ben Kaduk