Upcoming glibc-2.42 release
H. Peter Anvin
hpa@zytor.com
Tue Jul 1 18:26:59 GMT 2025
On July 1, 2025 11:23:28 AM PDT, Florian Weimer <fweimer@redhat.com> wrote:
>* H. Peter Anvin:
>
>> So here is a list of changes (excluding comments-only changes) to the
>> Linux uapi sockios.h headers:
>>
>> v5.7: sh: include linux/time_types.h for sockios
>> v5.5: y2038: sh: remove timeval/timespec usage from headers
>> v5.1: net: socket: implement 64-bit timestamps [on 32 bits]
>> -> makes a few ioctl numbers sensitive to sizeof(time_t)
>> v4.9: add SOCK_IOC_TYPE, SIOCGSKNS
>> v3.12: Add SIOCGHWTSTAMP ioctl to match SIOCSHWTSTAMP
>> v3.7: uapi files separated out
>>
>> Therefore, for full functionality from <linux/sockios.h>, it seems it needs:
>>
>> v5.7 (May 2020) on SuperH
>> v5.1 (May 2019) on other 32-bit architectures
>> v4.9 (Dec 2016) on 64-bit architectures
>>
>> This is a pretty significant jump in the kernel header requirement
>> over the v3.2 (Jan 2012) which is currently the documented baseline,
>> but that might not be a terrible thing. At least to me it doesn't
>> seem crazily onerous of requiring five year old headers as a *built
>> time* (not runtime) requirement.
>
>It's not glibc build time, though, it's application build time. That's
>a bit more aggressive.
>
>Thanks,
>Florian
>
Yes, although I strongly suspect that if you are stuck at v3.2 headers you will still have problems.
This is only a problem if you are trying to use this new functionality.
The SuperH problem is in asm/sockios.h and thus actually extends to existing glibc, unless I'm mistaken.
More information about the Libc-alpha
mailing list