patches/gcc/4.4.2/310-missing-execinfo_h.patch
author |
Florian Fainelli <f.fainelli@gmail.com> |
|
Wed Sep 19 10:35:32 2012 +0200 (2012-09-19) |
changeset 3049 |
f0ae157444dc |
parent 1544 |
2228ea3f6b79
|
permissions |
-rw-r--r-- |
cc/gcc: backport upstream patches for GCC bug 54369
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54369 for more information
This bug has a serious effect on Linux/MIPS and SPARC kernel builds.
Add the fix for these versions of gcc: 4.6.0, 4.6.2, 4.6.3, and 4.7.0.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
yann@1393
|
1 |
diff -durN gcc-4.4.0.orig/boehm-gc/include/gc.h gcc-4.4.0/boehm-gc/include/gc.h
|
yann@1393
|
2 |
--- gcc-4.4.0.orig/boehm-gc/include/gc.h 2007-04-23 23:10:09.000000000 +0200
|
yann@1393
|
3 |
+++ gcc-4.4.0/boehm-gc/include/gc.h 2009-05-27 21:38:55.000000000 +0200
|
yann@1393
|
4 |
@@ -503,7 +503,7 @@
|
yann@1393
|
5 |
#if defined(__linux__) || defined(__GLIBC__)
|
yann@1393
|
6 |
# include <features.h>
|
yann@1393
|
7 |
# if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \
|
yann@1393
|
8 |
- && !defined(__ia64__)
|
yann@1393
|
9 |
+ && !defined(__ia64__) && !defined(__UCLIBC__)
|
yann@1393
|
10 |
# ifndef GC_HAVE_BUILTIN_BACKTRACE
|
yann@1393
|
11 |
# define GC_HAVE_BUILTIN_BACKTRACE
|
yann@1393
|
12 |
# endif
|