From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/530 Path: news.gmane.org!not-for-mail From: Isaac Dunham Newsgroups: gmane.linux.lib.musl.general Subject: compatability: heirloom-utils +.5, libarchive -1 Date: Tue, 3 Jan 2012 06:06:00 -0800 Message-ID: <20120103060600.2190fc2b@newbook> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1325599586 7125 80.91.229.12 (3 Jan 2012 14:06:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 3 Jan 2012 14:06:26 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-531-gllmg-musl=m.gmane.org@lists.openwall.com Tue Jan 03 15:06:19 2012 Return-path: Envelope-to: gllmg-musl@lo.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by lo.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Ri50M-00014D-He for gllmg-musl@lo.gmane.org; Tue, 03 Jan 2012 15:06:18 +0100 Original-Received: (qmail 30040 invoked by uid 550); 3 Jan 2012 14:06:17 -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 30029 invoked from network); 3 Jan 2012 14:06:17 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=hKrOsGiue+hj28r21OplYg1kT+p6QL8rN75cYuuZ+83MGF3I54QAUkS90rDFM2/T6wCbJzBLMxjCOM8Ln783+npaVGhGirpgLJBlGogQOV57RXhGKWCU22sRJeX9fV1yYSI2ELXCSMYtwPYAvLfy/DPXrZeRsZHRqmaDCHPls1M=; h=Date:From:To:Subject:Message-ID:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; X-Mailer: Claws Mail 3.7.4 (GTK+ 2.20.1; i486-pc-linux-gnu) Xref: news.gmane.org gmane.linux.lib.musl.general:530 Archived-At: I was building a kernel on Sabotage Linux (I'm using a rather modified version already...), with initramfs enabled (which Sabotage does not seem to support). make would die because it couldn't find a cpio.xz archive, so I assumed I needed a full cpio and xz. That wasn't the issue, but I found some more compatability stuff: xz: Seems to build fine (well, selecting {en,de}coders may not work right, but otherwise it builds unchanged) heirloom-utils: They are trying to support other nonstandard linux libcs, so they check for __GLIBC__ | __uclibc__ to determine whether dirent.h is present & sufficient; if dietlibc is detected, both unistd.h & dirent.h are used. The fallback is sys/dirent.h This should probably be __linux__ | _POSIX_SOURCE triggers dirent.h inclusion, then __diet__ triggers unistd.h; but if libc5/newlib are nonconformant here, then that logic would be inadequate. libarchive: needs memory.h --I just dropped it, since the syntax isn't exactly like string.h, and there are at least two other cpio implementations Also, could PATH_MAX be exported unconditionally, or is that nonstandard? Currently, defining any of the standard compatability macros enables it. This is needed for the kernel to build without defining HOSTCFLAGS, though it really wants -D_GNU_SOURCE Isaac