From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-140110-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id C9AB713800E
	for <garchives@archives.gentoo.org>; Mon, 23 Jul 2012 21:12:40 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 793FDE07A8;
	Mon, 23 Jul 2012 21:12:20 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id D1DF2E0507
	for <gentoo-user@lists.gentoo.org>; Mon, 23 Jul 2012 21:10:18 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
	by smtp.gentoo.org (Postfix) with ESMTP id 674891B43A3
	for <gentoo-user@lists.gentoo.org>; Mon, 23 Jul 2012 21:10:18 +0000 (UTC)
X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org
X-Spam-Flag: NO
X-Spam-Score: -0.746
X-Spam-Level:
X-Spam-Status: No, score=-0.746 tagged_above=-999 required=5.5
	tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, FSL_RCVD_USER=0.001,
	RCVD_NUMERIC_HELO=1.164, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001,
	T_RP_MATCHES_RCVD=-0.01] autolearn=no
Received: from smtp.gentoo.org ([127.0.0.1])
	by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id lch_73Au6E3p for <gentoo-user@lists.gentoo.org>;
	Mon, 23 Jul 2012 21:10:12 +0000 (UTC)
Received: from plane.gmane.org (plane.gmane.org [80.91.229.3])
	(using TLSv1 with cipher AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 42CF31B4398
	for <gentoo-user@gentoo.org>; Mon, 23 Jul 2012 21:10:11 +0000 (UTC)
Received: from list by plane.gmane.org with local (Exim 4.69)
	(envelope-from <lnx-gentoo-user@m.gmane.org>)
	id 1StPtG-0001TK-LZ
	for gentoo-user@gentoo.org; Mon, 23 Jul 2012 23:10:06 +0200
Received: from 64.28.62.15 ([64.28.62.15])
        by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
        id 1AlnuQ-0007hv-00
        for <gentoo-user@gentoo.org>; Mon, 23 Jul 2012 23:10:06 +0200
Received: from boxcars by 64.28.62.15 with local (Gmexim 0.1 (Debian))
        id 1AlnuQ-0007hv-00
        for <gentoo-user@gentoo.org>; Mon, 23 Jul 2012 23:10:06 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: gentoo-user@lists.gentoo.org
From: =?UTF-8?B?wrtRwqs=?= <boxcars@gmx.net>
Subject: [gentoo-user] Re: linux-headers-3.5 with 3.4 kernel?
Date: Mon, 23 Jul 2012 16:10:15 -0500
Organization: none
Message-ID: <20120723161015.683dda6a@fuchsia.remarqs.net>
References: <jujmcd$6p9$1@dough.gmane.org>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@dough.gmane.org
X-Gmane-NNTP-Posting-Host: 64.28.62.15
X-Newsreader: Claws Mail 3.8.0 (GTK+ 2.24.10; x86_64-pc-linux-gnu)
X-Archives-Salt: 63389272-f968-4c92-bb2f-b24fc9786114
X-Archives-Hash: 91977140c047ec807de9a87c70ab4709

On Mon, 23 Jul 2012 17:16:41 +0300
Nikos Chantziaras <realnc@gmail.com> wrote:

> Portage now installs sys-kernel/linux-headers-3.5. 
> sys-kernel/gentoo-sources is at 3.4.5.
> 
> Is it even adviced to do that, installing 3.5 headers and running a
> 3.4 kernel?  This sounds like a bad idea to me.

As I read the glibc faq, linux-headers are backwards-compatible as far
as glibc is concerned;  that is, newer linux-headers still have
everything needed to make glibc work with older kernels.  And I assume
that holds for other packages which need linux-headers, not just glibc.

Whether my understanding of why is correct or not, the glibc folks do
recommend using the latest linux-headers, even if your kernel is older.

<https://www.gnu.org/software/libc/documentation.html> links to 
<http://sourceware.org/glibc/wiki/FAQ#What_version_of_the_Linux_kernel_headers_should_be_used.3F>.