LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 05-15-2017, 06:41 PM   #1
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Rep: Reputation: 120Reputation: 120
kernel headers in current


Up to date current's kernel is 4.11.0rc8 Why are kernel headers 4.8.15?
 
Old 05-16-2017, 12:54 AM   #2
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,542

Rep: Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311
Quote:
Originally Posted by justwantin View Post
Up to date current's kernel is 4.11.0rc8 Why are kernel headers 4.8.15?

https://sourceware.org/glibc/wiki/FA...uld_be_used.3F

The kernel-headers package needs to be the same as the version of kernel-headers that glibc was compiled with (that's not strictly true, but I always use it as a rule of thumb). I upgrade the kernel reasonably frequently and I don't want to rebuild glibc every time for no benefit. The private -current currently has Linux 4.11.1, the new gcc toolchain and kernel-headers in sync. Since glibc has been upgraded, it's now compiled against those new kernel headers.
 
Old 05-16-2017, 03:03 AM   #3
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Original Poster
Rep: Reputation: 120Reputation: 120
Thanks for that! Is there ever a chance that the spread between versions becomes so great that compiling a kernel becomes problematic?
 
Old 05-16-2017, 03:17 AM   #4
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,542

Rep: Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311
Quote:
Originally Posted by justwantin View Post
Thanks for that! Is there ever a chance that the spread between versions becomes so great that compiling a kernel becomes problematic?
No. The kernel headers come from having built the kernel. Check out source/k/kernel.SlackBuild.

Last edited by drmozes; 05-16-2017 at 03:21 AM.
 
Old 05-25-2017, 12:59 PM   #5
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,471
Blog Entries: 2

Rep: Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980
On a running system (ie server) one upgrades a kernel for security only and leaves the shipped glibc alone (usually) over the lifespan of the (again, usually clean) install.
Unless a found security flaw also mandates the update of the shipped glibc.

Usually, one doesn't run a 7/24 server off -current.

Usually, one switches kernels to obtain missing (new?) functionality vs the shipped vanilla kernel on a desktop/laptop (ie workstation) system.

More recently, "headless" laptops (read decapitated, up-cycled) are ever more popular servers for superior comparative power to performance ratios.

So TL;DR:
just don't worry about glibc, and keep headers in sync to the running kernel, as drMozes kindly advises , they're needed to link anything You build to the running kernel's sys-calls.

Last edited by SCerovec; 05-25-2017 at 01:01 PM. Reason: 're
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
The headers for the current kernel were not found. jbruyet Linux - Software 10 08-13-2014 05:38 PM
[SOLVED] Must original kernel headers 2.6.37 be reinstall before recompile of current? NightSky Slackware 13 07-13-2012 09:06 PM
Install kernel headers (current kernel only) squashed Fedora 2 02-24-2010 10:08 AM
Zypper wants to dl the wrong kernel headers... YaST doesnt have current headers zorb SUSE / openSUSE 2 11-28-2009 11:12 AM
Slackware64-current missing kernel headers? UpAndUp Slackware 2 08-26-2009 07:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 05:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration