[Mesa-maintainers] pthread-stubs and mesa

Emil Velikov emil.l.velikov at gmail.com
Wed Mar 15 12:00:04 UTC 2017


On 17 February 2017 at 18:56, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> Hi all,
>
> Some of you already patch out the pthread-stubs requirement in
> Mesa/libdrm. For others - such as BSD people you, sort of, need it.
>
> At the same time, I've uncovered that the pthread-stubs design was
> completely bonkers and things simply cannot work.
> Or at least, not without forking pthread-stubs and hacking a ton of
> platform specifics inside. At which point you _really_ want those
> thing in your C runtime (libc/other).
>
> For all the juicy details [and patches] check out [1].
>
> In light of that, I'm remotely thinking about removing the requirement
> on "known good" platforms and leaving it for others where things are
> still in flux (BSDs and? Darwin)
> Note that the latter is not certain yet, but just an idea.
>
As Uli was great enough to roll a pthread-stubs 0.4 release and some
Linux distros have been patching out the pthread-stubs requirement.
So I've went ahead landed the series.

Tl;Dr: pthread-stubs is no longer required on
linux/cygwin/darwin/solaris/gnu for others you need version 0.4

-Emil


More information about the Mesa-maintainers mailing list