


Code: Select all
$ eshowkw gentoo-sources
Keywords for sys-kernel/gentoo-sources:
| | u |
| a a p s a r | n |
| m r h p p l i i m m s | e u s | r
| d a m p p c a x p a s 6 i 3 | a s l | e
| 6 r 6 p p 6 r 8 h 6 c 8 p 9 | p e o | p
| 4 m 4 a c 4 c 6 a 4 v k s 0 | i d t | o
--------------+-----------------------------+---------------+-------
4.4.257 | + + ~ ~ + + + + ~ ~ o o ~ ~ | 6 o 4.4.257 | gentoo
--------------+-----------------------------+---------------+-------
4.4.261 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o o ~ ~ | 6 o 4.4.261 | gentoo
--------------+-----------------------------+---------------+-------
4.4.262 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o o ~ ~ | 6 o 4.4.262 | gentoo
--------------+-----------------------------+---------------+-------
4.4.263 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o o ~ ~ | 6 o 4.4.263 | gentoo
--------------+-----------------------------+---------------+-------
4.4.264 | + + ~ ~ ~ ~ + + ~ ~ o o ~ ~ | 6 o 4.4.264 | gentoo
--------------+-----------------------------+---------------+-------
4.4.265 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o o ~ ~ | 6 o 4.4.265 | gentoo
--------------+-----------------------------+---------------+-------
4.9.257 | + + ~ ~ + + + + ~ ~ o o ~ ~ | 6 o 4.9.257 | gentoo
--------------+-----------------------------+---------------+-------
4.9.261 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o o ~ ~ | 6 o 4.9.261 | gentoo
--------------+-----------------------------+---------------+-------
4.9.262 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o o ~ ~ | 6 o 4.9.262 | gentoo
--------------+-----------------------------+---------------+-------
4.9.263 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o o ~ ~ | 6 o 4.9.263 | gentoo
--------------+-----------------------------+---------------+-------
4.9.264 | + + ~ ~ ~ ~ + + ~ ~ o o ~ ~ | 6 o 4.9.264 | gentoo
--------------+-----------------------------+---------------+-------
4.9.265 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o o ~ ~ | 6 o 4.9.265 | gentoo
--------------+-----------------------------+---------------+-------
4.14.221 | + + ~ ~ + + + + ~ ~ o o ~ ~ | 6 o 4.14.221 | gentoo
--------------+-----------------------------+---------------+-------
4.14.225 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o o ~ ~ | 6 o 4.14.225 | gentoo
--------------+-----------------------------+---------------+-------
4.14.226 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o o ~ ~ | 6 o 4.14.226 | gentoo
--------------+-----------------------------+---------------+-------
4.14.227 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o o ~ ~ | 6 o 4.14.227 | gentoo
--------------+-----------------------------+---------------+-------
4.14.228 | + + ~ ~ ~ ~ + + ~ ~ o o ~ ~ | 6 o 4.14.228 | gentoo
--------------+-----------------------------+---------------+-------
4.14.229 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o o ~ ~ | 6 o 4.14.229 | gentoo
--------------+-----------------------------+---------------+-------
4.19.175 | + + ~ ~ + + + + ~ ~ o o ~ ~ | 6 o 4.19.175 | gentoo
--------------+-----------------------------+---------------+-------
4.19.181 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o o ~ ~ | 6 o 4.19.181 | gentoo
--------------+-----------------------------+---------------+-------
4.19.182 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o o ~ ~ | 6 o 4.19.182 | gentoo
--------------+-----------------------------+---------------+-------
4.19.183 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o o ~ ~ | 6 o 4.19.183 | gentoo
--------------+-----------------------------+---------------+-------
4.19.184 | + + ~ ~ ~ ~ + + ~ ~ o o ~ ~ | 6 o 4.19.184 | gentoo
--------------+-----------------------------+---------------+-------
4.19.185 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o o ~ ~ | 6 o 4.19.185 | gentoo
--------------+-----------------------------+---------------+-------
5.4.97 | + + + ~ + + + + ~ ~ o o ~ ~ | 6 o 5.4.97 | gentoo
--------------+-----------------------------+---------------+-------
5.4.105 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o o ~ ~ | 6 o 5.4.105 | gentoo
--------------+-----------------------------+---------------+-------
5.4.106 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o o ~ ~ | 6 o 5.4.106 | gentoo
--------------+-----------------------------+---------------+-------
5.4.107 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o o ~ ~ | 6 o 5.4.107 | gentoo
--------------+-----------------------------+---------------+-------
5.4.108 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o o ~ ~ | 6 o 5.4.108 | gentoo
--------------+-----------------------------+---------------+-------
5.4.109 | + + + ~ ~ ~ + + ~ ~ o o ~ ~ | 6 o 5.4.109 | gentoo
--------------+-----------------------------+---------------+-------
5.4.110 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o o ~ ~ | 6 o 5.4.110 | gentoo
--------------+-----------------------------+---------------+-------
5.10.24 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o ~ ~ | 6 o 5.10.24 | gentoo
--------------+-----------------------------+---------------+-------
5.10.25 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o ~ ~ | 6 o 5.10.25 | gentoo
--------------+-----------------------------+---------------+-------
5.10.26 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o ~ ~ | 6 o 5.10.26 | gentoo
--------------+-----------------------------+---------------+-------
5.10.27 | + + + ~ ~ ~ + + ~ ~ ~ o ~ ~ | 6 o 5.10.27 | gentoo
--------------+-----------------------------+---------------+-------
[I]5.10.28 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o ~ ~ | 6 o 5.10.28 | gentoo
--------------+-----------------------------+---------------+-------
5.11.6 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o ~ ~ | 6 o 5.11.6 | gentoo
--------------+-----------------------------+---------------+-------
5.11.7 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o ~ ~ | 6 o 5.11.7 | gentoo
--------------+-----------------------------+---------------+-------
5.11.8-r1 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o ~ ~ | 6 o 5.11.8-r1 | gentoo
--------------+-----------------------------+---------------+-------
5.11.9 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o ~ ~ | 6 o 5.11.9 | gentoo
--------------+-----------------------------+---------------+-------
5.11.10 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o ~ ~ | 6 o 5.11.10 | gentoo
--------------+-----------------------------+---------------+-------
5.11.11 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o ~ ~ | 6 o 5.11.11 | gentoo
--------------+-----------------------------+---------------+-------
5.11.12 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o ~ ~ | 6 o 5.11.12 | gentooCode: Select all
>=sys-kernel/gentoo-sources-5.5I highly recommend to add this also:figueroa wrote:[...]I have the following in /etc/portage/package.mask:Code: Select all
>=sys-kernel/gentoo-sources-5.5
Code: Select all
>=sys-kernel/linux-headers-5.5Why, I mean glibc upstream recommends to use latest headers regardless of running kernel.pietinger wrote:I highly recommend to add this also:figueroa wrote:[...]I have the following in /etc/portage/package.mask:Code: Select all
>=sys-kernel/gentoo-sources-5.5Code: Select all
>=sys-kernel/linux-headers-5.5
https://sourceware.org/glibc/wiki/FAQ#What_version_of_the_Linux_kernel_headers_should_be_used.3Fpietinger wrote:Really ? I cant believe.Ionen wrote:Why, I mean glibc upstream recommends to use latest headers regardless of running kernel.
Not every point releases comes into the stable tree. That's been making stable kernel maintenance more like a monthly activity, more or less. I'm happy with that pace of activity.Goverp wrote:IIUC just 'cos it's LTS doesn't mean there won't be fixes (backported from latest and greatest) every week, but they should be relatively painless.
There may be fewer changes, but they still happen. 5.10 has had 28 updates; 5.4, 110, and 4.9 is up to 256!

