From owner-freebsd-arch@FreeBSD.ORG Wed Sep 17 16:34:06 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 BAE051065671 for ; Wed, 17 Sep 2008 16:34:06 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 302018FC18 for ; Wed, 17 Sep 2008 16:34:05 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (adsl83-215.kln.forthnet.gr [77.49.50.215]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-5) with ESMTP id m8HGXppW001309 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 17 Sep 2008 19:33:57 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id m8HGXo6r096048; Wed, 17 Sep 2008 19:33:51 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id m8HGXnta096047; Wed, 17 Sep 2008 19:33:49 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: "Poul-Henning Kamp" References: <75968.1221600374@critter.freebsd.dk> Date: Wed, 17 Sep 2008 19:33:48 +0300 In-Reply-To: <75968.1221600374@critter.freebsd.dk> (Poul-Henning Kamp's message of "Tue, 16 Sep 2008 21:26:14 +0000") Message-ID: <87iqsuk9zn.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: m8HGXppW001309 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.848, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.55, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: arch@freebsd.org, Brooks Davis , John Hein 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 16:34:06 -0000 On Tue, 16 Sep 2008 21:26:14 +0000, "Poul-Henning Kamp" wrote: >In message <20080916211646.GA35778@lor.one-eyed-alien.net>, Brooks Davis writes >>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. Wire-formats for network protocols are also going to be lots of fun too. icmp4's and tcp4's timestamp options (and other wire-protocol formats) use uint32_t. Presumambly, by the time 32-bits are no longer enough these wire-protools will be replaced by their more modern versions.