32 bit time_t

Gary E. Miller gem at rellim.com
Wed Apr 19 18:38:02 UTC 2017


Yo All!

Uh, oh.  My boo-boo.  I got this wrong.

Gentoo stable on RasPi has 32 bit time_t:

Checking sizeof long                                            : 4 
Checking sizeof time_t (time.h)                                 : 4 

WARNING: This system has a 32-bit time_t. 
WARNING: Your ntpd will fail on 2038-01-19T03:14:07Z. 

# uname -a
Linux pi3 4.9.17-v7+ #1 SMP Wed Mar 29 12:17:48 PDT 2017 armv7l ARMv7 Processor rev 4 (v7l) BCM2835 GNU/Linux

I'm thinking the warning also needs to be in the binary, must users
never compile from source.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20170419/d0ed8c7d/attachment.bin>


More information about the devel mailing list