PowerPC 64-bit time_t
Justin Hibbits
jhibbits at freebsd.org
Thu Jun 9 20:38:37 UTC 2016
On Jun 9, 2016, at 4:22 PM, Garance A Drosehn wrote:
> 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 at rpi.edu
> Senior Systems Programmer or gad at FreeBSD.org
> Rensselaer Polytechnic Institute; Troy, NY; USA
Thanks. The UPDATING.64BIT file you created for the upgrade path for
sparc64 is an excellent source for the headaches involved with source
based upgrades from 32-bit time_t to 64-bit.
- Justin
More information about the freebsd-arch
mailing list