[patch][committed] Fix failure in nptl/tst-cleanup2 with GCC-4.9

Ondřej Bílka neleai@seznam.cz
Thu Nov 21 19:47:00 GMT 2013


On Wed, Nov 20, 2013 at 10:35:14AM -0800, Paul Pluzhnikov wrote:
> Greetings,
> 
> I've committed attached patch as obvious.
> 
> When building with gcc (GCC) 4.9.0 20131114 (experimental),
> a call to 'sprintf(NULL, ...)' gets compiled into UD2 on x86_64,
> and the test fails with unexpected SIGILL.
> 
> Since we really do want to call sprintf here, the fix is for GCC to
> ignore its builtin knowledge of what sprintf does.
>
This was filled as following bug,

https://sourceware.org/bugzilla/show_bug.cgi?id=16149

So I updated NEWS accordingly.



More information about the Libc-alpha mailing list