mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Рысь <lynx@lynxlynx.tk>
To: musl@lists.openwall.com
Subject: Re: musl & proprietary programs
Date: Thu, 24 Dec 2015 12:04:42 +0700	[thread overview]
Message-ID: <20151224120442.04e497db@r2lynx> (raw)
In-Reply-To: <CAJDAfTB82BjcEE-V6d6cmJHUaVjJSPcDTQ1n=mJOAyFR_Q+Jzw@mail.gmail.com>

On Wed, 23 Dec 2015 18:00:12 -0200
Alba Pompeo <albapompeo@gmail.com> wrote:

> I also don't want to pollute my system with glibc. That's why I asked
> if there was any plan to improve musl support of proprietary programs
> like the ones I listed.
> But as a last resort, I think Rich's method is the best so far, but
> I'm a bit lost on the details since I'm not a libc expert.
> I couldn't find a wiki page detailing Rich's method on Void or Alpine
> (the 2 distros I know use musl). Is there a step-by-step for a novice
> somewhere?

There is also problem that musl wishes not to be fully glibc compat.
Certain libc structs and public structs coming from glibc headers that
are not required to be ABI same will be different on musl for
performance or optimization reasons, and programs relying on them
usually will not be happy. Simple programs probably still will work.

I tried to hack into this area back in 0.9.x times (Jul2012). I even got
userspace nvidia libraries being loaded by plain musl into `glxgears`
and it did worked. Last time I revisited that was in Jan2015, and musl
was greatly "improved" - applying same changes then trying to run the
same `glxgears` resulted in plain segfault. From Jan2015 I was running
X server in chroot, and completely moved to nouveau by Mar2015.

Software that loads many-many shared objects, including modern GUI libs
will BE unhappy. Just because when building with glibc result binaries
are much polluted with glibcisms. My case was simpler.

-- 
http://lynxlynx.tk/
Power electronics made simple
Unix and simple KISS C code


  reply	other threads:[~2015-12-24  5:04 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-22 11:23 Alba Pompeo
2015-12-22 11:27 ` Timo Teras
2015-12-22 15:25   ` Рысь
2015-12-22 15:37     ` Alba Pompeo
2015-12-23 14:48       ` Szabolcs Nagy
2015-12-23 16:01         ` u-uy74
2015-12-23 17:22         ` Рысь
2015-12-23 17:43           ` Rich Felker
2015-12-23 18:51             ` Рысь
2015-12-23 20:00               ` Alba Pompeo
2015-12-24  5:04                 ` Рысь [this message]
2015-12-24  5:16                   ` Rich Felker
2015-12-24 10:40                     ` Szabolcs Nagy
2015-12-27  3:54                       ` Rich Felker
2015-12-24  7:00                 ` Isaac Dunham
2015-12-24 19:49                   ` Isaac Dunham
2015-12-24 21:29                     ` Alba Pompeo
2015-12-24  5:12               ` Rich Felker
2015-12-24  7:20                 ` Рысь

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151224120442.04e497db@r2lynx \
    --to=lynx@lynxlynx.tk \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).