This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: A small testcase for dlopen bug
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Ulrich Drepper <drepper at redhat dot com>
- Cc: GNU C Library <libc-alpha at sources dot redhat dot com>
- Date: Mon, 1 Jul 2002 08:06:28 -0700
- Subject: Re: A small testcase for dlopen bug
- References: <20020601094718.A13027@lucon.org> <20020601094853.B13027@lucon.org> <1025423802.25516.105.camel@myware.mynet>
On Sun, Jun 30, 2002 at 12:56:40AM -0700, Ulrich Drepper wrote:
> 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.
>
It is covered by:
http://sources.redhat.com/ml/libc-alpha/2002-06/msg00051.html
H.J.