From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4126 Path: news.gmane.org!not-for-mail From: Andrew Bradford Newsgroups: gmane.linux.lib.musl.general Subject: Re: CLFS embedded book switches to musl-libc Date: Thu, 17 Oct 2013 08:50:43 -0400 Message-ID: <525FDD23.3070602@bradfordembedded.com> References: <525EF012.1050606@bradfordembedded.com> <525EF93C.10908@barfooze.de> <525EFB3C.20003@bradfordembedded.com> <525F038F.7000505@barfooze.de> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1382014251 8818 80.91.229.3 (17 Oct 2013 12:50:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Oct 2013 12:50:51 +0000 (UTC) Cc: musl@lists.openwall.com To: John Spencer Original-X-From: musl-return-4130-gllmg-musl=m.gmane.org@lists.openwall.com Thu Oct 17 14:50:57 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 1VWn2X-0005PK-4y for gllmg-musl@plane.gmane.org; Thu, 17 Oct 2013 14:50:57 +0200 Original-Received: (qmail 9689 invoked by uid 550); 17 Oct 2013 12:50:55 -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 9681 invoked from network); 17 Oct 2013 12:50:55 -0000 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= bradfordembedded.com; h=message-id:date:from:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; s=mesmtp; bh=2e5L1kscI5TRxq1aFC+14gj OFhY=; b=kFUroaORofyfTSs/uPISSWrN7t9uBO24NVxptC+Dbvd0qJZp6Jx/4Gz ih/uWPFHseGdkf5C4OEcU76nurEZdS1ne6otoavtTArSbW4We/x3sN37G0j/r0Lv 6EZF/F2+KiWHoct35oZjdAsOVnkamamZBe0qUdck6MK6L7iLB6cs= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; s=smtpout; bh=2e5L1kscI5TRxq1aFC+14g jOFhY=; b=IzacTfcRJf564FwxhRynz/o+PeG/TPw2DXhl4u+7XQyPZRnizx/EV5 YOzdGxr3IRDVH8pDBylFFimJO8qF5SdlaQRbNfwjjfN0I3EJkhoIQuqjf5CtjHgR MXW7Lic9e4t7e7tSIhtrdOCoMy1rMKxYw3dIiTrc4gMZoAjkdfHkk= X-Sasl-enc: dONnKpGv+Je8Pa1Dtx59GyYU1zX5qel/Eg2As4/+z9ky 1382014243 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 In-Reply-To: <525F038F.7000505@barfooze.de> Xref: news.gmane.org gmane.linux.lib.musl.general:4126 Archived-At: On 10/16/13 17:22, John Spencer wrote: > 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 >> > > this page also seems to require some cleanup: > http://cross-lfs.org/view/clfs-embedded/x86/appendixc/dependencies.html Thanks! I'll add trac ticket for cleaning it up, too. > 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. I might remove libnl and hostapd from the book, both were there to support building for mips to target wrt54g devices but the wrt portion of the book was so out of date that it has been removed earlier this year. The goal isn't to teach how to build a wireless router, just how to get a minimal cross built system up and going. If I don't remove libnl and hostapd I'll definitely check out libnl-tiny. Thanks, Andrew