2001-02-05 06:32:16

by Richard Gooch

[permalink] [raw]
Subject: Re: [PATCH] devfsd, compiling on glibc22x

Ulrich Drepper writes:
> Pierre Rousselet <[email protected]> writes:
>
> > for me :
> > make CFLAGS='-O2 -I. -D_GNU_SOURCE'
> > compiles without any patch. is it correct ?
>
> Yes. RTLD_NEXT is not in any standard, it's an extension available
> via -D_GNU_SOURCE.

So why do old binaries (compiled with glibc 2.1.3) segfault when they
call dlsym() with RTLD_NEXT? Even newly compiled binaries (with glibc
2.2) still segfault.

Regards,

Richard....
Permanent: [email protected]
Current: [email protected]