[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2019-09-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 GitLab Migration User changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2019-03-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 makep...@firemail.cc changed: What|Removed |Added CC||makep...@firemail.cc -- You are r

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2019-01-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 Clayton Craft changed: What|Removed |Added CC||clayton.a.cr...@intel.com -- You are re

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2018-12-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 --- Comment #30 from Rich Felker --- Given the lack of response on this issue, I think when I get some time to focus on it again I'll just prepare a patch removing all of the asm dispatch stubs. As noted before, they have no benefits at all on x

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2018-11-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 --- Comment #29 from Rich Felker --- It turns out there's more code that needs to be refitted or removed from src/mapi/entry_*_tls.h, including powerpc64le asm I wasn't aware of before. There's a lot of code to generate executable stubs at runtim

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2018-11-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 --- Comment #28 from Rich Felker --- Note that removing the asm would also fix sparc, for which I don't feel qualified to fix the asm. It would also make it possible to support x86 targets that lack TLSDESC support at the ldso level (maybe some o

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2018-11-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 --- Comment #27 from Rich Felker --- A couple issues with latest patches by Sora Lee: 1. There is no need for __attribute__((__tls_model__("global-dynamic"))). It's rightly the default whenever it's needed by the ABI. The attribute should just b

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2018-10-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 Sora Lee changed: What|Removed |Added Attachment #142010|0 |1 is obsolete|

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2018-10-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 --- Comment #25 from Sora Lee --- Created attachment 142011 --> https://bugs.freedesktop.org/attachment.cgi?id=142011&action=edit dlopen_test.c -- You are receiving this mail because: You are the assignee for the bug._

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2018-10-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 Sora Lee changed: What|Removed |Added Attachment #44777|0 |1 is obsolete|

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2018-10-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 --- Comment #23 from Sora Lee --- (In reply to Rich Felker from comment #22) > Ping. > > Looking at this again, I see the original proposed patch introduced a lot of > extra asm to save/restore registers that might be clobbered by > __tls_get_ad

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2018-10-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 --- Comment #22 from Rich Felker --- Ping. Looking at this again, I see the original proposed patch introduced a lot of extra asm to save/restore registers that might be clobbered by __tls_get_addr. That could all go away if tlsdesc support is a

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2018-10-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 Ross Burton changed: What|Removed |Added CC||raj.k...@gmail.com -- You are receiving t

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2018-10-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 Nicholas Miell changed: What|Removed |Added CC||r...@burtonini.com --- Comment #21 from

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2017-03-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 Nicholas Fish changed: What|Removed |Added CC||x...@seaofdirac.net -- You are receivin

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2015-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 Timo Teräs changed: What|Removed |Added CC||timo.te...@iki.fi -- You are receiving thi

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2014-10-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 --- Comment #20 from Rich Felker --- Update from the musl libc side: we now have TLSDESC support for x86 and x86_64, so the situation would be much improved (with no performance regression) by using TLSDESC. Support for TLSDESC on ARM and other a

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2014-01-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 Natanael Copa changed: What|Removed |Added Attachment #92977|0 |1 is obsolete|

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2014-01-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 Natanael Copa changed: What|Removed |Added Attachment #92976|0 |1 is obsolete|

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2014-01-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 --- Comment #17 from Natanael Copa --- Created attachment 92987 --> https://bugs.freedesktop.org/attachment.cgi?id=92987&action=edit dso.c test dso that allocates big enough TLS variable. -- You are receiving this mail because: You are the a

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2014-01-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 --- Comment #16 from Natanael Copa --- (In reply to comment #15) > Note that, at least as I understand > it, the current approach that "works" with glibc is already fragile; if > another library with large TLS needs gets loaded via dlopen before

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2014-01-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 --- Comment #15 from Rich Felker --- Hi. I'm the maintainer of musl and I'd like to confirm that we don't have plans to work around this on our side. musl aims to support extremely minimal thread stacks if desired by the application, and reservin

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2014-01-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 --- Comment #14 from Natanael Copa --- Created attachment 92977 --> https://bugs.freedesktop.org/attachment.cgi?id=92977&action=edit Makefile Makefile for app.c and gltest.c -- You are receiving this mail because: You are the assignee for th

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2014-01-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 --- Comment #13 from Natanael Copa --- Created attachment 92976 --> https://bugs.freedesktop.org/attachment.cgi?id=92976&action=edit app.c app that call gltest() in a dlopened gltest.so -- You are receiving this mail because: You are the ass

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2014-01-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 --- Comment #12 from Natanael Copa --- Created attachment 92975 --> https://bugs.freedesktop.org/attachment.cgi?id=92975&action=edit gltest.c testcase. To reproduce, dlopen ./gltest.so and call gltest(). -- You are receiving this mail becaus

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2014-01-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 --- Comment #11 from Natanael Copa --- (In reply to comment #10) > Nowadays nVidia- and AMD-supplied libGL.so's use initial-exec TLS as well > (at least on 32-bit x86). the closed source libGL.sos are linked to GNU libc and is not really expecte

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2014-01-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 Alexander Monakov changed: What|Removed |Added CC||amona...@gmail.com --- Comment #10 f

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2014-01-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 --- Comment #9 from Natanael Copa --- I don't think musl libc intend to implement the special handling for mesa as described in http://www.redhat.com/archives/phil-list/2003-February/msg00077.html I think they intend to implement gnu2 tls dialec

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2014-01-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 Natanael Copa changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|NOTOURBUG

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2012-05-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 Fabio Pedretti changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2012-03-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 --- Comment #7 from Fabio Pedretti 2012-03-30 03:05:21 PDT --- This patch was dropped in Ubuntu: "no longer needed, now breaks things": http://anonscm.debian.org/gitweb/?p=pkg-xorg/lib/mesa.git;a=commitdiff;h=5ba285e9ca2f6f6d8baba231c80dcd41c2f9

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2011-09-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 --- Comment #6 from Nicholas Miell 2011-09-20 15:15:58 PDT --- Also, the test case is wrong, the main executable is compiled PIC for no reason and the shared object is compiled without PIC, which barely works on i386 and won't even link on AMD64

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2011-09-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 --- Comment #5 from Nicholas Miell 2011-09-20 14:15:18 PDT --- Mesa is explicitly allowed to use intial-exec, even when dlopen()ed. See: http://www.redhat.com/archives/phil-list/2003-February/msg00077.html -- Configure bugmail: https://bugs.fr

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2011-04-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 --- Comment #4 from Julien Cristau 2011-04-26 14:36:31 PDT --- > --- Comment #3 from Tom Fogal 2011-04-26 10:25:37 PDT > --- > Is there hand-coded asm for other architectures (i.e. not just x86[-64]) as > well? I have not checked. However, I

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2011-04-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 --- Comment #3 from Tom Fogal 2011-04-26 10:25:37 PDT --- It looks like init_glapi_relocs is an empty function after this patch. Can it just be removed, then? Is there hand-coded asm for other architectures (i.e. not just x86[-64]) as well? I

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2011-04-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 anth...@flowol.com changed: What|Removed |Added CC||anth...@flowol.com -- Configure bug

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2011-04-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 Fabio changed: What|Removed |Added CC||fabio@libero.it -- Configure bugmail: https

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2011-03-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 Christopher James Halse Rogers changed: What|Removed |Added Attachment #44412|0 |1 is obsolete|

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2011-03-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 --- Comment #1 from Christopher James Halse Rogers 2011-03-13 05:00:28 PDT --- Created an attachment (id=44412) View: https://bugs.freedesktop.org/attachment.cgi?id=44412 Review: https://bugs.freedesktop.org/review?bug=35268&attachment=44412