PowerPC 64-bit time_t

Brooks Davis brooks at freebsd.org
Thu Jun 9 19:31:36 UTC 2016


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20160609/90139881/attachment.sig>


More information about the freebsd-arch mailing list