* [gentoo-user] linux-headers-2.6.38
@ 2011-08-10 9:00 Pandu Poluan
2011-08-10 13:02 ` [gentoo-user] linux-headers-2.6.38 che
0 siblings, 1 reply; 7+ messages in thread
From: Pandu Poluan @ 2011-08-10 9:00 UTC (permalink / raw
To: gentoo-user
While I'm about to do an `emerge -e @world` ...
Should I `emerge -av "=sys-kernel/linux-headers-2.6.38" ` ?
Any benefits over the current "sys-kernel/linux-headers-2.6.36.1" ?
Rgds,
--
Pandu E Poluan
~ IT Optimizer ~
• Blog : http://pepoluan.tumblr.com
• Linked-In : http://id.linkedin.com/in/pepoluan
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-user] Re: linux-headers-2.6.38
2011-08-10 9:00 [gentoo-user] linux-headers-2.6.38 Pandu Poluan
@ 2011-08-10 13:02 ` che
2011-08-10 13:36 ` Pandu Poluan
2011-08-11 0:50 ` Nikos Chantziaras
0 siblings, 2 replies; 7+ messages in thread
From: che @ 2011-08-10 13:02 UTC (permalink / raw
To: gentoo-user
Pandu Poluan <pandu@poluan.info> writes:
> While I'm about to do an `emerge -e @world` ...
>
> Should I `emerge -av "=sys-kernel/linux-headers-2.6.38" ` ?
>
> Any benefits over the current "sys-kernel/linux-headers-2.6.36.1" ?
There is at least a theoretical benifit if you set NPTL_KERN_VER=2.6.38
in make.conf and recompile glibc. That way glibc could use things not
present in older kernels.
I haven't researched if there are any such things, perhaps someone else
knows.
Also, beware. If you recompile glibc withe NPTL_KERN_VER set, you can't
boot with older kernels anymore.
--
Christer
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Re: linux-headers-2.6.38
2011-08-10 13:02 ` [gentoo-user] linux-headers-2.6.38 che
@ 2011-08-10 13:36 ` Pandu Poluan
2011-08-10 13:58 ` che
2011-08-11 0:50 ` Nikos Chantziaras
1 sibling, 1 reply; 7+ messages in thread
From: Pandu Poluan @ 2011-08-10 13:36 UTC (permalink / raw
To: gentoo-user
On Wed, Aug 10, 2011 at 20:02, <che@chrekh.se> wrote:
> Pandu Poluan <pandu@poluan.info> writes:
>
>> While I'm about to do an `emerge -e @world` ...
>>
>> Should I `emerge -av "=sys-kernel/linux-headers-2.6.38" ` ?
>>
>> Any benefits over the current "sys-kernel/linux-headers-2.6.36.1" ?
>
> There is at least a theoretical benifit if you set NPTL_KERN_VER=2.6.38
> in make.conf and recompile glibc. That way glibc could use things not
> present in older kernels.
>
> I haven't researched if there are any such things, perhaps someone else
> knows.
>
Hmmm... without a reference, I'd rather not do something too drastic...
> Also, beware. If you recompile glibc withe NPTL_KERN_VER set, you can't
> boot with older kernels anymore.
>
Can you explain what did you mean with "older kernels"? Kernels older
than a certain version, or a previously-compiled kernel on my system?
Anyways, this is a fresh install, so I don't think I'll have any trouble.
But will still appreciate a reference and/or explanation re:
NPTL_KERN_VER, though.
Rgds
--
FdS Pandu E Poluan
~ IT Optimizer ~
• Blog : http://pepoluan.tumblr.com
• Linked-In : http://id.linkedin.com/in/pepoluan
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-user] Re: linux-headers-2.6.38
2011-08-10 13:36 ` Pandu Poluan
@ 2011-08-10 13:58 ` che
0 siblings, 0 replies; 7+ messages in thread
From: che @ 2011-08-10 13:58 UTC (permalink / raw
To: gentoo-user
Pandu Poluan <pandu@poluan.info> writes:
> On Wed, Aug 10, 2011 at 20:02, <che@chrekh.se> wrote:
>> Also, beware. If you recompile glibc withe NPTL_KERN_VER set, you can't
>> boot with older kernels anymore.
>>
>
> Can you explain what did you mean with "older kernels"? Kernels older
> than a certain version, or a previously-compiled kernel on my system?
>
Older then the kernel you specified, previously-compiled kernels not
older than that is still fine.
Any executable linked to glibc will fail unconditionally with
"FATAL: Kernel too old", including init.
> Anyways, this is a fresh install, so I don't think I'll have any trouble.
>
> But will still appreciate a reference and/or explanation re:
> NPTL_KERN_VER, though.
glibc will be configured with --enable-kernel=2.6.38
The configure help says this;
--enable-kernel=VERSION compile for compatibility with kernel not older than VERSION
--
Christer
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-user] Re: linux-headers-2.6.38
2011-08-10 13:02 ` [gentoo-user] linux-headers-2.6.38 che
2011-08-10 13:36 ` Pandu Poluan
@ 2011-08-11 0:50 ` Nikos Chantziaras
2011-08-11 7:37 ` Pandu Poluan
2011-08-11 8:07 ` che
1 sibling, 2 replies; 7+ messages in thread
From: Nikos Chantziaras @ 2011-08-11 0:50 UTC (permalink / raw
To: gentoo-user
On 08/10/2011 04:02 PM, che@chrekh.se wrote:
> Pandu Poluan<pandu@poluan.info> writes:
>
>> While I'm about to do an `emerge -e @world` ...
>>
>> Should I `emerge -av "=sys-kernel/linux-headers-2.6.38" ` ?
>>
>> Any benefits over the current "sys-kernel/linux-headers-2.6.36.1" ?
>
> There is at least a theoretical benifit if you set NPTL_KERN_VER=2.6.38
> in make.conf and recompile glibc. That way glibc could use things not
> present in older kernels.
>
> I haven't researched if there are any such things, perhaps someone else
> knows.
glibc will use things in newer kernels anyway. You don't need to use
NPTL_KERN_VER=2.6.38 in order for glibc to use 2.6.38 features; it will
do that by default. NPTL_KERN_VER only omits fallbacks for older
kernels. It's there to reduce the size of glibc. The size difference
is very small though.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Re: linux-headers-2.6.38
2011-08-11 0:50 ` Nikos Chantziaras
@ 2011-08-11 7:37 ` Pandu Poluan
2011-08-11 8:07 ` che
1 sibling, 0 replies; 7+ messages in thread
From: Pandu Poluan @ 2011-08-11 7:37 UTC (permalink / raw
To: gentoo-user
On Thu, Aug 11, 2011 at 07:50, Nikos Chantziaras <realnc@arcor.de> wrote:
> On 08/10/2011 04:02 PM, che@chrekh.se wrote:
>>
>> There is at least a theoretical benifit if you set NPTL_KERN_VER=2.6.38
>> in make.conf and recompile glibc. That way glibc could use things not
>> present in older kernels.
>
> glibc will use things in newer kernels anyway. You don't need to use
> NPTL_KERN_VER=2.6.38 in order for glibc to use 2.6.38 features; it will do
> that by default. NPTL_KERN_VER only omits fallbacks for older kernels.
> It's there to reduce the size of glibc. The size difference is very small
> though.
>
Thanks for the explanation, Nikos. Since the size difference is very
small, I'll just use NPTL_KER_VER as it is (that is, not mucking with
it).
Rgds,
--
FdS Pandu E Poluan
~ IT Optimizer ~
• Blog : http://pepoluan.tumblr.com
• Linked-In : http://id.linkedin.com/in/pepoluan
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-user] Re: linux-headers-2.6.38
2011-08-11 0:50 ` Nikos Chantziaras
2011-08-11 7:37 ` Pandu Poluan
@ 2011-08-11 8:07 ` che
1 sibling, 0 replies; 7+ messages in thread
From: che @ 2011-08-11 8:07 UTC (permalink / raw
To: gentoo-user
Nikos Chantziaras <realnc@arcor.de> writes:
>
> glibc will use things in newer kernels anyway. You don't need to use
> NPTL_KERN_VER=2.6.38 in order for glibc to use 2.6.38 features; it
> will do that by default. NPTL_KERN_VER only omits fallbacks for older
> kernels. It's there to reduce the size of glibc. The size difference
> is very small though.
That seems likely. Thanks.
Do you know if linux-headers-2.6.38 is needed for that to work?
I would guess it is.
--
Christer
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-08-11 8:11 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-10 9:00 [gentoo-user] linux-headers-2.6.38 Pandu Poluan
2011-08-10 13:02 ` [gentoo-user] linux-headers-2.6.38 che
2011-08-10 13:36 ` Pandu Poluan
2011-08-10 13:58 ` che
2011-08-11 0:50 ` Nikos Chantziaras
2011-08-11 7:37 ` Pandu Poluan
2011-08-11 8:07 ` che
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox