Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sat, 25 Jun 2022 11:36:09 +0800
From: 罗勇刚(Yonggang Luo) <luoyonggang@...il.com>
To: mesa-dev@...ts.freedesktop.org, Musl <musl@...ts.openwall.com>
Subject: Fwd: mesa | Remove USE_ELF_TLS macro (!17213)

---------- Forwarded message ---------
From: Zoltán Böszörményi (@zboszor) <gitlab@...lab.freedesktop.org>
Date: Sat, Jun 25, 2022 at 12:09 AM
Subject: Re: mesa | Remove USE_ELF_TLS macro (!17213)
To: <luoyonggang@...il.com>


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@...ormat(use_elf_tls ? 'yes' : 'no')],

155

+    variables : ['glx_tls=@0@...ormat('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

Content of type "text/html" skipped

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.