From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/7190 Path: news.gmane.org!not-for-mail From: Peter Smith Newsgroups: gmane.linux.lib.musl.general Subject: Re: Patching kernel =?UTF-8?Q?headers=3F?= Date: Sat, 14 Mar 2015 04:33:12 +0100 Message-ID: <4ec529702be11fefd204b3056086af86@openmailbox.org> References: <0370aa3a159893532b4bd77747c68268@openmailbox.org> <20150311161434.GP16260@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1426304020 22638 80.91.229.3 (14 Mar 2015 03:33:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Mar 2015 03:33:40 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-7203-gllmg-musl=m.gmane.org@lists.openwall.com Sat Mar 14 04:33:30 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1YWcpO-0005WJ-4c for gllmg-musl@m.gmane.org; Sat, 14 Mar 2015 04:33:30 +0100 Original-Received: (qmail 20284 invoked by uid 550); 14 Mar 2015 03:33:28 -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 20263 invoked from network); 14 Mar 2015 03:33:27 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=openmailbox.org; h=user-agent:message-id:references:in-reply-to:subject:subject :from:from:date:date:content-transfer-encoding:content-type :content-type:mime-version:received:received; s=openmailbox; t= 1426303992; bh=lJk9NPys1RFxrrHiYzHj4OqQHub1XBXGCcL4Xamgozc=; b=d vosCV+9SQ+n5rNt8betLt3waB89egEuXTIO3IHLT2TdgHcvRAE/Ld5d+E3LWRclM EXToGn2RwBRJzq0xg6udWt/odGksxdi1sCc1WzdOdiAmZoI/+PtuHpWYJM96ZcNg 6XtY4jd1M711S1TRUanYbY/mn4+gcvhElHPJWt/nW0= X-Virus-Scanned: amavisd-new at openmailbox.org In-Reply-To: <20150311161434.GP16260@port70.net> X-Sender: aic0azee@openmailbox.org User-Agent: Roundcube Webmail/1.0.5 Xref: news.gmane.org gmane.linux.lib.musl.general:7190 Archived-At: On 2015-03-11 17:14, Szabolcs Nagy wrote: > * Peter Smith [2015-03-11 16:33:54 +0100]: >> I have built a toolchain with GCC 4.7.3, musl 1.1.6 and Linux 3.12 >> kernel >> headers. I then tried to compile Busybox 1.23.1 without patching the >> toolchain kernel headers, as described here: >> http://wiki.musl-libc.org/wiki/Building_Busybox and the build was >> still >> successful. >> >> Does this mean that patching the kernel headers is no longer >> necessary? > > did you use an allyes busybox config? > > only some of the tools use conflicting headers > > (some kernel headers are incompatible with libc headers > busybox might got fixed not to include those but other > code may still need the patched kernel headers) I have now investigated further, and both the current and previous version of Busybox will build without patching the kernel headers, when using my custom Busybox config. If I try to build Busybox with an allyes config it will fail. Nothing has changed, I have just found out that my specific Busybox config will work without patching the kernel headers. Are there any reasons for me to patch the kernel headers now that I found out Busybox will build anyway? Could other applications require the headers to be patched?