
Hi Matt, Dave út 14. 7. 2020 v 8:18 odesílatel Matt Housh <jaeger@crux.ninja> napsal:
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 _______________________________________________ CRUX mailing list CRUX@lists.crux.nu https://lists.crux.nu/mailman/listinfo/crux
I apologize for what I wrote. By no means did I want to confuse anyone. Milan -- Remember, no question is too stupid and no problem too small -- We've all been beginners