This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] BZ #5784: Build libpthread.a with ld -r
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