Fwd: mesa | Remove USE_ELF_TLS macro (!17213)
罗勇刚(Yonggang Luo) <[email protected]>
| Newsgroups | gmane.comp.video.mesa3d.devel,gmane.linux.lib.musl.general |
|---|---|
| Message-ID | <CAE2XoE_k0c7VHVZampVjo6rX8pwtKnSKKj957cDhFzWVnMfW5g@mail.gmail.com> |
---------- Forwarded message --------- From: Zoltán Böszörményi (@zboszor) <[email protected]> Date: Sat, Jun 25, 2022 at 12:09 AM Subject: Re: mesa | Remove USE_ELF_TLS macro (!17213) To: <[email protected]> Zoltán Böszörményi commented on a discussion on src/meson.build: 152 152 libraries : libgl, 153 153 libraries_private : gl_priv_libs, 154 154 requires_private : gl_priv_reqs, 155 - variables : ['glx_tls=@0@'.format(use_elf_tls ? 'yes' : 'no')], 155 + variables : ['glx_tls=@0@'.format('yes')], 156 156 ) I don't think it's a good idea to make ELF_TLS unconditionally true. Yocto allows choosing the LIBC at least between GLIBC and MUSL, and Mesa built with TLS crashes under MUSL. See this patch: https://git.openembedded.org/openembedded-core/tree/meta/recipes-graphics/mesa/files/0002-meson.build-make-TLS-ELF-optional.patch and here TLS is only enabled for GLIBC: https://git.openembedded.org/openembedded-core/tree/meta/recipes-graphics/mesa/mesa.inc#n92 So I am confused. What's the situation about ELF-TLS support in musl? Is that still broken now? -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo