From c8b82b81ded53ae06987727e807d19170bee4204 Mon Sep 17 00:00:00 2001 From: Paul Pluzhnikov Date: Wed, 20 Nov 2013 10:25:57 -0800 Subject: [PATCH] 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) -- 2.7.4