From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11723 Path: news.gmane.org!.POSTED!not-for-mail From: sylvain.bertrand@gmail.com Newsgroups: gmane.linux.lib.musl.general Subject: Re: symlinks of glibc shared libs to musl libc.so Date: Wed, 12 Jul 2017 10:57:52 +0000 Message-ID: <20170712105752.GA318@freedom> References: <20170710013640.GA323@freedom> <20170710020221.GM1627@brightrain.aerifal.cx> <20170711175350.GB314@freedom> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1499857094 26023 195.159.176.226 (12 Jul 2017 10:58:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 12 Jul 2017 10:58:14 +0000 (UTC) User-Agent: Mutt/1.7.1 (2016-10-04) To: musl@lists.openwall.com Original-X-From: musl-return-11736-gllmg-musl=m.gmane.org@lists.openwall.com Wed Jul 12 12:58:08 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1dVFLI-0006D1-Eu for gllmg-musl@m.gmane.org; Wed, 12 Jul 2017 12:58:04 +0200 Original-Received: (qmail 1768 invoked by uid 550); 12 Jul 2017 10:58:07 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 1744 invoked from network); 12 Jul 2017 10:58:06 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=kO2Onm5BmDql8S5/nB0fdMrNYVofrpI6cjmjJYhZdmc=; b=f7itWZD7AA5dVHyTq+MWSWMIYDiirQ+TCUOwHDIv8D6XzRsr9NZDFyFM9ohw6UMx0/ 3f57S9CfyXesZkusXXXv8x+oShwVVL/A2/CElqhoCVS0R5YB0vfTJYOjNmKHm/9iecZM KPlpJ4qWXqV3jMS24nwdux9Gltx7berpMKxez9thmYAHGLcs0EI3/pe+jmfR2Cykrjqk PDrkkB0iVWNGKMNkPoNA0ct+LBdN+11KtHKXZEA3ksT8yEh7BGkuor5+CSSUqiIwbdts QjOu+ogC+TScL64czaKOp7nq3fNMP1hFokI5Eri7fdJcVO+h3WjoBKfVAnYiwRijYFU2 N6Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=kO2Onm5BmDql8S5/nB0fdMrNYVofrpI6cjmjJYhZdmc=; b=dLwcIQ+c+cG7S0u4cO/m6TgDB2HvBN3G1Tc2j73BSqnKLN9m4lGyHQ7CgjbKyl1Yyd 4ECwdey/fsO/7EI36yG08X4G8rqi55U3n34jro/VV12aEXIyyDFWffOlC/zx7Ko1l0tL x6y9HJyM5agisSTAJOdBEGcVzZUAG7674ktWfpXw7mK7z3WHsTWa6LERlLSrtYqd0onR 9JnkB+z2rumxmjqIYCPFDCOWr2y8hYBljW5PZZvUrBWtR1z4L+ODslzW3qEpm8GiLheF UmYDaZf6BYg5rCZZi5BfFth1ACujU/Au/v3so5sJOWbV56hx7Ttr1gRMTZ57Brwd1s5l yDhg== X-Gm-Message-State: AIVw110xAQ+kSgeHJwLPr106EG3MohSvSiRaLC4JvISdZIP11qdXsRdR BSqQ9k/D8sWYBGeWpCw= X-Received: by 10.28.132.13 with SMTP id g13mr2188966wmd.58.1499857075093; Wed, 12 Jul 2017 03:57:55 -0700 (PDT) Content-Disposition: inline In-Reply-To: Xref: news.gmane.org gmane.linux.lib.musl.general:11723 Archived-At: On Wed, Jul 12, 2017 at 02:03:34AM -0500, William Pitcock wrote: > Hi, > > On Tue, Jul 11, 2017 at 12:53 PM, wrote: > > On Sun, Jul 09, 2017 at 10:02:21PM -0400, Rich Felker wrote: > >> Are you asking about trying to run glibc-linked binaries with musl > >> libc.so? > > > > Yes. Any feedbacks of those who tried? > > You might want to look at gcompat, which is a compatibility layer > being incubated as part of the Adelie Linux distribution (as well as > carried by Alpine). It can run many glibc binaries through a custom > ELF interpreter that invokes the musl ELF interpreter with an > additional preload containing many glibc compatibility symbols. > > https://code.foxkit.us/adelie/gcompat/tree/master > > On Alpine, you could do "apk add gcompat@testing" or similar to get > it, assuming the testing repo is enabled. Ok. Then, there is an on-going project to try to reach some binary compatibility. This is exactly what I wanted to know. Only reasonable source level compatibily for now. Thanks and regards, -- Sylvain