One difference between uClibc and glibc

Rich Felker dalias at aerifal.cx
Thu Mar 23 07:58:39 UTC 2006


On Thu, Mar 23, 2006 at 02:29:53PM +0800, Jie Zhang wrote:
> On 3/23/06, Mike Frysinger <vapier at gentoo.org> wrote:
> > On Wednesday 22 March 2006 00:16, Jie Zhang wrote:
> > > What do you think?
> >
> > this fix is fine for all versions of uClibc released thus far released, but
> > i'm pretty sure (99%) that this isnt an issue for current uClibc svn (and
> > thus for the next 0.9.29 release) ... since psm's changes to hide relocations
> > against internal symbols in libc.so, snprintf() now calls an internal alias
> > to vsnprintf() rather than having the symbol be processed at runtime ... same
> > goes for all other such i/o functions ...
> 
> But that's only for shared library.

IMO this is a non-issue. Any program that defines an external symbol
named snprintf is not a conforming C program. Whatever this test
program redefining snprintf is, it should be fixed...

Rich




More information about the uClibc mailing list