Question: Is there a plan when to require a higher Linux kernel version than 3.2?

Stefan Liebler stli@linux.ibm.com
Tue Sep 20 09:56:56 GMT 2022


On 20/09/2022 11:40, Xi Ruoyao wrote:
> On Tue, 2022-09-20 at 11:11 +0200, Stefan Liebler via Libc-alpha wrote:
>> Hi,
>>
>> the minimum required Linux kernel version is currently 3.2 which was set
>> with commit 5b4ecd3f95695ef593e4474b4ab5a117291ba5fc
>> "Require Linux 3.2 except on x86 / x86_64, 3.2 headers everywhere." back
>> in 2016.
>>
>> Is there a plan when to require a higher Linux kernel version and which
>> version will then be used as minimum?
>>
>> Some background on my question:
>> On s390x, unfortunately the direct socket syscalls are not used due to
>> the __ASSUME_* macro undefines in
>> sysdeps/unix/sysv/linux/s390/kernel-features.h if Linux kernel version
>> <4.3 is used.
> 
> You can use --enable-kernel=4.3 in your build if you won't use it on
> Linux < 4.3.
> 
Yes, you are right.
For my custom build I can use this configure flag.
But I think the distros will configure glibc either with their own
defined kernel-version or will align to the minimum kernel version used
with glibc-upstream.


More information about the Libc-alpha mailing list