On 2020-07-13 21:06, david mccooey wrote:
> One of the files downloaded was /usr/ports/core/glibc/linux-4.19.24.tar.gz.
>
> This "pkgmk" appears to have compiled glibc with the 4.19.24 kernel
> header files.
>
> How do I make it use the 5.4.49 kernel header files?
>
> The version "4.29.24" comes from the "source" line in the Pkginfo file.
>
> Should I edit that line?
Dave,
You should not do this. You should leave the glibc package alone unless
you REALLY want to recompile everything on your system. The kernel
headers against which glibc is compiled do NOT need to match your
running kernel at all. If you DO change glibc, though, you should
recompile everything else installed to match, otherwise you're inviting
instability. I would not recommend this level of effort at all.
The only real link between your kernel and glibc in this case is the
line which reads '--enable-kernel=4.9'. This configures glibc to be able
to work with a 4.9 *or higher* version kernel. You do not need to change
this or update the headers in the glibc port to use a newer kernel.
Regards,
Matt