glibc/nptl_db
Paul E. Murphy aa13fd1618 nptl_db: disable DT_RELR on libthread_db.so
Some nptl tests inadvertently use the host's gdb to verify
libthread_db.so, which is loaded with the host's runtime.  This causes
a couple of test failures when the host glibc does not support DT_RELR.

The not correct, but simple, workaround is to build without DT_RELR
as this library is otherwise likely to load on glibc 2.17 and newer
today.

This allows tst-pthread-gdb-attach{,-static} to continue working
when testing on a gdb loaded with an older glibc.

This avoids a failure in tst-pthread-gdb-attach similar to:

  Trying host libthread_db library: .../build/glibc/nptl_db/libthread_db.so.1.
  dlopen failed: /lib64/libc.so.6: version `GLIBC_ABI_DT_RELR' not found (required by .../build/glibc/nptl_db/libthread_db.so.1).

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2022-06-08 11:17:47 -05:00
..
db_info.c
db-symbols.awk
db-symbols.h
fetch-value.c
Makefile
shlib-versions
structs.def
td_init.c
td_log.c
td_symbol_list.c
td_ta_clear_event.c
td_ta_delete.c
td_ta_enable_stats.c
td_ta_event_addr.c
td_ta_event_getmsg.c
td_ta_get_nthreads.c
td_ta_get_ph.c
td_ta_get_stats.c
td_ta_map_id2thr.c
td_ta_map_lwp2thr.c
td_ta_new.c
td_ta_reset_stats.c
td_ta_set_event.c
td_ta_setconcurrency.c
td_ta_thr_iter.c
td_ta_tsd_iter.c
td_thr_clear_event.c
td_thr_dbresume.c
td_thr_dbsuspend.c
td_thr_event_enable.c
td_thr_event_getmsg.c
td_thr_get_info.c
td_thr_getfpregs.c
td_thr_getgregs.c
td_thr_getxregs.c
td_thr_getxregsize.c
td_thr_set_event.c
td_thr_setfpregs.c
td_thr_setgregs.c
td_thr_setprio.c
td_thr_setsigpending.c
td_thr_setxregs.c
td_thr_sigsetmask.c
td_thr_tls_get_addr.c
td_thr_tlsbase.c
td_thr_tsd.c
td_thr_validate.c
thread_dbP.h
Versions