This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC][PATCH][BZ #17381]Fetching tls from non native core files
- From: Nikola Prica <nikola dot prica at rt-rk dot com>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: libc-alpha at sourceware dot org, drepper dot fsp at gmail dot com, Djordje Todorovic <Djordje dot Todorovic at rt-rk dot com>, "Ananthakrishna Sowda (asowda)" <asowda at cisco dot com>, "Ivan Baev (ibaev)" <ibaev at cisco dot com>, Petar Jovanovic <petar dot jovanovic at rt-rk dot com>, 'Nemanja Popov' <nemanja dot popov at rt-rk dot com>
- Date: Wed, 18 Oct 2017 16:18:58 +0200
- Subject: Re: [RFC][PATCH][BZ #17381]Fetching tls from non native core files
- Authentication-results: sourceware.org; auth=none
- References: <1c05829b-380c-7326-9506-1c199846e8b0@rt-rk.com> <alpine.DEB.2.20.1707111226180.845@digraph.polyomino.org.uk> <63bcf534-a3e5-a063-aec2-94abd60b986a@rt-rk.com>
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