View previous topic :: View next topic |
Author |
Message |
aharel n00b
Joined: 16 Nov 2011 Posts: 36
|
Posted: Mon May 06, 2013 9:57 am Post subject: linux-headers: why are they upgraded? glibc independent?! |
|
|
Searching for information about linux-headers upgrades, I found that
1. it's OK to upgrade the headers without upgrading the kernel, because the developers put lots of work to ensure backward compatibility. Old programs only use the old, backward compatible stuff anyway.
2. one probably has to rebuild the packages that depend on linux-headers, in particular glibc. And that's really important so just rebuild glibc with no further thought.
BUT
1. This begs the question: what's the upside of upgrading the headers while using an old kernel? Why are the developers working so hard? If new programs try to use the new stuff, how will this work? Are there compiler directives that will support new headers with almost-as-good functionality from the old kernels?
2. But "equery depends linux-headers" does not report glibc as one of the packages that depend on linux-headers. So is this hint of "always rebuild glibc" outdated? |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Mon May 06, 2013 11:40 pm Post subject: Re: linux-headers: why are they upgraded? glibc independent? |
|
|
aharel wrote: | upgrade the headers without upgrading the kernel |
That certainly doesn't sound safe to me. I wouldn't recommend it.
It's pointless to upgrade just the headers. Glibc must be recompiled, to use the new headers. |
|
Back to top |
|
|
Josef.95 Advocate
Joined: 03 Sep 2007 Posts: 4554 Location: Germany
|
Posted: Tue May 07, 2013 2:43 am Post subject: |
|
|
aharel wrote: | 2. But "equery depends linux-headers" does not report glibc as one of the packages that depend on linux-headers. So is this hint of "always rebuild glibc" outdated? |
glibc depends on Virtial-Package --> virtual/os-headers
See Code: | equery depends os-headers |
|
|
Back to top |
|
|
|