From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4125 Path: news.gmane.org!not-for-mail From: John Spencer Newsgroups: gmane.linux.lib.musl.general Subject: Re: CLFS embedded book switches to musl-libc Date: Wed, 16 Oct 2013 23:22:23 +0200 Message-ID: <525F038F.7000505@barfooze.de> References: <525EF012.1050606@bradfordembedded.com> <525EF93C.10908@barfooze.de> <525EFB3C.20003@bradfordembedded.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1381958776 1652 80.91.229.3 (16 Oct 2013 21:26:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Oct 2013 21:26:16 +0000 (UTC) Cc: Andrew Bradford To: musl@lists.openwall.com Original-X-From: musl-return-4129-gllmg-musl=m.gmane.org@lists.openwall.com Wed Oct 16 23:26:21 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 1VWYbk-00023r-Uk for gllmg-musl@plane.gmane.org; Wed, 16 Oct 2013 23:26:21 +0200 Original-Received: (qmail 14297 invoked by uid 550); 16 Oct 2013 21:26:19 -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 14289 invoked from network); 16 Oct 2013 21:26:19 -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: <525EFB3C.20003@bradfordembedded.com> Xref: news.gmane.org gmane.linux.lib.musl.general:4125 Archived-At: On 10/16/2013 10:46 PM, Andrew Bradford wrote: > On 10/16/13 16:38, John Spencer wrote: >> while looking around i noticed that >> http://cross-lfs.org/view/clfs-embedded/x86/final-system/pkgmgt.html >> gives some advice regarding GLIBC, which does not hold for musl. >> with musl, it's perfectly safe to just drop in a new libc.so. > > Thanks! I wrote a trac ticket for it. > > http://trac.cross-lfs.org/ticket/935 > > -Andrew > this page also seems to require some cleanup: http://cross-lfs.org/view/clfs-embedded/x86/appendixc/dependencies.html it mentions bash (not needed, everything works with posix sh (i.e. busybox' ash) as well), glibc, coreutils (should be busybox), gawk (busybox awk works as well, at least with latest bugfixes from git), udev (not mentioned elsewhere, so its probably not even in clfs), diffutils (not needed at all, bb's diff command works just as well), file (not needed at all), gzip (included in bb...) another thing i noticed: http://cross-lfs.org/view/clfs-embedded/x86/beyond-net/libnl.html libnl is quite bloated, so the guys from openwrt made a lightweight replacement called libnl-tiny (also used by sabotage). http://wiki.musl-libc.org/wiki/Alternative_libraries#Alternative_Libraries_and_Programs sabotage also has a ready-to-use tarball available on its download mirrors, since openwrt's package seems to require a git checkout.