From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4589 Path: news.gmane.org!not-for-mail From: Thomas Petazzoni Newsgroups: gmane.comp.lib.uclibc.general,gmane.linux.lib.musl.general,gmane.comp.embedded.crossdev Subject: Re: Switching from uClibc to glibc as the default in Buildroot? Date: Wed, 19 Feb 2014 09:13:36 +0100 Organization: Free Electrons Message-ID: <20140219091336.71fbd261@skate> References: <20140218231447.524a1a20@skate> <20140218231759.GS184@brightrain.aerifal.cx> <20140219002643.50795999@skate> <20140219024634.GT184@brightrain.aerifal.cx> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1392797620 4857 80.91.229.3 (19 Feb 2014 08:13:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Feb 2014 08:13:40 +0000 (UTC) Cc: uclibc@uclibc.org, musl@lists.openwall.com, crossdev@send-patches.org, buildroot@buildroot.org To: Rich Felker Original-X-From: uclibc-bounces@uclibc.org Wed Feb 19 09:13:49 2014 Return-path: Envelope-to: gclug-uclibc@m.gmane.org Original-Received: from whitealder.osuosl.org ([140.211.166.138]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WG2Hp-0003vD-IT for gclug-uclibc@m.gmane.org; Wed, 19 Feb 2014 09:13:45 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 63FE884451; Wed, 19 Feb 2014 08:13:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Original-Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XIi-xbiOFWpA; Wed, 19 Feb 2014 08:13:41 +0000 (UTC) Original-Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 811C68081E; Wed, 19 Feb 2014 08:13:41 +0000 (UTC) Original-Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 2EBF31BF870 for ; Wed, 19 Feb 2014 08:13:40 +0000 (UTC) Original-Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 25FC489D4D for ; Wed, 19 Feb 2014 08:13:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Original-Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x1rdqC-JVTjk for ; Wed, 19 Feb 2014 08:13:39 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Original-Received: from mail.free-electrons.com (top.free-electrons.com [176.31.233.9]) by hemlock.osuosl.org (Postfix) with ESMTP id 73FA589BA0 for ; Wed, 19 Feb 2014 08:13:39 +0000 (UTC) Original-Received: by mail.free-electrons.com (Postfix, from userid 106) id 045A87AD; Wed, 19 Feb 2014 09:13:54 +0100 (CET) Original-Received: from skate (col31-4-88-188-83-94.fbx.proxad.net [88.188.83.94]) by mail.free-electrons.com (Postfix) with ESMTPSA id 7C0806E8; Wed, 19 Feb 2014 09:13:54 +0100 (CET) In-Reply-To: <20140219024634.GT184@brightrain.aerifal.cx> X-Mailer: Claws Mail 3.9.1 (GTK+ 2.24.20; x86_64-pc-linux-gnu) X-BeenThere: uclibc@uclibc.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion and development of uClibc \(the embedded C library\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: uclibc-bounces@uclibc.org Original-Sender: uclibc-bounces@uclibc.org Xref: news.gmane.org gmane.comp.lib.uclibc.general:23800 gmane.linux.lib.musl.general:4589 gmane.comp.embedded.crossdev:144 Archived-At: Dear Rich Felker, On Tue, 18 Feb 2014 21:46:34 -0500, Rich Felker wrote: > > In fact, I am myself interested in musl: I have already added the > > possibility of using external musl toolchains with Buildroot, and I > > have started to work on integrating musl support in the internal > > toolchain backend of Buildroot. So you can clearly expect musl to be > > fully supported by Buildroot in the coming months. > > Great. If you haven't already seen them, the GCC patches at > http://musl.codu.org/ may be useful. I have definitely seen them, and used them already in the preliminary prototypes. I have even posted a bug report some time ago: https://bitbucket.org/GregorR/musl-gcc-patches/issue/4/musl-gcc-patches-break-the-build-on > This sounds reasonable. In this light, it might be good to hold off on > switching away from uClibc for a little longer. This would give some > time to evaluate what can be done to maintain uClibc support, and if > not, you would have a chance to evaluate musl in Buildroot to > determine whether musl or glibc might be a better choice for the new > default. This discussion about changing the default C library is definitely not something for which we expect to make a change in the immediate future. We're just looking at options, and trying to see what can be done to revive the uClibc project, which remains important at least to support non-MMU architectures. > (BTW, if you do switch the default, do you have a plan for > how long uClibc support would be maintained as the non-default > option?) We haven't discussed this, but I believe we would in any case keep uClibc support around, even if it's no longer the default. Simply because there are several non-MMU architectures that we want to support, and only uClibc supports such architectures. > > Do you intend to have support for non-MMU architectures in musl? > > At present there isn't a plan to, but we're not particularly opposed > to it either. The big questions are how invasive it would be and > whether we can provide full functionality in any reasonable way. The > answers to those questions wouldn't translate directly to a yes or no > but would be an important part of considerations. It would probably > help to have someone familiar with the technical aspects of supporting > non-MMU archs discuss it with us on our mailing list or IRC channel. Ok. Thanks! Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com