[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

[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

[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

[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

[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

[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

[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=edit dlopen_test.c -- You are receiving this mail because: You are the assignee for the

[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 >

[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

[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

[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

[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

[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 timo.te...@iki.fi changed: What|Removed |Added CC||timo.te...@iki.fi -- You

[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 bug...@aerifal.cx --- 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

[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 amona...@gmail.com changed: What|Removed |Added CC||amona...@gmail.com

[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 natanael.c...@gmail.com --- (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

[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 natanael.c...@gmail.com --- Created attachment 92975 -- https://bugs.freedesktop.org/attachment.cgi?id=92975action=edit gltest.c testcase. To reproduce, dlopen ./gltest.so and call gltest(). -- You are

[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 natanael.c...@gmail.com --- Created attachment 92976 -- https://bugs.freedesktop.org/attachment.cgi?id=92976action=edit app.c app that call gltest() in a dlopened gltest.so -- You are receiving this mail

[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 natanael.c...@gmail.com --- Created attachment 92977 -- https://bugs.freedesktop.org/attachment.cgi?id=92977action=edit Makefile Makefile for app.c and gltest.c -- You are receiving this mail because: You

[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 bug...@aerifal.cx --- 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

[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 natanael.c...@gmail.com --- (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

[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 natanael.c...@gmail.com --- Created attachment 92987 -- https://bugs.freedesktop.org/attachment.cgi?id=92987action=edit dso.c test dso that allocates big enough TLS variable. -- You are receiving this mail

[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 natanael.c...@gmail.com changed: What|Removed |Added Attachment #92976|0 |1 is

[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 natanael.c...@gmail.com changed: What|Removed |Added Attachment #92977|0 |1 is

[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 natanael.c...@gmail.com changed: What|Removed |Added Status|RESOLVED|REOPENED

[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 fabio@libero.it changed: What|Removed |Added Status|NEW |RESOLVED

[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 fabio@libero.it 2012-03-30 03:05:21 PDT --- This patch was dropped in Ubuntu: no longer needed, now breaks things:

[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 nmi...@gmail.com 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

[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 nmi...@gmail.com 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

[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 tfo...@alumni.unh.edu 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

[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 jcris...@debian.org 2011-04-26 14:36:31 PDT --- --- Comment #3 from Tom Fogal tfo...@alumni.unh.edu 2011-04-26 10:25:37 PDT --- Is there hand-coded asm for other architectures (i.e. not just x86[-64]) as

[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

[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 fabio@libero.it changed: What|Removed |Added CC||fabio@libero.it --

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

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

[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 chalserog...@gmail.com 2011-03-13 05:00:28 PDT --- Created an attachment (id=44412) View: https://bugs.freedesktop.org/attachment.cgi?id=44412 Review: