This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Symbol versioning problem? Different versions of same symbol being called.
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Carlo Wood <carlo at alinoe dot com>
- Cc: bug-binutils at gnu dot org, gcc at gnu dot org
- Date: Thu, 24 Jan 2002 22:06:41 +1030
- Subject: Re: Symbol versioning problem? Different versions of same symbol being called.
- References: <20020124013408.A7683@alinoe.com>
On Thu, Jan 24, 2002 at 01:34:08AM +0100, Carlo Wood wrote:
> I tracked down a bug to be a mixup of __old_sem_post and
> __new_sem_post being called in the same application.
Use readelf to dump symbols. Is the application sem_post global?
Does the shared lib dynamic sem_post have default symbol
visibility? If both of these conditions are true, then your
shared lib ought to be calling the application sem_post.
--
Alan Modra
IBM OzLabs - Linux Technology Centre