This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/17629] put all symbols nptl_db looks up in the private namespace
- From: "palves at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 20 Nov 2014 11:44:41 +0000
- Subject: [Bug nptl/17629] put all symbols nptl_db looks up in the private namespace
- Auto-submitted: auto-generated
- References: <bug-17629-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17629
--- Comment #1 from Pedro Alves <palves at redhat dot com> ---
Actually looks like "stack_used" may be the only one with the problem:
$ grep -rn DB_GET_SYMBOL -rn
nptl_db/td_ta_thr_iter.c:157: err = DB_GET_SYMBOL (list, ta, __stack_user);
nptl_db/td_ta_thr_iter.c:164: err = DB_GET_SYMBOL (list, ta, stack_used);
nptl_db/td_ta_tsd_iter.c:53: err = DB_GET_SYMBOL (addr, ta, __pthread_keys);
nptl_db/td_ta_event_addr.c:40: err = DB_GET_SYMBOL (taddr, ta,
__nptl_create_event);
nptl_db/td_ta_event_addr.c:44: err = DB_GET_SYMBOL (taddr, ta,
__nptl_death_event);
nptl_db/td_thr_validate.c:65: err = DB_GET_SYMBOL (list, th->th_ta_p,
__stack_user);
nptl_db/td_thr_validate.c:73: err = DB_GET_SYMBOL (list, th->th_ta_p,
stack_used);
nptl_db/td_ta_map_lwp2thr.c:190: td_err_e err = DB_GET_SYMBOL (list, ta,
__stack_user);
nptl_db/td_ta_set_event.c:41: err = DB_GET_SYMBOL (eventmask, ta,
__nptl_threads_events);
nptl_db/thread_dbP.h:150:#define DB_GET_SYMBOL(var, ta, name)
\
nptl_db/td_thr_event_getmsg.c:71: err = DB_GET_SYMBOL (prevp, th->th_ta_p,
__nptl_last_event);
nptl_db/td_ta_clear_event.c:41: err = DB_GET_SYMBOL (eventmask, ta,
__nptl_threads_events);
Though renaming __stack_user to __nptl_stack_user too might be good, in case
other parts of the implementation (e.g., libgcc) might end up defining their
own unrelated static symbols with that name too.
--
You are receiving this mail because:
You are on the CC list for the bug.