[Mesa-dev] [PATCH] meson: add toggle for TLS support in GLX

Eric Anholt eric at anholt.net
Fri Jan 25 21:16:30 UTC 2019


Patrick Steinhardt <ps at pks.im> writes:

> The musl libc library does not have any support for the
> "initial-exec" TLS model and is unlikely to ever implement it.
> Thus, TLS support in GLX has been turned off in musl-based
> distributions to work around problems when dlopen'ing drivers.
> While this is easily possible using the autoconf build system by
> passing `--disable-glx-tls`, meson does not yet have such an
> option.
>
> Add a new toggle "glx-tls" that defaults to `true` to gain parity
> with autoconf. If disabled, `GLX_USE_TLS` will not be defined and
> thus mesa will be built without TLS support.

Could you compile-test instead of having an option for people to get
wrong?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190125/191707fe/attachment.sig>


More information about the mesa-dev mailing list