[Mesa-maintainers] pthread-stubs and mesa

Emil Velikov emil.l.velikov at gmail.com
Fri Feb 17 18:56:14 UTC 2017


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 always, let me know if you see any downsides or you feel "Hell, its
about time" ;-)

Thanks
Emil

[1] https://patchwork.freedesktop.org/series/14800/


More information about the Mesa-maintainers mailing list