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 Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
db-symbols.awk nptl_db: Re-use the ELF-to-abilist converter for ABI checking 2021-06-29 22:17:08 +02:00
db-symbols.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
fetch-value.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
Makefile nptl_db: disable DT_RELR on libthread_db.so 2022-06-08 11:17:47 -05:00
shlib-versions
structs.def Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_init.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_log.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_symbol_list.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_ta_clear_event.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_ta_delete.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_ta_enable_stats.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_ta_event_addr.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_ta_event_getmsg.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_ta_get_nthreads.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_ta_get_ph.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_ta_get_stats.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_ta_map_id2thr.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_ta_map_lwp2thr.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_ta_new.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_ta_reset_stats.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_ta_set_event.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_ta_setconcurrency.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_ta_thr_iter.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_ta_tsd_iter.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_thr_clear_event.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_thr_dbresume.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_thr_dbsuspend.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_thr_event_enable.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_thr_event_getmsg.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_thr_get_info.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_thr_getfpregs.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_thr_getgregs.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_thr_getxregs.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_thr_getxregsize.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_thr_set_event.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_thr_setfpregs.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_thr_setgregs.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_thr_setprio.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_thr_setsigpending.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_thr_setxregs.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_thr_sigsetmask.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_thr_tls_get_addr.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_thr_tlsbase.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_thr_tsd.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
td_thr_validate.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
thread_dbP.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
Versions