Date: Sat, 25 Jun 2022 06:47:24 +0200 From: Markus Wichmann <nullplan@....net> To: musl@...ts.openwall.com Cc: mesa-dev@...ts.freedesktop.org Subject: Re: Fwd: mesa | Remove USE_ELF_TLS macro (!17213) On Sat, Jun 25, 2022 at 11:36:09AM +0800, 罗勇刚(Yonggang Luo) wrote: > So I am confused. What's the situation about ELF-TLS support in musl? > Is that still broken now? musl has always supported ELF-TLS anywhere except in libc itself. That was also never the problem. The problem was that the mesa people select the initial-exec TLS model explicitly, even though libGL ends up being dlopen()ed quite often, and then you should be using the general-dynamic model instead. According to , Rich proposed dropping the initial-exec attribute and replacing it with -mtls-dialect=gnu2 eight years ago. Has that happened yet? If so, dlopen()ing libGL with musl ought to work. Ciao, Markus  https://gitlab.freedesktop.org/mesa/mesa/-/issues/966
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.