From: Paul Pluzhnikov Date: Wed, 20 Nov 2013 18:25:57 +0000 (-0800) Subject: Fix failure in tst-cleanup2 and tst-cleanupx2 with gcc-4.9 X-Git-Tag: glibc-2.19~485 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c8b82b81ded53ae06987727e807d19170bee4204;p=platform%2Fupstream%2Fglibc.git Fix failure in tst-cleanup2 and tst-cleanupx2 with gcc-4.9 gcc (GCC) 4.9.0 20131114 (experimental) 2013-11-20 Paul Pluzhnikov * sysdeps/pthread/configure.in: Moved to ... diff --git a/nptl/Makefile b/nptl/Makefile index cd601e5..82f2d0a 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -278,6 +278,10 @@ gen-as-const-headers = pthread-errnos.sym LDFLAGS-pthread.so = -Wl,--enable-new-dtags,-z,nodelete,-z,initfirst +# GCC-4.9 compiles 'sprintf(NULL, ...)' into UD2 on x86_64 without -fno-builtin +CFLAGS-tst-cleanup2.c = -fno-builtin +CFLAGS-tst-cleanupx2.c = -fno-builtin + include ../Makeconfig ifeq ($(have-forced-unwind),yes)