From: Paul Pluzhnikov Date: Wed, 20 Nov 2013 18:05:24 +0000 (-0800) Subject: Fix failure in nptl/tst-cleanup when building with X-Git-Tag: glibc-2.19~487 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78271fa91a1e6902222e892068750059ec21f396;p=thirdparty%2Fglibc.git Fix failure in nptl/tst-cleanup when building with gcc (GCC) 4.9.0 20131114 (experimental) 2013-11-20 Paul Pluzhnikov * nptl/tst-cleanup2.c (do_test): Handle SIGILL as well. --- diff --git a/ChangeLog b/ChangeLog index 1f673d32264..a6a2851500e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-11-20 Paul Pluzhnikov + + * nptl/tst-cleanup2.c (do_test): Handle SIGILL as well. + 2013-11-20 Ondřej Bílka * malloc/hooks.c (memalign_check): Add alignment rounding. diff --git a/nptl/tst-cleanup2.c b/nptl/tst-cleanup2.c index 65af0f2018b..519ec79c790 100644 --- a/nptl/tst-cleanup2.c +++ b/nptl/tst-cleanup2.c @@ -52,6 +52,12 @@ do_test (void) exit (1); } + if (sigaction (SIGILL, &sa, 0)) + { + perror ("installing SIGILL handler\n"); + exit (1); + } + puts ("Attempting to sprintf to null ptr"); if (setjmp (jmpbuf)) {