mailing list of musl libc
 help / color / mirror / code / Atom feed
From: "罗勇刚(Yonggang Luo)" <luoyonggang@gmail.com>
To: mesa-dev@lists.freedesktop.org, Musl <musl@lists.openwall.com>
Subject: [musl] Fwd: mesa | Remove USE_ELF_TLS macro (!17213)
Date: Sat, 25 Jun 2022 11:36:09 +0800	[thread overview]
Message-ID: <CAE2XoE_k0c7VHVZampVjo6rX8pwtKnSKKj957cDhFzWVnMfW5g@mail.gmail.com> (raw)
In-Reply-To: <note_1442291@gitlab.freedesktop.org>

[-- Attachment #1: Type: text/plain, Size: 1251 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1802 bytes --]

       reply	other threads:[~2022-06-25  3:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <merge_request_66288@gitlab.freedesktop.org>
     [not found] ` <note_1441630@gitlab.freedesktop.org>
     [not found]   ` <note_1442039@gitlab.freedesktop.org>
     [not found]     ` <note_1442291@gitlab.freedesktop.org>
2022-06-25  3:36       ` 罗勇刚(Yonggang Luo) [this message]
2022-06-25  4:47         ` Markus Wichmann
2022-06-25  5:25           ` 罗勇刚(Yonggang Luo)
2022-06-25  5:51             ` Fangrui Song
2022-06-25  9:48             ` Szabolcs Nagy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAE2XoE_k0c7VHVZampVjo6rX8pwtKnSKKj957cDhFzWVnMfW5g@mail.gmail.com \
    --to=luoyonggang@gmail.com \
    --cc=mesa-dev@lists.freedesktop.org \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).