From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/1252 Path: news.gmane.org!not-for-mail From: orc Newsgroups: gmane.linux.lib.musl.general Subject: Re: Hello Date: Fri, 6 Jul 2012 01:24:17 +0800 Message-ID: <20120706012417.5ae680f0@sibserver.ru> References: <20120607200123.402a1672@sibserver.ru> <4FD0A902.6070108@barfooze.de> <20120607231831.66c78c33@sibserver.ru> <4FD0D6D9.5080707@barfooze.de> <20120607161928.GE163@brightrain.aerifal.cx> <20120608011516.0b5fca7d@sibserver.ru> <20120608033141.GH163@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1341509163 28091 80.91.229.3 (5 Jul 2012 17:26:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 5 Jul 2012 17:26:03 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-1253-gllmg-musl=m.gmane.org@lists.openwall.com Thu Jul 05 19:26:02 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 1SmpoW-0003Rj-Ql for gllmg-musl@plane.gmane.org; Thu, 05 Jul 2012 19:26:00 +0200 Original-Received: (qmail 1796 invoked by uid 550); 5 Jul 2012 17:25:59 -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 1768 invoked from network); 5 Jul 2012 17:25:55 -0000 In-Reply-To: <20120608033141.GH163@brightrain.aerifal.cx> X-Mailer: claws-mail Xref: news.gmane.org gmane.linux.lib.musl.general:1252 Archived-At: On Thu, 7 Jun 2012 23:31:41 -0400 Rich Felker wrote: > > So there is a question: will musl support this configs? Or I will > > need patchelf and 'libc6-legacy' for them? > > It's intended to work, but I don't know whether it does yet. Did some research there last days: for, example, one that proprietary drivers that nvidia ships it was required about 30 missing symbols, half of them are one-liners system calls, 5 were glibc-specific functions that were easy to add (one of them is gnu_get_libc_version() that is designed to return a plain string), 4 were missing math functions that already defined as a macros in math.h, rest is a forest of weak aliases around already existed functions (plus two aliases to objects). That allowed me to run plain unmodified X11 applications (not even gtk2 ones) and accelerated glxgears without errors (The gtk2 or qt or other such libraries compiled against glibc is not my target, just to prove that userspace nvidia could be run with musl). If you interested, I can put a patch that adds such forest of weak_alias'es to improve (partly) glibc compatibility. And separate patch for missing syscall wrappers. > > Rich