libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libunwind-devel] tls_model("initial-exec") attribute prevents dynam


From: Paul Pluzhnikov
Subject: Re: [Libunwind-devel] tls_model("initial-exec") attribute prevents dynamic loading of libunwind via dlopen()
Date: Tue, 01 May 2018 20:22:33 +0000

On Tue, May 1, 2018 at 11:09 AM Milian Wolff <address@hidden> wrote:

> - why was the tls_model explicitly set to initial-exec?
> - can we just remove it?

Note that when using dlopen-ed library with __thread variables, access to
them may result in malloc being called (at least under GLIBC):
https://sourceware.org/bugzilla/show_bug.cgi?id=16133

That is highly problematic when you want to unwind from within malloc
itself.



-- 
Paul Pluzhnikov



reply via email to

[Prev in Thread] Current Thread [Next in Thread]