diff options
| author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2010-08-19 16:18:28 -0700 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-20 16:07:43 +0100 |
| commit | 735210556dc709b3c2367389fa6ea9c0109412b1 (patch) | |
| tree | b042ff7f78c7850460e6994d78b49a60be7db544 /meta/packages/glibc/files | |
| parent | 7e8f14d2d8c11d57ccd77974672bd959f8e95e35 (diff) | |
| download | poky-735210556dc709b3c2367389fa6ea9c0109412b1.tar.gz | |
glibc: remove all old recipes
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Diffstat (limited to 'meta/packages/glibc/files')
10 files changed, 0 insertions, 393 deletions
diff --git a/meta/packages/glibc/files/5090_all_stubs-rule-fix.patch b/meta/packages/glibc/files/5090_all_stubs-rule-fix.patch deleted file mode 100644 index c445a5296e..0000000000 --- a/meta/packages/glibc/files/5090_all_stubs-rule-fix.patch +++ /dev/null | |||
| @@ -1,39 +0,0 @@ | |||
| 1 | Index: Makerules | ||
| 2 | =================================================================== | ||
| 3 | RCS file: /cvs/glibc/libc/Makerules,v | ||
| 4 | retrieving revision 1.430 | ||
| 5 | diff -u -r1.430 Makerules | ||
| 6 | --- libc/Makerules 5 Mar 2005 19:24:32 -0000 1.430 | ||
| 7 | +++ libc/Makerules 22 Apr 2005 18:31:27 -0000 | ||
| 8 | @@ -1390,15 +1390,26 @@ | ||
| 9 | $(addprefix $(objpfx),$(extra-objs)) | ||
| 10 | $(objpfx)stubs: $(objs-for-stubs) | ||
| 11 | ifneq (,$(strip $(objs-for-stubs))) | ||
| 12 | - $(OBJDUMP) -h $^ | \ | ||
| 13 | - $(AWK) '/\.gnu\.glibc-stub\./ { \ | ||
| 14 | - sub(/\.gnu\.glibc-stub\./, "", $$2); \ | ||
| 15 | - stubs[$$2] = 1; } \ | ||
| 16 | - END { for (s in stubs) print "#define __stub_" s }' > $@T | ||
| 17 | + $(stub-obj-list) | ||
| 18 | + cat $@L | xargs \ | ||
| 19 | + $(OBJDUMP) -h | \ | ||
| 20 | + $(AWK) '/\.gnu\.glibc-stub\./ { \ | ||
| 21 | + sub(/\.gnu\.glibc-stub\./, "", $$2); \ | ||
| 22 | + stubs[$$2] = 1; } \ | ||
| 23 | + END { for (s in stubs) print "#define __stub_" s }' \ | ||
| 24 | + > $@T | ||
| 25 | + -rm -f $@L | ||
| 26 | mv -f $@T $@ | ||
| 27 | else | ||
| 28 | > $@ | ||
| 29 | endif | ||
| 30 | + | ||
| 31 | +define stub-obj-list | ||
| 32 | +-@rm -f $@L | ||
| 33 | +-@echo "Generating stub obj list..." | ||
| 34 | +$(foreach file,$^, | ||
| 35 | +@echo >> $@L '$(file)') | ||
| 36 | +endef | ||
| 37 | |||
| 38 | # This information is not used for making distributions any more. | ||
| 39 | # But it's used by MakeTAGS for making TAGS files and the .pot files. | ||
diff --git a/meta/packages/glibc/files/etc/ld.so.conf b/meta/packages/glibc/files/etc/ld.so.conf deleted file mode 100644 index ddd777db2a..0000000000 --- a/meta/packages/glibc/files/etc/ld.so.conf +++ /dev/null | |||
| @@ -1,2 +0,0 @@ | |||
| 1 | /usr/local/lib | ||
| 2 | include /etc/ld.so.conf.d/* | ||
diff --git a/meta/packages/glibc/files/fhs-linux-paths.patch b/meta/packages/glibc/files/fhs-linux-paths.patch deleted file mode 100644 index 1f32f6d7f2..0000000000 --- a/meta/packages/glibc/files/fhs-linux-paths.patch +++ /dev/null | |||
| @@ -1,11 +0,0 @@ | |||
| 1 | --- glibc-2.1.1/sysdeps/unix/sysv/linux/paths.h~ Thu May 27 13:16:33 1999 | ||
| 2 | +++ glibc-2.1.1/sysdeps/unix/sysv/linux/paths.h Thu May 27 13:17:55 1999 | ||
| 3 | @@ -71,7 +71,7 @@ | ||
| 4 | /* Provide trailing slash, since mostly used for building pathnames. */ | ||
| 5 | #define _PATH_DEV "/dev/" | ||
| 6 | #define _PATH_TMP "/tmp/" | ||
| 7 | -#define _PATH_VARDB "/var/db/" | ||
| 8 | +#define _PATH_VARDB "/var/lib/misc/" | ||
| 9 | #define _PATH_VARRUN "/var/run/" | ||
| 10 | #define _PATH_VARTMP "/var/tmp/" | ||
| 11 | |||
diff --git a/meta/packages/glibc/files/generate-supported.mk b/meta/packages/glibc/files/generate-supported.mk deleted file mode 100644 index d2a28c2dc6..0000000000 --- a/meta/packages/glibc/files/generate-supported.mk +++ /dev/null | |||
| @@ -1,11 +0,0 @@ | |||
| 1 | #!/usr/bin/make | ||
| 2 | |||
| 3 | include $(IN) | ||
| 4 | |||
| 5 | all: | ||
| 6 | rm -f $(OUT) | ||
| 7 | touch $(OUT) | ||
| 8 | for locale in $(SUPPORTED-LOCALES); do \ | ||
| 9 | [ $$locale = true ] && continue; \ | ||
| 10 | echo $$locale | sed 's,/, ,' >> $(OUT); \ | ||
| 11 | done | ||
diff --git a/meta/packages/glibc/files/glibc-2.5-local-dynamic-resolvconf.patch b/meta/packages/glibc/files/glibc-2.5-local-dynamic-resolvconf.patch deleted file mode 100644 index e137287dd1..0000000000 --- a/meta/packages/glibc/files/glibc-2.5-local-dynamic-resolvconf.patch +++ /dev/null | |||
| @@ -1,41 +0,0 @@ | |||
| 1 | # All lines beginning with `# DP:' are a description of the patch. | ||
| 2 | # DP: Description: allow dynamic long-running processes to | ||
| 3 | # DP: re-read a dynamically updated resolv.conf on the fly | ||
| 4 | # DP: Dpatch author: Adam Conrad <adconrad@ubuntu.com> | ||
| 5 | # DP: Patch author: Thorsten Kukuk <kukuk@suse.de> | ||
| 6 | # DP: Upstream status: Ubuntu-Specific | ||
| 7 | # DP: Date: 2006-01-13 08:14:21 UTC | ||
| 8 | |||
| 9 | Index: resolv/res_libc.c | ||
| 10 | =================================================================== | ||
| 11 | --- resolv/res_libc.c.orig | ||
| 12 | +++ resolv/res_libc.c | ||
| 13 | @@ -22,7 +22,7 @@ | ||
| 14 | #include <arpa/nameser.h> | ||
| 15 | #include <resolv.h> | ||
| 16 | #include <bits/libc-lock.h> | ||
| 17 | - | ||
| 18 | +#include <sys/stat.h> | ||
| 19 | |||
| 20 | /* The following bit is copied from res_data.c (where it is #ifdef'ed | ||
| 21 | out) since res_init() should go into libc.so but the rest of that | ||
| 22 | @@ -94,8 +94,17 @@ | ||
| 23 | int | ||
| 24 | __res_maybe_init (res_state resp, int preinit) | ||
| 25 | { | ||
| 26 | - if (resp->options & RES_INIT) { | ||
| 27 | - if (__res_initstamp != resp->_u._ext.initstamp) { | ||
| 28 | + static time_t last_mtime; | ||
| 29 | + struct stat statbuf; | ||
| 30 | + int ret; | ||
| 31 | + | ||
| 32 | + | ||
| 33 | + if (resp->options & RES_INIT) { | ||
| 34 | + ret = stat (_PATH_RESCONF, &statbuf); | ||
| 35 | + if (__res_initstamp != resp->_u._ext.initstamp | ||
| 36 | + || (ret == 0) && (last_mtime != statbuf.st_mtime)) | ||
| 37 | + { | ||
| 38 | + last_mtime = statbuf.st_mtime; | ||
| 39 | if (resp->nscount > 0) { | ||
| 40 | __res_iclose (resp, true); | ||
| 41 | return __res_vinit (resp, 1); | ||
diff --git a/meta/packages/glibc/files/glibc-2.6.1-RTLD_SINGLE_THREAD_P-1.patch b/meta/packages/glibc/files/glibc-2.6.1-RTLD_SINGLE_THREAD_P-1.patch deleted file mode 100644 index 33d5282b90..0000000000 --- a/meta/packages/glibc/files/glibc-2.6.1-RTLD_SINGLE_THREAD_P-1.patch +++ /dev/null | |||
| @@ -1,20 +0,0 @@ | |||
| 1 | Submitted By: Joe Ciccone <jciccone@linuxfromscratch.org> | ||
| 2 | Date: 07-02-2007 | ||
| 3 | Initial Package Version: 2.6 | ||
| 4 | Origin: http://sourceware.org/ml/libc-ports/2007-05/msg00051.html | ||
| 5 | Upstream Status: Unknown | ||
| 6 | Description: Defines RTLD_SINGLE_THREAD_P for arm. | ||
| 7 | |||
| 8 | diff -Naur glibc-2.6.orig/ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h glibc-2.6/ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h | ||
| 9 | --- glibc-2.6.orig/ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h 2007-07-02 17:39:22.000000000 -0400 | ||
| 10 | +++ glibc-2.6/ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h 2007-07-02 17:39:36.000000000 -0400 | ||
| 11 | @@ -126,3 +126,9 @@ | ||
| 12 | # define NO_CANCELLATION 1 | ||
| 13 | |||
| 14 | #endif | ||
| 15 | + | ||
| 16 | +#ifndef __ASSEMBLER__ | ||
| 17 | +# define RTLD_SINGLE_THREAD_P \ | ||
| 18 | + __builtin_expect (THREAD_GETMEM (THREAD_SELF, \ | ||
| 19 | + header.multiple_threads) == 0, 1) | ||
| 20 | +#endif | ||
diff --git a/meta/packages/glibc/files/glibc-2.6.1-use-short-for-fnstsw.patch b/meta/packages/glibc/files/glibc-2.6.1-use-short-for-fnstsw.patch deleted file mode 100644 index 6979229279..0000000000 --- a/meta/packages/glibc/files/glibc-2.6.1-use-short-for-fnstsw.patch +++ /dev/null | |||
| @@ -1,30 +0,0 @@ | |||
| 1 | Source: http://sourceware.org/ml/libc-alpha/2008-01/msg00017.html | ||
| 2 | |||
| 3 | I am checking this x86 assembler patch: | ||
| 4 | |||
| 5 | http://sourceware.org/ml/binutils/2008-01/msg00148.html | ||
| 6 | |||
| 7 | to check operand size. fnstsw stores 16bit into %ax. The upper | ||
| 8 | 16bit of %eax is unchanged. The new assembler will disallow | ||
| 9 | "fnstsw %eax". Here is a patch for glibc. | ||
| 10 | |||
| 11 | |||
| 12 | H.J. | ||
| 13 | |||
| 14 | --- | ||
| 15 | sysdeps/i386/fpu/ftestexcept.c | 2 +- | ||
| 16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 17 | |||
| 18 | Index: glibc-2.6.1/sysdeps/i386/fpu/ftestexcept.c | ||
| 19 | =================================================================== | ||
| 20 | --- glibc-2.6.1.orig/sysdeps/i386/fpu/ftestexcept.c 2008-07-19 11:00:45.000000000 -0700 | ||
| 21 | +++ glibc-2.6.1/sysdeps/i386/fpu/ftestexcept.c 2008-07-19 11:01:25.000000000 -0700 | ||
| 22 | @@ -26,7 +26,7 @@ | ||
| 23 | int | ||
| 24 | fetestexcept (int excepts) | ||
| 25 | { | ||
| 26 | - int temp; | ||
| 27 | + short temp; | ||
| 28 | int xtemp = 0; | ||
| 29 | |||
| 30 | /* Get current exceptions. */ | ||
diff --git a/meta/packages/glibc/files/no-hwcaps.patch b/meta/packages/glibc/files/no-hwcaps.patch deleted file mode 100644 index 5cc2821c2f..0000000000 --- a/meta/packages/glibc/files/no-hwcaps.patch +++ /dev/null | |||
| @@ -1,52 +0,0 @@ | |||
| 1 | Disable the extra hwcaps fields, they cause ld.so to look in many strange paths | ||
| 2 | before searching for binaries in /lib. We don't install binaries into any other | ||
| 3 | place so this just wastes time. | ||
| 4 | |||
| 5 | RP - 20/08/2008 | ||
| 6 | |||
| 7 | Index: glibc-2.6.1/elf/dl-sysdep.c | ||
| 8 | =================================================================== | ||
| 9 | --- glibc-2.6.1.orig/elf/dl-sysdep.c 2008-08-15 15:54:49.000000000 +0100 | ||
| 10 | +++ glibc-2.6.1/elf/dl-sysdep.c 2008-08-15 17:45:28.000000000 +0100 | ||
| 11 | @@ -346,7 +346,7 @@ | ||
| 12 | { | ||
| 13 | /* Determine how many important bits are set. */ | ||
| 14 | uint64_t masked = GLRO(dl_hwcap) & GLRO(dl_hwcap_mask); | ||
| 15 | - size_t cnt = platform != NULL; | ||
| 16 | + size_t cnt = 0; | ||
| 17 | size_t n, m; | ||
| 18 | size_t total; | ||
| 19 | struct r_strlenpair *temp; | ||
| 20 | @@ -354,11 +354,6 @@ | ||
| 21 | struct r_strlenpair *rp; | ||
| 22 | char *cp; | ||
| 23 | |||
| 24 | - /* Count the number of bits set in the masked value. */ | ||
| 25 | - for (n = 0; (~((1ULL << n) - 1) & masked) != 0; ++n) | ||
| 26 | - if ((masked & (1ULL << n)) != 0) | ||
| 27 | - ++cnt; | ||
| 28 | - | ||
| 29 | #if (defined NEED_DL_SYSINFO || defined NEED_DL_SYSINFO_DSO) && defined SHARED | ||
| 30 | /* The system-supplied DSO can contain a note of type 2, vendor "GNU". | ||
| 31 | This gives us a list of names to treat as fake hwcap bits. */ | ||
| 32 | @@ -434,20 +429,6 @@ | ||
| 33 | } | ||
| 34 | } | ||
| 35 | #endif | ||
| 36 | - for (n = 0; masked != 0; ++n) | ||
| 37 | - if ((masked & (1ULL << n)) != 0) | ||
| 38 | - { | ||
| 39 | - temp[m].str = _dl_hwcap_string (n); | ||
| 40 | - temp[m].len = strlen (temp[m].str); | ||
| 41 | - masked ^= 1ULL << n; | ||
| 42 | - ++m; | ||
| 43 | - } | ||
| 44 | - if (platform != NULL) | ||
| 45 | - { | ||
| 46 | - temp[m].str = platform; | ||
| 47 | - temp[m].len = platform_len; | ||
| 48 | - ++m; | ||
| 49 | - } | ||
| 50 | |||
| 51 | temp[m].str = "tls"; | ||
| 52 | temp[m].len = 3; | ||
diff --git a/meta/packages/glibc/files/nopageheader.patch b/meta/packages/glibc/files/nopageheader.patch deleted file mode 100644 index 0416711586..0000000000 --- a/meta/packages/glibc/files/nopageheader.patch +++ /dev/null | |||
| @@ -1,12 +0,0 @@ | |||
| 1 | Index: glibc-2.6.1/ports/sysdeps/unix/sysv/linux/arm/ioperm.c | ||
| 2 | =================================================================== | ||
| 3 | --- glibc-2.6.1.orig/ports/sysdeps/unix/sysv/linux/arm/ioperm.c 2005-06-10 11:12:09.000000000 +0000 | ||
| 4 | +++ glibc-2.6.1/ports/sysdeps/unix/sysv/linux/arm/ioperm.c 2009-06-16 21:16:16.007016198 +0000 | ||
| 5 | @@ -45,7 +45,6 @@ | ||
| 6 | #include <sys/mman.h> | ||
| 7 | |||
| 8 | #include <linux/version.h> | ||
| 9 | -#include <asm/page.h> | ||
| 10 | #include <sys/sysctl.h> | ||
| 11 | |||
| 12 | #define PATH_ARM_SYSTYPE "/etc/arm_systype" | ||
diff --git a/meta/packages/glibc/files/nptl-crosscompile-2.3.6.patch b/meta/packages/glibc/files/nptl-crosscompile-2.3.6.patch deleted file mode 100644 index 2df3cd998b..0000000000 --- a/meta/packages/glibc/files/nptl-crosscompile-2.3.6.patch +++ /dev/null | |||
| @@ -1,175 +0,0 @@ | |||
| 1 | diff | ||
| 2 | --- glibc-2.3.6/nptl/sysdeps/pthread/configure.in.orig 2006-09-14 11:12:16.000000000 +0100 | ||
| 3 | +++ glibc-2.3.6/nptl/sysdeps/pthread/configure.in 2006-09-14 11:12:16.000000000 +0100 | ||
| 4 | @@ -21,29 +21,4 @@ | ||
| 5 | |||
| 6 | dnl Iff <unwind.h> is available, make sure it is the right one and it | ||
| 7 | dnl contains struct _Unwind_Exception. | ||
| 8 | -AC_CACHE_CHECK(dnl | ||
| 9 | -for forced unwind support, libc_cv_forced_unwind, [dnl | ||
| 10 | -AC_TRY_LINK([#include <unwind.h>], [ | ||
| 11 | -struct _Unwind_Exception exc; | ||
| 12 | -struct _Unwind_Context *context; | ||
| 13 | -_Unwind_GetCFA (context)], | ||
| 14 | -libc_cv_forced_unwind=yes, libc_cv_forced_unwind=no)]) | ||
| 15 | -if test $libc_cv_forced_unwind = yes; then | ||
| 16 | - AC_DEFINE(HAVE_FORCED_UNWIND) | ||
| 17 | -dnl Check for C cleanup handling. | ||
| 18 | - old_CFLAGS="$CFLAGS" | ||
| 19 | - CFLAGS="$CFLAGS -Werror -fexceptions" | ||
| 20 | - AC_CACHE_CHECK([for C cleanup handling], libc_cv_c_cleanup, [dnl | ||
| 21 | - AC_TRY_LINK([ | ||
| 22 | -#include <stdio.h> | ||
| 23 | -void cl (void *a) { }], [ | ||
| 24 | - int a __attribute__ ((cleanup (cl))); | ||
| 25 | - puts ("test")], | ||
| 26 | -libc_cv_c_cleanup=yes, libc_cv_c_cleanup=no)]) | ||
| 27 | - CFLAGS="$old_CFLAGS" | ||
| 28 | - if test $libc_cv_c_cleanup = no; then | ||
| 29 | - AC_MSG_ERROR([the compiler must support C cleanup handling]) | ||
| 30 | - fi | ||
| 31 | -else | ||
| 32 | - AC_MSG_ERROR(forced unwind support is required) | ||
| 33 | -fi | ||
| 34 | +AC_DEFINE(HAVE_FORCED_UNWIND) | ||
| 35 | diff | ||
| 36 | --- glibc-2.3.6/nptl/sysdeps/pthread/configure.orig 2006-09-14 11:11:12.000000000 +0100 | ||
| 37 | +++ glibc-2.3.6/nptl/sysdeps/pthread/configure 2006-09-14 11:11:12.000000000 +0100 | ||
| 38 | @@ -24,136 +24,7 @@ | ||
| 39 | fi | ||
| 40 | |||
| 41 | |||
| 42 | -echo "$as_me:$LINENO: checking for forced unwind support" >&5 | ||
| 43 | -echo $ECHO_N "checking for forced unwind support... $ECHO_C" >&6 | ||
| 44 | -if test "${libc_cv_forced_unwind+set}" = set; then | ||
| 45 | - echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 46 | -else | ||
| 47 | - cat >conftest.$ac_ext <<_ACEOF | ||
| 48 | -/* confdefs.h. */ | ||
| 49 | -_ACEOF | ||
| 50 | -cat confdefs.h >>conftest.$ac_ext | ||
| 51 | -cat >>conftest.$ac_ext <<_ACEOF | ||
| 52 | -/* end confdefs.h. */ | ||
| 53 | -#include <unwind.h> | ||
| 54 | -int | ||
| 55 | -main () | ||
| 56 | -{ | ||
| 57 | - | ||
| 58 | -struct _Unwind_Exception exc; | ||
| 59 | -struct _Unwind_Context *context; | ||
| 60 | -_Unwind_GetCFA (context) | ||
| 61 | - ; | ||
| 62 | - return 0; | ||
| 63 | -} | ||
| 64 | -_ACEOF | ||
| 65 | -rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 66 | -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
| 67 | - (eval $ac_link) 2>conftest.er1 | ||
| 68 | - ac_status=$? | ||
| 69 | - grep -v '^ *+' conftest.er1 >conftest.err | ||
| 70 | - rm -f conftest.er1 | ||
| 71 | - cat conftest.err >&5 | ||
| 72 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 73 | - (exit $ac_status); } && | ||
| 74 | - { ac_try='test -z "$ac_c_werror_flag" | ||
| 75 | - || test ! -s conftest.err' | ||
| 76 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 77 | - (eval $ac_try) 2>&5 | ||
| 78 | - ac_status=$? | ||
| 79 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 80 | - (exit $ac_status); }; } && | ||
| 81 | - { ac_try='test -s conftest$ac_exeext' | ||
| 82 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 83 | - (eval $ac_try) 2>&5 | ||
| 84 | - ac_status=$? | ||
| 85 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 86 | - (exit $ac_status); }; }; then | ||
| 87 | - libc_cv_forced_unwind=yes | ||
| 88 | -else | ||
| 89 | - echo "$as_me: failed program was:" >&5 | ||
| 90 | -sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 91 | - | ||
| 92 | -libc_cv_forced_unwind=no | ||
| 93 | -fi | ||
| 94 | -rm -f conftest.err conftest.$ac_objext \ | ||
| 95 | - conftest$ac_exeext conftest.$ac_ext | ||
| 96 | -fi | ||
| 97 | -echo "$as_me:$LINENO: result: $libc_cv_forced_unwind" >&5 | ||
| 98 | -echo "${ECHO_T}$libc_cv_forced_unwind" >&6 | ||
| 99 | -if test $libc_cv_forced_unwind = yes; then | ||
| 100 | - cat >>confdefs.h <<\_ACEOF | ||
| 101 | +cat >>confdefs.h <<\_ACEOF | ||
| 102 | #define HAVE_FORCED_UNWIND 1 | ||
| 103 | _ACEOF | ||
| 104 | |||
| 105 | - old_CFLAGS="$CFLAGS" | ||
| 106 | - CFLAGS="$CFLAGS -Werror -fexceptions" | ||
| 107 | - echo "$as_me:$LINENO: checking for C cleanup handling" >&5 | ||
| 108 | -echo $ECHO_N "checking for C cleanup handling... $ECHO_C" >&6 | ||
| 109 | -if test "${libc_cv_c_cleanup+set}" = set; then | ||
| 110 | - echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 111 | -else | ||
| 112 | - cat >conftest.$ac_ext <<_ACEOF | ||
| 113 | -/* confdefs.h. */ | ||
| 114 | -_ACEOF | ||
| 115 | -cat confdefs.h >>conftest.$ac_ext | ||
| 116 | -cat >>conftest.$ac_ext <<_ACEOF | ||
| 117 | -/* end confdefs.h. */ | ||
| 118 | - | ||
| 119 | -#include <stdio.h> | ||
| 120 | -void cl (void *a) { } | ||
| 121 | -int | ||
| 122 | -main () | ||
| 123 | -{ | ||
| 124 | - | ||
| 125 | - int a __attribute__ ((cleanup (cl))); | ||
| 126 | - puts ("test") | ||
| 127 | - ; | ||
| 128 | - return 0; | ||
| 129 | -} | ||
| 130 | -_ACEOF | ||
| 131 | -rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 132 | -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
| 133 | - (eval $ac_link) 2>conftest.er1 | ||
| 134 | - ac_status=$? | ||
| 135 | - grep -v '^ *+' conftest.er1 >conftest.err | ||
| 136 | - rm -f conftest.er1 | ||
| 137 | - cat conftest.err >&5 | ||
| 138 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 139 | - (exit $ac_status); } && | ||
| 140 | - { ac_try='test -z "$ac_c_werror_flag" | ||
| 141 | - || test ! -s conftest.err' | ||
| 142 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 143 | - (eval $ac_try) 2>&5 | ||
| 144 | - ac_status=$? | ||
| 145 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 146 | - (exit $ac_status); }; } && | ||
| 147 | - { ac_try='test -s conftest$ac_exeext' | ||
| 148 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 149 | - (eval $ac_try) 2>&5 | ||
| 150 | - ac_status=$? | ||
| 151 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 152 | - (exit $ac_status); }; }; then | ||
| 153 | - libc_cv_c_cleanup=yes | ||
| 154 | -else | ||
| 155 | - echo "$as_me: failed program was:" >&5 | ||
| 156 | -sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 157 | - | ||
| 158 | -libc_cv_c_cleanup=no | ||
| 159 | -fi | ||
| 160 | -rm -f conftest.err conftest.$ac_objext \ | ||
| 161 | - conftest$ac_exeext conftest.$ac_ext | ||
| 162 | -fi | ||
| 163 | -echo "$as_me:$LINENO: result: $libc_cv_c_cleanup" >&5 | ||
| 164 | -echo "${ECHO_T}$libc_cv_c_cleanup" >&6 | ||
| 165 | - CFLAGS="$old_CFLAGS" | ||
| 166 | - if test $libc_cv_c_cleanup = no; then | ||
| 167 | - { { echo "$as_me:$LINENO: error: the compiler must support C cleanup handling" >&5 | ||
| 168 | -echo "$as_me: error: the compiler must support C cleanup handling" >&2;} | ||
| 169 | - { (exit 1); exit 1; }; } | ||
| 170 | - fi | ||
| 171 | -else | ||
| 172 | - { { echo "$as_me:$LINENO: error: forced unwind support is required" >&5 | ||
| 173 | -echo "$as_me: error: forced unwind support is required" >&2;} | ||
| 174 | - { (exit 1); exit 1; }; } | ||
| 175 | -fi | ||
