Keith Packard <[email protected]> writes:

> Egbert Eich <[email protected]> writes:
>
>> If there are namespace clashes among different drivers it would be
>> preferrable if each driver used its local symbols. Use the
>> RTLD_DEEPBIND if available to achive this.
>
> Eric and Adam are doing a lot of work in Mesa to fix the exported symbol
> lists; do we expect this hack to still be required in the future? Or is
> it purely a temporary kludge?

Note that Mesa is not involved in the use case that Egbert mentioned.

I think fixing the driver builds to be -Bsymbolic would be superior to
this patch (and a performance win!) while solving the original problem.
RTLD_DEEPBIND has the unfortunate downside that it prevents you from
using LD_PRELOAD for things like cheesy non-valgrind malloc debuggers or
most GL interposers, which is the only real argument I see against it.

Attachment: pgpE8EUxvneWr.pgp
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to