This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Functions with different versions in libc and libpthread


"H . J . Lu" <hjl@valinux.com> writes:

> Some functions have different versions in libc and libpthread. For
> example, pread has GLIBC_2.1 in libc and GLIBC_2.2 in libpthread.
> I can imagine potential problems with it. Shouldn't a fuction have
> the same verion cross all libraries?

The names, although the same in all libraries, are completely
separated.  They don't stand alone, they are used as a tuple
(library,version).  It doesn't matter whether a symbol has different
names in different DSOs.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]