From owner-freebsd-arch@freebsd.org Thu Jun 9 20:11:01 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 E9ECBB70CE9 for ; Thu, 9 Jun 2016 20:11:01 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from c.mail.sonic.net (c.mail.sonic.net [64.142.111.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D96CF1ACB for ; Thu, 9 Jun 2016 20:11:01 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from zeppelin.tachypleus.net (75-101-50-44.static.sonic.net [75.101.50.44]) (authenticated bits=0) by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPSA id u59K09dD009900 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Thu, 9 Jun 2016 13:00:10 -0700 Subject: Re: PowerPC 64-bit time_t To: freebsd-arch@freebsd.org References: <3FB65E20-0376-4041-86DE-F8CAB7F37314@freebsd.org> <20160609193128.GB34204@spindle.one-eyed-alien.net> From: Nathan Whitehorn Message-ID: Date: Thu, 9 Jun 2016 13:00:09 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <20160609193128.GB34204@spindle.one-eyed-alien.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Sonic-CAuth: UmFuZG9tSVb4DBIvUf06hjoz2o7rK2YNuPDbcDdapAGqFlbsTui3MPjYYhOFUngepkM937bBXptOHh41Yi0DLPb57KOM13QxcMt03rUqNRs= X-Sonic-ID: C;lrgcxXwu5hGoVLEI9Bb3tg== M;nOp/xXwu5hGoVLEI9Bb3tg== X-Spam-Flag: No X-Sonic-Spam-Details: 0.0/5.0 by cerberusd 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:11:02 -0000 On 06/09/16 12:31, Brooks Davis wrote: > On Thu, Jun 09, 2016 at 01:41:52PM -0400, 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. > For i386, the only practical option is going to be a new TARGET_ARCH and > likely ELF machine type. > > For powerpc, I'd be tempted to just break the ABI and leave a way to switch > it back for people who build products where the ABI change is an issue. > > -- Brooks I would agree with this. -Nathan