Symbol versioning problem? Different versions of same symbol being called.

Alan Modra amodra@bigpond.net.au
Thu Jan 24 08:36:00 GMT 2002


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



More information about the Gcc mailing list