This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/344] Bogus dl test: elf/tst-dlopenrpath.c and elf/tst-dlopenrpathmod.c
- From: "hjl at lucon dot org" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 23 Aug 2004 20:56:41 -0000
- Subject: [Bug libc/344] Bogus dl test: elf/tst-dlopenrpath.c and elf/tst-dlopenrpathmod.c
- References: <20040823205523.344.hjl@lucon.org>
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
------- Additional Comments From hjl at lucon dot org 2004-08-23 20:56 -------
Created an attachment (id=172)
--> (http://sources.redhat.com/bugzilla/attachment.cgi?id=172&action=view)
A testcase
gcc -c -fPIC -g -O2 -D_LARGEFILE64_SOURCE tst-dlopenrpathmod.c
gcc -shared -o tst-dlopenrpathmod.so tst-dlopenrpathmod.o -ldl -lpopt
-Wl,-rpath,/export/home/hjl/bugs/libc/dl/test-subdir
gcc -o foo -g -O2 -D_LARGEFILE64_SOURCE tst-dlopenrpath.c
/export/home/hjl/bugs/libc/dl/tst-dlopenrpathmod.so -ldl
rm -rf test-subdir
cp -af tst-dlopenrpathmod.so firstobj.so
/export/build/gnu/glibc-nptl-3.4/build-i686-linux/elf/ld-linux.so.2
--library-path
/export/build/gnu/glibc-nptl-3.4/build-i686-linux:/export/build/gnu/glibc-nptl-3.4/build-i686-linux/dlfcn
./foo
couldn't open in-subdir.so from foo: in-subdir.so: cannot open shared object
file: No such file or directory
make: [all] Error 1 (ignored)
/export/build/gnu/glibc-nptl-3.4/build-i686-linux/elf/ld-linux.so.2
--library-path
/export/build/gnu/glibc-nptl-3.4/build-i686-linux:/export/build/gnu/glibc-nptl-3.4/build-i686-linux/dlfcn
./foo
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=344
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.