Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linuxHeaders: 5.9.8 -> 5.10.4 #106916

Merged
merged 1 commit into from Dec 31, 2020
Merged

Conversation

TredwellGit
Copy link
Member

Motivation for this change

https://sourceware.org/glibc/wiki/FAQ#What_version_of_the_Linux_kernel_headers_should_be_used.3F

The headers from the most recent Linux kernel should be used. The headers used while compiling the GNU C library and the kernel binary used when using the library do not need to match. The GNU C library runs without problems on kernels that are older than the kernel headers used. The other way round (compiling the GNU C library with old kernel headers and running on a recent kernel) does not necessarily work as expected. For example you can't use new kernel features if you used old kernel headers to compile the GNU C library.

Things done

@teto
Copy link
Member

teto commented Dec 15, 2020

maybe it should be defined according to linux_latest:version then or linux_latest.headers (dunno if that exists)

@TredwellGit
Copy link
Member Author

#103575 (comment)

@eyJhb eyJhb mentioned this pull request Dec 16, 2020
10 tasks
@TredwellGit
Copy link
Member Author

I rebuilt my system with this.

@srid
Copy link
Contributor

srid commented Dec 17, 2020

Do we also need a PR that upgrades the main linux kernel to 5.10?

@TredwellGit
Copy link
Member Author

No.

runs without problems on kernels that are older than the kernel headers used.

@TredwellGit
Copy link
Member Author

If someone merges this, then consider merging #106324 as well since they both require rebuilding stdenv.

@TredwellGit TredwellGit changed the title linuxHeaders: 5.9.8 -> 5.10 linuxHeaders: 5.9.8 -> 5.10.3 Dec 29, 2020
@TredwellGit TredwellGit changed the title linuxHeaders: 5.9.8 -> 5.10.3 linuxHeaders: 5.9.8 -> 5.10.4 Dec 30, 2020
@TredwellGit
Copy link
Member Author

@NeQuissimus, since you update the Linux package would you please consider merging this?

@NeQuissimus NeQuissimus merged commit da806f3 into NixOS:staging Dec 31, 2020
@TredwellGit TredwellGit deleted the linuxHeaders branch December 31, 2020 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants