Subject: Re: port-mips/22754: mips ld.elf_so picks weak alias over strong alias
To: None <netbsd-bugs@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: netbsd-bugs
Date: 09/12/2003 11:16:06
> >Synopsis:       mips ld.elf_so picks weak alias over strong alias

> 	However, __libc_mutex_lock is defined as a strong alias in
> 	libpthread's pthread_mutex.c:
> 
> __strong_alias(__libc_mutex_lock,pthread_mutex_lock)
> 
> 	and I would have thought that that binding should have been
> 	preferred over the weak alias?  (I'm threading on thin ice
> 	here, but other platforms appear to do this in the expected
> 	manner.)

Where is pthread_mutex_lock defined?
You can't equate a symbol to an undefined symbol - so it would have to
be in the same source file.

	David

-- 
David Laight: david@l8s.co.uk