From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10901 Path: news.gmane.org!.POSTED!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: Re: Query about current practice of installing linux kernel header files Date: Fri, 6 Jan 2017 16:09:15 +0100 Message-ID: <20170106150915.GD17692@port70.net> References: <20170106144118.GA8258@localhost> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1483715383 11565 195.159.176.226 (6 Jan 2017 15:09:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 6 Jan 2017 15:09:43 +0000 (UTC) User-Agent: Mutt/1.6.0 (2016-04-01) Cc: musl@lists.openwall.com To: vlse Original-X-From: musl-return-10914-gllmg-musl=m.gmane.org@lists.openwall.com Fri Jan 06 16:09:37 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1cPW8z-0001C8-Gu for gllmg-musl@m.gmane.org; Fri, 06 Jan 2017 16:09:25 +0100 Original-Received: (qmail 15645 invoked by uid 550); 6 Jan 2017 15:09:27 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 15627 invoked from network); 6 Jan 2017 15:09:27 -0000 Mail-Followup-To: vlse , musl@lists.openwall.com Content-Disposition: inline In-Reply-To: <20170106144118.GA8258@localhost> Xref: news.gmane.org gmane.linux.lib.musl.general:10901 Archived-At: * vlse [2017-01-06 20:11:18 +0530]: > Sorry, I didn't received mail from Szabolcs Nagy to my inbox. i forgot to cc you > I am unable to understand the Makefile fully. > > May you please correct me on this: > > 1) First musl include headers files are installed. > 2) Then linux kernel header files are copied over. > > Is this correct? > sorry i remembered incorrectly, the header install order does not matter if you use staging + copy (the problem is that the kernel install_headers removes the include/scsi/ directory first which contains libc headers so installing libc and linux headers to the same place can break, but if you copy the linux headers from a staging dir then it works) > What about building busybox with musl-libc? > It needed few adapted headers of linux kernel as well as musl libc ones? alpine linux applies the same kernel header patches that sabotage uses http://git.alpinelinux.org/cgit/aports/plain/main/linux-headers/ i think since http://git.musl-libc.org/cgit/musl/commit/?id=04983f2272382af92eb8f8838964ff944fbb8258 there is an easier (more upstreamable) fix for the linux headers but i'm not sure how much of busybox is affected