time64 ABI fix coming to upstream glibc
![](https://seccdn.libravatar.org/avatar/4ece77be874172309e7b5c44ff0281e2.jpg?s=120&d=mm&r=g)
The
![](https://seccdn.libravatar.org/avatar/4511967db188146680b16bdb4743a073.jpg?s=120&d=mm&r=g)
Nah, until then somebody will think of a way to overcome it!
We'll not be using the same systems were using today!
No, wait, that's what we've been telling ourselves since the 1960s... 😂
Em qui., 2 de mai. de 2024 08:05, Dominik Heidler
Am 02.05.24 um 12:34 schrieb Florian Weimer:
To extend the usable life-time of these interfaces somewhat, glibc 2.40 changes epoch fields to unsigned types in these structures.
Introducing the Y2106 problem ;)
![](https://seccdn.libravatar.org/avatar/23c080ae997a17e4b7dac91bde1083bc.jpg?s=120&d=mm&r=g)
Luckily openSUSE/SUSE is no longer using and supporting struct utmp,
/run/utmp or /var/log/wtmp, so we don't care anymore.
Thorsten
On Thu, May 2, 2024 at 12:35 PM Florian Weimer
The
and headers had a bug that the on-disk structures defined there could change size on some targets when _TIME_BITS was set to 64. This is obviously wrong because the files are not going to magically change their layout because the application accessing them was built in a specific way. We're going to fix this in glibc upstream on the stable release branches, going all the way back to glibc 3.34 (the first release with this kind of time64 support). After the fix, the _TIME_BITS definition will no longer impact struct layout. Usually, that means epoch fields are 32-bits wide, to match co-installable architectures. To extend the usable life-time of these interfaces somewhat, glibc 2.40 changes epoch fields to unsigned types in these structures. This change is specific to the upcoming glibc 2.40 release, I do not plan to backport it.
Thanks, Florian
-- Thorsten Kukuk, Distinguished Engineer, Senior Architect, Future Technologies SUSE Software Solutions Germany GmbH, Frankenstraße 146, 90461 Nuernberg, Germany Managing Director: Ivo Totev, Andrew McDonald, Werner Knoblich (HRB 36809, AG Nürnberg)
participants (4)
-
Dominik Heidler
-
Erico Mendonca
-
Florian Weimer
-
Thorsten Kukuk