the setrlimit changes in glibc 2.1.3

Cristian Gafton gafton@redhat.com
Wed Jan 12 15:44:00 GMT 2000


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.

Cristian
--
----------------------------------------------------------------------
Cristian Gafton     --     gafton@redhat.com      --     Red Hat, Inc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  "How could this be a problem in a country where we have Intel and 
   Microsoft?"  --Al Gore on Y2K



More information about the Libc-hacker mailing list