This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Weak linkage of cancellation points.
- From: Carlo Wood <carlo at alinoe dot com>
- To: libc-alpha at sources dot redhat dot com
- Date: Wed, 14 Jul 2004 13:32:43 +0200
- Subject: Re: Weak linkage of cancellation points.
- References: <20040714105134.GE26264@alinoe.com>
Ok, I finally realized why I was _calling_ the __libc_* functions:
because some __* functions are not defined :/
And now the __libc_* function are hidden/local - I have a problem.
It seems that the following aliases are missing:
../.libs/libcwd_r.so: undefined reference to `__recvmsg'
../.libs/libcwd_r.so: undefined reference to `__recvfrom'
../.libs/libcwd_r.so: undefined reference to `__tcdrain'
../.libs/libcwd_r.so: undefined reference to `__accept'
../.libs/libcwd_r.so: undefined reference to `__pwrite'
../.libs/libcwd_r.so: undefined reference to `__lseek64'
../.libs/libcwd_r.so: undefined reference to `__pause'
../.libs/libcwd_r.so: undefined reference to `__pread'
../.libs/libcwd_r.so: undefined reference to `__msync'
../.libs/libcwd_r.so: undefined reference to `__fsync'
../.libs/libcwd_r.so: undefined reference to `__system'
../.libs/libcwd_r.so: undefined reference to `__recv'
../.libs/libcwd_r.so: undefined reference to `__sendmsg'
../.libs/libcwd_r.so: undefined reference to `__sendto'
Unlike many other functions with Weak linkage, these do not
have a __* alias that one can call from within the overridden
function.
--
Carlo Wood <carlo@alinoe.com>