[PATCH] Fix C11 conformance issues

Joseph Myers joseph@codesourcery.com
Wed Jul 25 17:18:00 GMT 2018


On Wed, 25 Jul 2018, Florian Weimer wrote:

> On 07/25/2018 03:43 PM, Adhemerval Zanella wrote:
> >   linknamespace-libs-ISO11 = $(linknamespace-libs-isoc) \
> > -			   $(common-objpfx)nptl/libpthread.a
> > -linknamespace-libs-XPG4 = $(linknamespace-libs-isoc) \
> > -			  $(common-objpfx)crypt/libcrypt.a
> > +			   $(static-thread-library)
> 
> I've just realized this:
> 
> Linking with the static thread library obscures linknamespace issues in libc.a
> for symbols which are also defined in libpthread.a.  So this change is a bit
> questionable.

The linknamespace code looks at every definition of a strong undefined 
symbol being resolved, not just the definition in a particular library.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list