patches/gcc/4.3.0/320-missing-execinfo_h.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Oct 03 18:49:23 2009 +0200 (2009-10-03)
changeset 1560 79a609170a83
permissions -rw-r--r--
configure: split has_or_abort in two: one to check, one to abort

Split the has_or_abort function in two:
- one that checks if the tool if found,
- one that calls the above check, and aborts if not found

The rational behind this is to be able to check for a tool
and if not found, fallback to using our bundled version,
should the need arise (and I get time).
     1 Original patch from gentoo: gentoo/src/patchsets/gcc/4.3.0/uclibc/90_all_301-missing-execinfo_h.patch
     2 diff -durN gcc-4.3.0.orig/boehm-gc/include/gc.h gcc-4.3.0/boehm-gc/include/gc.h
     3 --- gcc-4.3.0.orig/boehm-gc/include/gc.h	2007-04-23 23:10:09.000000000 +0200
     4 +++ gcc-4.3.0/boehm-gc/include/gc.h	2008-06-10 14:45:50.000000000 +0200
     5 @@ -503,7 +503,7 @@
     6  #if defined(__linux__) || defined(__GLIBC__)
     7  # include <features.h>
     8  # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \
     9 -     && !defined(__ia64__)
    10 +     && !defined(__ia64__) && !defined(__UCLIBC__)
    11  #   ifndef GC_HAVE_BUILTIN_BACKTRACE
    12  #     define GC_HAVE_BUILTIN_BACKTRACE
    13  #   endif