About removing libc wrapper

pcpa at mandriva.com.br pcpa at mandriva.com.br
Mon Dec 3 18:03:41 PST 2007


Quoting Joerg Sonnenberger <joerg at britannica.bec.de>:

> On Mon, Dec 03, 2007 at 05:15:56PM -0800, Alan Coopersmith wrote:
>> I'm all for making it easier to support BSD & Solaris, but does this
>> really do that?
>
> Speaking as someone who is maintaing support for at least two BSDs --
> no, I don't think it helps very much. Making sure that all modules can
> be compiled with "-z defs" or the equivalent libtool option helps more
> than the restriction has. On the contrary it prevented e.g. Propolice
> from being usable out of the box.
>
> I agree, I still have to see a binary-only driver that doesn't depend on
> some kernel blob to work.
>
> Joerg

  I am not advocating in favor or agains't libc wrapper. And it
was causing more trouble than good, as several modules
are compiled with a mix of libc wrapper and libc calls.
  If modules depends only on libc, libm and libdl (and vendor
provided libraries) there should not exist problems, but if modules
start depending on external apis that change frequently, things can
become a mess, and this is already somewhat true now that we
don't have a single tree and single "make World".

  A user space binary only for different operating systems, is
possible (usually 2d), as well as an api that would make it easier
to write the kernel portions (usually 3d) in an easier way. But
easier said than done.

Paulo






More information about the xorg mailing list