A small testcase for dlopen bug

Ulrich Drepper drepper@redhat.com
Sun Jun 30 01:14:00 GMT 2002


On Sat, 2002-06-01 at 09:48, H . J . Lu wrote:

> Oops. Here is the testcase.

What do you expect to see?  I get now

Link map:
name = "", count = 0x0
name = "../dlfcn/libdl.so.2", count = 0x40000000
name = "../libc.so.6", count = 0x40004000
name = "../elf/ld-linux.so.2", count = 0x80000000
Loading: foo.so: Failed: ./libfoo.so: undefined symbol: glGetError
Link map:
name = "", count = 0x0
name = "../dlfcn/libdl.so.2", count = 0x40000000
name = "../libc.so.6", count = 0x40004000
name = "../elf/ld-linux.so.2", count = 0x80000000

which seems right since glGetError is defined in libGL which is nowhere
loaded.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20020630/28eac0ed/attachment.sig>


More information about the Libc-alpha mailing list