Absolutely nothing, unless said program actually calls the new ABI. Code written to the pre-existing interface would not notice any additions. I could amend my kernel headers with last week's grocery list expressed as a series of function prototypes*, rebuild my entire system, and nothing untoward would happen--because no code on my system orders groceries.pietinger wrote:You know what happens if you compile a programm against a header-file telling there is a new abi in the kernel ... and the kernel itself doesnt have it ... ?!
If "really" wanted to, removing that support would involve using --enable-kernel= on glibc, in case of glibc-2.33 it has code specific to kernels up to 5.8.0 on amd64 (5.4.0 for 2.32), if you wanted to strip all the old cruft it'd be --enable-kernel=5.8.0 and then "now" it wouldn't run on old kernels -- not that this is really worthwhile.Hu wrote:Typically, glibc handles this transparently by observing that the running kernel lacks the new feature, and falling back to an older system call that can do the job.
I had read this recommendation, but I had in my mind that it is wrong to use newer linux headers than your used kernel version. But I was not able to remember why I had this in my mind. By accident I found today the source:Ionen wrote:Why, I mean glibc upstream recommends to use latest headers regardless of running kernel.
https://www.kernel.org/doc/html/latest/ ... stall.htmlKernel headers are backwards compatible, but not forwards compatible. This means that a program built against a C library using older kernel headers should run on a newer kernel (although it may not have access to new features), but a program built against newer kernel headers may not work on an older kernel.
... and how Gentoo is handling linux-headers: If you emerge stable gentoo-sources (6.1 at the moment) you will get (automatically) linux-headers 6.1 ... and not 6.3 (newest at the moment).Hu wrote:[...] Only special programs that bypass glibc and use kernel headers directly are at risk of having a higher minimum due to a kernel header upgrade.