Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120706012417.5ae680f0@sibserver.ru>
Date: Fri, 6 Jul 2012 01:24:17 +0800
From: orc <orc@...server.ru>
To: musl@...ts.openwall.com
Subject: Re: Hello

On Thu, 7 Jun 2012 23:31:41 -0400
Rich Felker <dalias@...ifal.cx> 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

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.