From owner-freebsd-arch@freebsd.org Thu Jun 9 20:26:18 2016 Return-Path: Delivered-To: freebsd-arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 80529B700AB for ; Thu, 9 Jun 2016 20:26:18 +0000 (UTC) (envelope-from drosih@rpi.edu) Received: from smtp9.server.rpi.edu (smtp9.server.rpi.edu [128.113.2.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "canit.localdomain", Issuer "canit.localdomain" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 55B3B1517; Thu, 9 Jun 2016 20:26:17 +0000 (UTC) (envelope-from drosih@rpi.edu) Received: from smtp-auth3.server.rpi.edu (smtp-auth3.server.rpi.edu [128.113.2.233]) by smtp9.server.rpi.edu (8.14.4/8.14.4/Debian-8) with ESMTP id u59KMoh6022459 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 9 Jun 2016 16:22:50 -0400 Received: from smtp-auth3.server.rpi.edu (localhost [127.0.0.1]) by smtp-auth3.server.rpi.edu (Postfix) with ESMTP id 6E46A5815A; Thu, 9 Jun 2016 16:22:50 -0400 (EDT) Received: from [128.113.24.47] (gilead-qc124.netel.rpi.edu [128.113.124.17]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: drosih) by smtp-auth3.server.rpi.edu (Postfix) with ESMTPSA id 621D058156; Thu, 9 Jun 2016 16:22:50 -0400 (EDT) From: "Garance A Drosehn" To: "Justin Hibbits" Cc: freebsd-arch@freebsd.org Subject: Re: PowerPC 64-bit time_t Date: Thu, 09 Jun 2016 16:22:50 -0400 Message-ID: In-Reply-To: <3FB65E20-0376-4041-86DE-F8CAB7F37314@freebsd.org> References: <3FB65E20-0376-4041-86DE-F8CAB7F37314@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Mailer: MailMate (1.9.4r5234) X-Virus-Scanned: ClamAV using ClamSMTP X-Bayes-Prob: 0.0001 (Score 0, tokens from: outgoing, @@RPTN) X-Spam-Score: 0.00 () [Hold at 10.10] X-CanIt-Incident-Id: 02R4ImOqG X-CanIt-Geo: ip=128.113.124.17; country=US; region=New York; city=Troy; latitude=42.7495; longitude=-73.5951; http://maps.google.com/maps?q=42.7495,-73.5951&z=6 X-CanItPRO-Stream: outgoing X-Canit-Stats-ID: Bayes signature not available X-Scanned-By: CanIt (www . roaringpenguin . com) on 128.113.2.229 X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jun 2016 20:26:18 -0000 On 9 Jun 2016, at 13:41, Justin Hibbits wrote: > At the devsummit earlier today I mentioned for FreeBSD 12 wanting > 64-bit time_t across the board. It was pointed out that the only ones > with 32-bit time_t are i386 and powerpc (32-bit). I've made the > changes necessary for at least kernel (world is still building right > now), but it's obviously an ABI and KBI incompatible change. > Addressing KBI is a nonissue, as that's expected to break at major > releases. ABI is another issue. I'm unsure how to properly address > ABI breakage -- bumping libc's .so version, or reversion all symbols > that use something with time_t, or something else. If I can address > it before the code freeze, it could be done for FreeBSD 11, which > leaves about 6 hours from now. > > Any thoughts? I don't know if it would help to look at the changes done back when sparc64 went to a 64-bit time_t. I did a lot of that work, but I'll have to admit I remember almost nothing about the changes. -- Garance Alistair Drosehn = drosih@rpi.edu Senior Systems Programmer or gad@FreeBSD.org Rensselaer Polytechnic Institute; Troy, NY; USA