diff options
author | Carlos O'Donell <carlos@redhat.com> | 2024-01-10 10:46:03 -0500 |
---|---|---|
committer | Carlos O'Donell <carlos@redhat.com> | 2024-01-10 14:08:26 -0500 |
commit | 94aa256a47253d2202240c8696cbe824a969d3cc (patch) | |
tree | 59084d6d8754330e7eae67b69b8838e0d07d633f /sysdeps/unix/sysv/linux | |
parent | a09b2aacd9a23969aa3d768a22fe491e1ee98cf3 (diff) | |
download | glibc-94aa256a47253d2202240c8696cbe824a969d3cc.zip glibc-94aa256a47253d2202240c8696cbe824a969d3cc.tar.gz glibc-94aa256a47253d2202240c8696cbe824a969d3cc.tar.bz2 |
elf: Fix tst-nodeps2 test failure.
After 78ca44da0160a0b442f0ca1f253e3360f044b2ec
("elf: Relocate libc.so early during startup and dlmopen (bug 31083)")
we start seeing tst-nodeps2 failures when building the testsuite with
--enable-hard-coded-path-in-tests.
When building the testsuite with --enable-hard-coded-path-in-tests
the tst-nodeps2-mod.so is not built with the required DT_RUNPATH
values and the test escapes the test framework and loads the system
libraries and aborts. The fix is to use the existing
$(link-test-modules-rpath-link) variable to set DT_RUNPATH correctly.
No regressions on x86_64.
Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux')
0 files changed, 0 insertions, 0 deletions