[RFC][PATCH][BZ #17381]Fetching tls from non native core files

Nikola Prica nikola.prica@rt-rk.com
Wed Oct 18 14:19:00 GMT 2017


Main advantage of this patch over infinity project is that support for 
fetching value of tls variable from cross-core files is done in glibc 
and this solution does not need any external project for building. On 
the other hand, infinity requires extern tool for its compilation, it 
requires embedding special infinity notes in executables and special 
parser for those embedded notes.

Infinity is designed to be alternative of libthread_db. Although it 
provides simpler and more organized implementation, it provides same 
functionality (and more) as libthread_db except that libthread_db lacks 
cross tls fetching functionality that would be provided with this patch. 
Also, some consumers still depend on libthread_db and this patch would 
be helpful for them.

We think that infinity is great project, but we also think that it 
should coexists with libthread_db API until it is acknowledge as 
standard. For that time libthread_db should be further developed.

Regards,

   Nikola Prica



More information about the Libc-alpha mailing list