From owner-freebsd-current@FreeBSD.ORG Tue Dec 23 01:10:06 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7DD5116A4D1 for ; Tue, 23 Dec 2003 01:10:06 -0800 (PST) Received: from mailhub.fokus.fraunhofer.de (mailhub.fokus.fraunhofer.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id A48ED43D39 for ; Tue, 23 Dec 2003 01:10:02 -0800 (PST) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle (beagle [193.175.132.100])hBN99rb14036; Tue, 23 Dec 2003 10:09:53 +0100 (MET) Date: Tue, 23 Dec 2003 10:09:53 +0100 (CET) From: Harti Brandt To: Peter Jeremy In-Reply-To: <20031222080115.GA645@server.vk2pj.dyndns.org> Message-ID: <20031223100005.X53278@beagle.fokus.fraunhofer.de> References: <200312212239.38557.craig@xfoil.gank.org> <20031222080115.GA645@server.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: An experiment: 64-bit time_t on IA-32 (5.2-RC) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2003 09:10:06 -0000 On Mon, 22 Dec 2003, Peter Jeremy wrote: PJ>On Sun, Dec 21, 2003 at 10:39:38PM -0600, Craig Boston wrote: PJ>>The initial compile went off without a hitch. This is no doubt due to hard PJ>>work by the people working on the ia64, amd64, etc. ports where time_t is PJ>>64-bits by default. A side note, I noticed that the alpha and sparc64 ports PJ>>seem to be using 32-bit time_t, which surprised me. PJ> PJ>Alpha has a 32-bit time_t for compatability with Tru64. There are PJ>occasional discussions on -alpha regarding the pros and cons of moving PJ>to 64-bits. I suspect SPARC is 32 bit for Solaris compatability. time_t is a long on Solaris and hence 64bit (when compiling in 64-bit mode). Compatibility (with Solaris and Posix) requires time_t to be 64-bit and tv_sec to be a time_t. I hope we will get this right until 5.3 goes out. I'm running with a 64-bit time_t for two months now without problems. harti -- harti brandt, http://www.fokus.fraunhofer.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fraunhofer.de, harti@freebsd.org