Use -fasynchronous-unwind-tables for waitid
Joseph S. Myers
joseph@codesourcery.com
Fri Jun 23 22:03:00 GMT 2006
I don't see any reason for waitid.c not be be built with
-fasynchronous-unwind-tables when other files such as wait.c and waitpid.c
use -fasynchronous-unwind-tables. This patch adds that option and thereby
fixes nptl/tst-cancelx4 and ntpl/tst-cancelx5 for MIPS (O32), where they
previously failed with the cleanup handlers for waitid not being run.
2006-06-23 Joseph Myers <joseph@codesourcery.com>
* posix/Makefile (CFLAGS-waitid.c): Add
-fasynchronous-unwind-tables.
Index: posix/Makefile
===================================================================
RCS file: /cvs/glibc/libc/posix/Makefile,v
retrieving revision 1.191
diff -u -r1.191 Makefile
--- posix/Makefile 4 Jun 2006 04:59:05 -0000 1.191
+++ posix/Makefile 23 Jun 2006 20:59:36 -0000
@@ -141,7 +141,7 @@
CFLAGS-pwrite64.c = -fexceptions -fasynchronous-unwind-tables
CFLAGS-sleep.c = -fexceptions
CFLAGS-wait.c = -fexceptions -fasynchronous-unwind-tables
-CFLAGS-waitid.c = -fexceptions
+CFLAGS-waitid.c = -fexceptions -fasynchronous-unwind-tables
CFLAGS-waitpid.c = -fexceptions -fasynchronous-unwind-tables
CFLAGS-getopt.c = -fexceptions
CFLAGS-wordexp.c = -fexceptions
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list