diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2013-11-20 10:25:57 -0800 |
---|---|---|
committer | Paul Pluzhnikov <ppluzhnikov@google.com> | 2013-11-20 10:25:57 -0800 |
commit | c8b82b81ded53ae06987727e807d19170bee4204 (patch) | |
tree | 28fc67aa0eb54ea0449ac582cde4310668d20965 /nptl | |
parent | 71655786bcb9ccc4fe2b062520a2538a8f802e74 (diff) | |
download | glibc-c8b82b81ded53ae06987727e807d19170bee4204.tar.gz glibc-c8b82b81ded53ae06987727e807d19170bee4204.tar.xz glibc-c8b82b81ded53ae06987727e807d19170bee4204.zip |
Fix failure in tst-cleanup2 and tst-cleanupx2 with gcc-4.9
gcc (GCC) 4.9.0 20131114 (experimental) 2013-11-20 Paul Pluzhnikov <ppluzhnikov@google.com * Makefile (tst-cleanup2, tst-cleanupx2): Add -fno-builtin
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/ChangeLog | 4 | ||||
-rw-r--r-- | nptl/Makefile | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 9d04a7b3fa..440a844bd9 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,7 @@ +2013-11-20 Paul Pluzhnikov <ppluzhnikov@google.com + + * Makefile (tst-cleanup2, tst-cleanupx2): Add -fno-builtin + 2013-10-30 Mike Frysinger <vapier@gentoo.org> * sysdeps/pthread/configure.in: Moved to ... diff --git a/nptl/Makefile b/nptl/Makefile index cd601e5f5a..82f2d0a4f4 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) |