summaryrefslogtreecommitdiff
path: root/patches/gcc/6.1.0/301-missing-execinfo_h.patch
diff options
context:
space:
mode:
authorYogesh Sharma <ysharm01@harris.com>2016-05-13 02:05:05 (GMT)
committerYogesh Sharma <ysharm01@harris.com>2016-09-07 14:15:56 (GMT)
commit0ec2166f26c0269a7941c0a96328bcd2077e5339 (patch)
tree198517bcd2c23b55611284c5693057c319b162b5 /patches/gcc/6.1.0/301-missing-execinfo_h.patch
parent2f7adae8a79c640c68ffdcb4bd776b2b360f1b74 (diff)
gcc: Migrated patches from 5.3.0 to 6.1.0
Signed-off-by: Yogesh Sharma <ysharm01@harris.com>
Diffstat (limited to 'patches/gcc/6.1.0/301-missing-execinfo_h.patch')
-rw-r--r--patches/gcc/6.1.0/301-missing-execinfo_h.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/gcc/6.1.0/301-missing-execinfo_h.patch b/patches/gcc/6.1.0/301-missing-execinfo_h.patch
new file mode 100644
index 0000000..2d0e7ba
--- /dev/null
+++ b/patches/gcc/6.1.0/301-missing-execinfo_h.patch
@@ -0,0 +1,13 @@
+Index: b/boehm-gc/include/gc.h
+===================================================================
+--- a/boehm-gc/include/gc.h
++++ b/boehm-gc/include/gc.h
+@@ -503,7 +503,7 @@
+ #if defined(__linux__) || defined(__GLIBC__)
+ # include <features.h>
+ # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \
+- && !defined(__ia64__)
++ && !defined(__ia64__) && !defined(__UCLIBC__)
+ # ifndef GC_HAVE_BUILTIN_BACKTRACE
+ # define GC_HAVE_BUILTIN_BACKTRACE
+ # endif