From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/1350 Path: news.gmane.org!not-for-mail From: idunham@lavabit.com Newsgroups: gmane.linux.lib.musl.general Subject: Re: Hello Date: Sun, 22 Jul 2012 20:49:50 -0700 (PDT) Message-ID: <20836.50.0.229.11.1343015390.squirrel@lavabit.com> References: <25387.50.0.229.11.1342998565.squirrel@lavabit.com> <20120723020138.GE544@brightrain.aerifal.cx> 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: 8bit X-Trace: dough.gmane.org 1343015405 23067 80.91.229.3 (23 Jul 2012 03:50:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 23 Jul 2012 03:50:05 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-1351-gllmg-musl=m.gmane.org@lists.openwall.com Mon Jul 23 05:50:05 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 1St9el-0002yb-1x for gllmg-musl@plane.gmane.org; Mon, 23 Jul 2012 05:50:03 +0200 Original-Received: (qmail 14104 invoked by uid 550); 23 Jul 2012 03:50:02 -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 14096 invoked from network); 23 Jul 2012 03:50:02 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=tUFTXXikg+DGckP6v7bR2SHHdMLglTiqz6bVrr1+zTNSON2I1l/RKaFS1HD7U7pQ2IIg4zmnx7yjGZd8ZpnR8zLsgAPL61ZBs3ENY9jPowTYYewBtBoex1oR8Cxqqy7EbHOgr3BT4int373O+V2ggxjGeUgj7a4V7INlpXD8zr4=; h=Message-ID:In-Reply-To:References:Date:Subject:From:To:User-Agent:MIME-Version:Content-Type:Content-Transfer-Encoding; In-Reply-To: <20120723020138.GE544@brightrain.aerifal.cx> User-Agent: SquirrelMail/1.4.13 Xref: news.gmane.org gmane.linux.lib.musl.general:1350 Archived-At: > On Sun, Jul 22, 2012 at 07:09:25PM -0400, idunham@lavabit.com wrote: >> I've been getting a little impatient waiting to see if anything happens, >> so I started going through orc's patch and revising it. > > Sorry, I've had fairly little in the way of contiguous blocks of time > to work on stuff over the past few weeks. Trying to catch up a bit... Not directed at you in particular, and I understand that. > I need to look back at the archives but it seems a lot of this patch > was about getting glibc binaries to run with musl. Can we break the > efforts to integrate it down into 3 steps: I broke it down into 10 patches, taking roughly the same approach. > 1. Linux API-level stuff musl should be supporting regardless of glibc > compatibility. See patches 1-4. These are the missing syscalls. According to what orc was saying, patch 1 was what he needed for Xorg. Gregor also said he could use it. > 2. glibc-compatibility symbols that need to be exported to get > high-demand binary blobs (like video drivers) working. > 3. Additional glibc-compatibility symbols, which may or may not be > wanted/needed/desirable in the long term, and which we can at least > defer addressing for a while. orc would know better than I, but it *seemed* that he was saying that everything in his patch fell in 1 or 2 ... >> While looking at arm, I noticed that x86/mips gas uses @function while >> arm uses %function...is there a reason for this? > > I think it's just a difference in the asm syntax rules for different > targets. They're all very inconsistent... OK, thanks. >> >> > Probably you will want to add: >> >> > - weak_aliases for __underscores >> >> Except most of them should be in the opposite direction. Especially >> >> for functions like strxfrm_l where we'll eventually want the ISO C >> >> "foo" function to depend on the POSIX "foo_l" function, the latter >> >> will need its real name to be the __-prefixed version. >> Are there any of these that should not be the other way around? > Need to review again... See patches 5-10 (except the finite() patch) I figured that any *isoc99* or __*_internal aliases were for ABI only and left them as orc had it. Everything in src/locale/ I assumed (!) was not ISO C99, and did them "in the opposite direction".