From owner-freebsd-arch@FreeBSD.ORG Wed Sep 17 15:34:28 2008 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0540106567A for ; Wed, 17 Sep 2008 15:34:28 +0000 (UTC) (envelope-from jhein@timing.com) Received: from Daffy.timing.com (daffy.timing.com [206.168.13.218]) by mx1.freebsd.org (Postfix) with ESMTP id B91558FC2C for ; Wed, 17 Sep 2008 15:34:28 +0000 (UTC) (envelope-from jhein@timing.com) Received: from gromit.timing.com (gromit.timing.com [206.168.13.209]) by Daffy.timing.com (8.13.1/8.13.1) with ESMTP id m8HFYGE7097808 for ; Wed, 17 Sep 2008 09:34:26 -0600 (MDT) (envelope-from jhein@timing.com) Received: from gromit.timing.com (localhost [127.0.0.1]) by gromit.timing.com (8.14.2/8.14.2) with ESMTP id m8HFYA9i096627; Wed, 17 Sep 2008 09:34:10 -0600 (MDT) (envelope-from jhein@gromit.timing.com) Received: (from jhein@localhost) by gromit.timing.com (8.14.2/8.14.2/Submit) id m8HFYAGY096624; Wed, 17 Sep 2008 09:34:10 -0600 (MDT) (envelope-from jhein) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18641.9074.499346.988999@gromit.timing.com> Date: Wed, 17 Sep 2008 09:34:10 -0600 From: John Hein To: "Poul-Henning Kamp" In-Reply-To: <75968.1221600374@critter.freebsd.dk> References: <20080916211646.GA35778@lor.one-eyed-alien.net> <75968.1221600374@critter.freebsd.dk> X-Mailer: VM 7.19 under Emacs 22.2.1 X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on Daffy.timing.com X-Virus-Status: Clean Cc: arch@freebsd.org, Brooks Davis Subject: Re: 64 bit time_t X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2008 15:34:29 -0000 Poul-Henning Kamp wrote at 21:26 +0000 on Sep 16, 2008: > In message <20080916211646.GA35778@lor.one-eyed-alien.net>, Brooks Davis writes > : > > > >--PEIAKu/WMn1b1Hv9 > >Content-Type: text/plain; charset=us-ascii > >Content-Disposition: inline > > > >On Tue, Sep 16, 2008 at 02:17:16PM -0600, John Hein wrote: > >> Other than recompiling for -current users (and not being an MFC-able > >> change and possibly breaking a gazillion unfortunately written ports), > >> are their any other issues with switching to 64 bit time_t for i386? > >> I suppose compat libs are a bit dicey. > > > >Off hand: every syscall that takes a time_t or a structure containing > >a time_t would have to be reimplemented and a compatability version[...] > > This is a pretty nasty piece of work because it also involves the > timespec and timeval structures which appear in ioctls, socket > options, socket messages and so on. Okay. Sounds "fun". So for systems where we don't care about compatibility (where a product is built from scratch and we don't have to worry about 3rd party binary libs/programs), the problems mentioned by brooks & phk disappear. No one wants to play the performance or atomic access card?