Mark H Weaver <m...@netris.org> skribis:

> l...@gnu.org (Ludovic Courtès) writes:

[...]

>> Now, I think libc’s --enable-kernel can specify a baseline older than
>> the available kernel headers.  So it may be that we can use 3.14 headers
>> but build a libc that assumes a kernel possibly as old as 3.4.
>
> One data point: we're running Guix and also Nginx compiled with Guix on
> Hydra which runs a 2.6.x kernel, and it seems to work.
>
> Another data point: [GNU/]Linux From Scratch uses headers from Linux
> 3.19 and configures GNU libc with --enable-kernel=2.6.32.  As I recall
> they've been doing this for years, always using headers from the most
> recent kernel but configuring libc to support older kernels.
>
> and another: Debian currently builds their libc against headers from
> Linux 3.12.6 and with --enable-kernel=2.6.32.
>
> In summary, I think using headers from 3.14 would be fine.

Indeed, so let’s do that.

Thanks for the analysis and confirmation!

Ludo’.

Reply via email to