patches/gcc/4.2.0/170-missing-execinfo_h.patch
author Zhenqiang Chen <zhenqiang.chen@linaro.org>
Fri Nov 18 11:32:50 2011 +0800 (2011-11-18)
branch1.13
changeset 2841 64fe22ca6e6f
parent 111 2e16b9fc302d
permissions -rw-r--r--
cc/gcc: Apply CT_CC_GCC_DISABLE_PCH to do_cc_core.

Otherwise, users have to input --disable-libstdcxx-pch option
when building bare-metal CANADIAN C++ compiler.

Reviewed-by: Michael Hope
Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>
(transplanted from e3e1c9d45bddfbfb433ee9d583faf42fa31f50c0)
     1 --- gcc-4.0.0/boehm-gc/include/gc.h-orig	2005-04-28 22:28:57.000000000 -0500
     2 +++ gcc-4.0.0/boehm-gc/include/gc.h	2005-04-28 22:30:38.000000000 -0500
     3 @@ -500,7 +500,7 @@
     4  #ifdef __linux__
     5  # include <features.h>
     6  # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \
     7 -     && !defined(__ia64__)
     8 +     && !defined(__ia64__) && !defined(__UCLIBC__)
     9  #   ifndef GC_HAVE_BUILTIN_BACKTRACE
    10  #     define GC_HAVE_BUILTIN_BACKTRACE
    11  #   endif