This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/344] Bogus dl test: elf/tst-dlopenrpath.c and elf/tst-dlopenrpathmod.c


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]