From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4111 Path: news.gmane.org!not-for-mail From: John Spencer Newsgroups: gmane.linux.lib.musl.general Subject: Re: linux/netlink.h Date: Mon, 07 Oct 2013 18:08:40 +0200 Message-ID: <5252DC88.20701@barfooze.de> References: <5251FD4E.8000102@skarnet.org> <52520AC7.3000506@gentoo.org> <52529004.6000406@skarnet.org> <5252A3BD.2070409@barfooze.de> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1381162356 24416 80.91.229.3 (7 Oct 2013 16:12:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Oct 2013 16:12:36 +0000 (UTC) Cc: Christian Wiese To: musl@lists.openwall.com Original-X-From: musl-return-4115-gllmg-musl=m.gmane.org@lists.openwall.com Mon Oct 07 18:12:41 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1VTDQF-0007QN-TV for gllmg-musl@plane.gmane.org; Mon, 07 Oct 2013 18:12:39 +0200 Original-Received: (qmail 32138 invoked by uid 550); 7 Oct 2013 16:12:38 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 32121 invoked from network); 7 Oct 2013 16:12:37 -0000 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110221 SUSE/3.1.8 Mail/1.0 In-Reply-To: Xref: news.gmane.org gmane.linux.lib.musl.general:4111 Archived-At: On 10/07/2013 05:07 PM, Christian Wiese wrote: > Hi John, > >> imo a good alternative to downloading the full kernel sources to compile > >> the headers. >> an additional advantage is that kernel headers are often broken, >> the version used by sabotage is known good. > > I am curious about what you mean by "kernel headers are often broken". kernel headers are usually only tested against the kernel - i.e. they ship if the kernel compiles. however they often have problems that affect userspace apps using them (like including linux/types.h which clashes with libc headers, or similar things). for example, you get a build error when you use kernel 3.8.6 headers to compile DOSBOX: https://sourceforge.net/p/dosbox/patches/258/ a notoriously broken header is ext2_fs.h, which caused problems with extlinux in nearly every kernel release - so i decided to put it into sabotage directly: https://github.com/rofl0r/sabotage/commits/master/KEEP/ext2_fs.h > > I am also building custom linux based systems, and I have no problems > using > the corresponding kernel headers for the kernel version I am building. > > It would be interesting for me to know what brokeness you experienced in > the > kernel headers. > > I already checked the documentation provided by the cross-lfs project, and > it > seems that they do not seem to have issues using the corresponding kernel > headers for the kernel version they use. > > Cheers, > Chris >