[PATCH] BZ #5784: Build libpthread.a with ld -r

Joseph S. Myers joseph@codesourcery.com
Wed Sep 5 23:50:00 GMT 2012


On Wed, 5 Sep 2012, Mike Frysinger wrote:

> `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'

It should be possible to fix this sort of static linking issue by defining 
internal-use aliases and using them instead of directly using the symbols 
with such warnings.  The alias would in this case only need to be defined 
/ used for static linking, though it might be simpler to export it from 
shared libc as GLIBC_PRIVATE and use it unconditionally.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list