the setrlimit changes in glibc 2.1.3
H . J . Lu
hjl@lucon.org
Wed Jan 12 20:21:00 GMT 2000
On Wed, Jan 12, 2000 at 06:44:33PM -0500, Cristian Gafton wrote:
> On Wed, 12 Jan 2000, Mark Kettenis wrote:
>
> > * If you now link against your shared library you get a warning about
> > setrlimit@@GLIBC_2.0 undefined.
>
> It's an error.
>
> > Then either something went wrong during your built of glibc 2.1.3, or
> > there is a bug in the (static) linker. To check what is really you
> > could do
> >
> > nm /lib/libc-2.1.3.so | grep setrlimit
> >
> > This should output at least two lines looking like
> >
> > xxxxxxxx T setrlimit@@GLIBC_2.1.3
> > xxxxxxxx T setrlimit@GLIBC_2.0
> >
> > If this is not the case, something went wrong when buildig glibc
> > 2.1.3. Otherwise it is most likely a linker bug.
>
> I _do_ get that. The problem is that setrlimit@GLIBC_2.0 is different than
> the setrlimit@@GLIBC_2.0, which is what the liker expects to find.
Please send me a testcase. I will take a look. It sounds like a
linker bug to me.
H.J.
More information about the Libc-hacker
mailing list