From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4508 Path: news.gmane.org!not-for-mail From: Gabriel Jacobo Newsgroups: gmane.linux.lib.musl.general Subject: dlopen'ing glibc linked libraries Date: Tue, 21 Jan 2014 11:57:03 -0200 Message-ID: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c36c8e12345604f07b623e X-Trace: ger.gmane.org 1390312629 18736 80.91.229.3 (21 Jan 2014 13:57:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Jan 2014 13:57:09 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4512-gllmg-musl=m.gmane.org@lists.openwall.com Tue Jan 21 14:57:17 2014 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 1W5bpM-0006uU-4O for gllmg-musl@plane.gmane.org; Tue, 21 Jan 2014 14:57:16 +0100 Original-Received: (qmail 20309 invoked by uid 550); 21 Jan 2014 13:57:15 -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 20301 invoked from network); 21 Jan 2014 13:57:15 -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; bh=+p9wJ50OLARBOjyLkeHY0K+Gk+Mnfr1BsJdwbliMHhI=; b=d2RJQ913pXT/unUOLIrrhc/Q9lne9T8dlJwsR6s7WUjp9V16ziSmt0vsN+hZE/Gwds lasr0Iz3paga0Znnm03YV5W6o4pnpGapg4Vo6l5w0Zi7l558f9DUQ797va2jsPIvIUIn MU+88BQkV6NH5bhonMsAa83e9U4EIKI9S8ebnAO9PRxf5qHpzbZexj0FE4iYqS5yQCs5 HJS65vT5cWl5Lwb6uvv6kVDvfcPJBorbDo1PD2drtjnmVQK401bj3v1CAN0fTSADejmh wT+dsi+TqaBP+2k88f8RtcUziGYeqXiQAHn6xTqWMkCOYkwB80ZaRTflDbzgbinwycio 9yCw== X-Received: by 10.204.122.73 with SMTP id k9mr229685bkr.140.1390312623832; Tue, 21 Jan 2014 05:57:03 -0800 (PST) Xref: news.gmane.org gmane.linux.lib.musl.general:4508 Archived-At: --001a11c36c8e12345604f07b623e Content-Type: text/plain; charset=ISO-8859-1 Hey everyone! First message here... I recently found about musl when googling for GLIBC alternatives. I read in the FAQ that binary compatibility with GLIBC is not there yet, so my question is if this is a priority for the library. As a bit of background to my question, let me say that I'm an SDL2 contributor, and I've tried linking SDL against musl, which seemed to work great. I'm linking dynamically BTW (statically linking to musl didn't quite work, I didn't research the issue much but it's probably a problem in SDL's build system). However, SDL uses dlopen/dlsym heavily to load most of its functionality (for example, to load the libGL.so.1 binary in order to provide OpenGL support), and these binaries depend on GLIBC...so (expectedly?) almost nothing actually works with the SDL/musl binary. So, will it ever work? Thanks! -- Gabriel. --001a11c36c8e12345604f07b623e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hey everyone! First message here...

I r= ecently found about musl when googling for GLIBC alternatives. I read in th= e FAQ that binary compatibility with GLIBC is not there yet, so my question= is if this is a priority for the library.

As a bit of background to my question, let me say that = I'm an SDL2 contributor, and I've tried linking SDL against musl, w= hich seemed to work great. I'm linking dynamically BTW (statically link= ing to musl didn't quite work, I didn't research the issue much but= it's probably a problem in SDL's build system).

However, SDL uses dlopen/dlsym heavily to load most of = its functionality (for example, to load the libGL.so.1 binary in order to p= rovide OpenGL support), and these binaries depend on GLIBC...so (expectedly= ?) almost nothing actually works with the SDL/musl binary.=A0

So, will it ever work?=A0

Than= ks!

--
Gabriel.
--001a11c36c8e12345604f07b623e--