[Bug dynamic-link/34361] [2.44 regression] FAIL elf/tst-rtld-dash-dash and elf/tst-rtld-does-not-exist

"hjl.tools at gmail dot com via Glibc-bugs" <[email protected]> Wed, 08 Jul 2026 22:48:02 +0000
Newsgroups gmane.comp.lib.glibc.bugs
Message-ID <[email protected]/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=34361

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to John David Anglin from comment #0)
> We have two new RTLD fails on hppa:
> FAIL: elf/tst-rtld-dash-dash
> FAIL: elf/tst-rtld-does-not-exist
> 
> /bin/sh tst-rtld-dash-dash.sh /home/dave/gnu/glibc/objdir/elf/ld.so >
> /home/dave/gnu/glibc/objdir/elf/tst-rtld-dash-dash.out; \
> ../scripts/evaluate-test.sh elf/tst-rtld-dash-dash $? false false >
> /home/dave/gnu/glibc/objdir/elf/tst-rtld-dash-dash.test-result
> make[2]: Leaving directory '/home/dave/gnu/glibc/glibc/elf'
> FAIL: elf/tst-rtld-dash-dash
> original exit status 1
> /home/dave/gnu/glibc/objdir/elf/ld.so --inhibit-cache exit status: 127
> output (with expected error):
> --program-does-not-exist: error while loading shared libraries:
> --program-does-not-exist: cannot open shared object file: No such file or
> directory
> make[1]: Leaving directory '/home/dave/gnu/glibc/glibc'
> 
> /bin/sh tst-rtld-does-not-exist.sh /home/dave/gnu/glibc/objdir/elf/ld.so >
> /home/dave/gnu/glibc/objdir/elf/tst-rtld-does-not-exist.out; \
> ../scripts/evaluate-test.sh elf/tst-rtld-does-not-exist $? false false >
> /home/dave/gnu/glibc/objdir/elf/tst-rtld-does-not-exist.test-result
> make[2]: Leaving directory '/home/dave/gnu/glibc/glibc/elf'
> FAIL: elf/tst-rtld-does-not-exist
> original exit status 1
> /home/dave/gnu/glibc/objdir/elf/ld.so --inhibit-cache exit status: 127
> output (with expected error):
> program-does-not-exist: error while loading shared libraries:
> program-does-not-exist: cannot open shared object file: No such file or
> directory
> make[1]: Leaving directory '/home/dave/gnu/glibc/glibc'
> 

On x86-64, I got

[hjl@gnu-tgl-3 build-x86_64-linux]$  ./elf/ld.so --inhibit-cache
program-does-not-exist
program-does-not-exist: error while loading shared libraries:
program-does-not-exist: cannot open shared object file
[hjl@gnu-tgl-3 build-x86_64-linux]$ 

There is no extra "No such file or directory".  Where does it come from on
hppa?
Please show the output of

$ strace ./elf/ld.so --inhibit-cache program-does-not-exist

-- 
You are receiving this mail because:
You are on the CC list for the bug.