From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2039 Path: news.gmane.org!not-for-mail From: Brian Wang Newsgroups: gmane.linux.lib.musl.general Subject: musl for ARM Date: Tue, 2 Oct 2012 15:27:28 +0800 Message-ID: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1349162863 6078 80.91.229.3 (2 Oct 2012 07:27:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Oct 2012 07:27:43 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2040-gllmg-musl=m.gmane.org@lists.openwall.com Tue Oct 02 09:27:49 2012 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 1TIwtQ-0000DY-Po for gllmg-musl@plane.gmane.org; Tue, 02 Oct 2012 09:27:48 +0200 Original-Received: (qmail 21705 invoked by uid 550); 2 Oct 2012 07:27:41 -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 21695 invoked from network); 2 Oct 2012 07:27:40 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=W8KldLgskzp1IWer0PHH2pesRNNZ6C+B5V1vmPxdJNM=; b=ef2v09qTlbwaKo4rxZ2SdIFD0i8OOUiZeSEAD4gx0Th53pdjDIFvNMP6QyaXzOYUs5 6elZ6C2+7vgSIkzVbauR6DIucE7L26H0ZRG4+4B1cGxJ5wt521hzxlRc8lmJD3YqViYa MP6S+W0UF+BwSfBUL88eP9Pm4wdSAc8e5QFdQ5Y9Vsb033SWlde7LWWmTt4sDyT/n3io B29It8FlApNNP2FEB6v4XJ0AegMF4cRQVG0S9Mh2RKat0/VmfTHQXDPeSBeCuYvmVrtM f2agxPFySyXx0Rxf/NmeGEY8z3ZZsuMNOodc39lqFgh0zYZwb+NsQeRVnNxuZZ1t0Kps ayQQ== Xref: news.gmane.org gmane.linux.lib.musl.general:2039 Archived-At: Hello all, I am currently thinking of switching to musl from glibc for my target after some readings on musl. I would like some advice from musl experts: * Does it support gettext stuff? * Does it _boost_ the performance on a 400MHz arm926 device? Or it is just smaller? By _boost_, I mean if the user can actually feel the improvement in performance. I did try the musl cross project and successfully built a musl-based arm linux toolchain. My kernel (2.6.24) was built successfully (not tried it on my device yet). However, when building busybox, there are some header files clashes, resulting in conflicting types. An example of it: --------------------- In file included from /opt/cross/arm-linux-musleabi/lib/gcc/arm-linux-musleabi/4.7.1/../../../../= arm-linux-musleabi/include/linux/kd.h:3:0, from console-tools/kbd_mode.c:23: /opt/cross/arm-linux-musleabi/lib/gcc/arm-linux-musleabi/4.7.1/../../../../= arm-linux-musleabi/include/linux/types.h:12:26: error: conflicting types for =E2=80=98fd_set=E2=80=99 In file included from /opt/cross/arm-linux-musleabi/lib/gcc/arm-linux-musleabi/4.7.1/../../../../= arm-linux-musleabi/include/sys/time.h:9:0, from include/libbb.h:45, from console-tools/kbd_mode.c:22: /opt/cross/arm-linux-musleabi/lib/gcc/arm-linux-musleabi/4.7.1/../../../../= arm-linux-musleabi/include/sys/select.h:25:3: note: previous declaration of =E2=80=98fd_set=E2=80=99 was here --------------------- I read the FAQ, which mentions "After building and installing GCC, any header files in GCC=E2=80=99s internal include directory which clash with headers provided by musl should be removed. Failure to do so may cause header-related build failures later." Is there something that I should do to get the headers right? Sorry for all the questions and thanks in advance. brian --=20 brian ------------------ Cool-Karaoke - The smallest recording studio, in your palm, open-sourced http://cool-idea.com.tw/ iMaGiNaTiOn iS mOrE iMpOrTaNt tHaN kNoWlEdGe