diff options
author | Paul E. Murphy <murphyp@linux.ibm.com> | 2022-06-01 16:19:49 +0000 |
---|---|---|
committer | Paul E. Murphy <murphyp@linux.ibm.com> | 2022-06-08 11:17:47 -0500 |
commit | aa13fd16183949bbc40b010552e2e42003ebee62 (patch) | |
tree | ccd9b9e3852b5fd7f32bcf6d6db99cfa256beb14 /string/swab.c | |
parent | c2f39be490150aa748bc74d78d7ee122188a30cf (diff) | |
download | glibc-aa13fd16183949bbc40b010552e2e42003ebee62.tar.gz glibc-aa13fd16183949bbc40b010552e2e42003ebee62.tar.xz glibc-aa13fd16183949bbc40b010552e2e42003ebee62.zip |
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>
Diffstat (limited to 'string/swab.c')
0 files changed, 0 insertions, 0 deletions