https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91938

--- Comment #2 from nsz at gcc dot gnu.org ---
if you really want this optimization then libgomp has to do checks
to guarantee that the target libc supports this usage and only
enable it when it's 100% safe. (e.g. musl or bionic does not support
this, my guess is nothing really supports this other than glibc
and even glibc has trouble because users abuse it)

i don't believe the unacceptable performance claims, since with
tlsdesc there should be only a small performance difference
between initial-exec tls vs general tls access, so instead of
building broken binaries with initial-exec tls-model may be the
tls-dialect should be changed to tlsdesc (when supported).

Reply via email to