summaryrefslogtreecommitdiffstats
path: root/package/gcc/4.8-arc/301-missing-execinfo_h.patch
diff options
context:
space:
mode:
authorMischa Jonker <mischa.jonker@synopsys.com>2013-07-18 23:47:52 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2013-07-19 11:53:21 +0200
commit381654d8a84072baf6742dd8697d65e3a55a5ef5 (patch)
treee0bf524913a37de9dbbf12de914565f612882703 /package/gcc/4.8-arc/301-missing-execinfo_h.patch
parent983dd6426e7ed0df54c1e38d74bd6578b80d8e7b (diff)
downloadbuildroot-381654d8a84072baf6742dd8697d65e3a55a5ef5.tar.gz
buildroot-381654d8a84072baf6742dd8697d65e3a55a5ef5.zip
arc: gcc: Go from 4.4.7 to 4.8 for ARC
This fixes multiple issues, including: - 'operand out of range' errors (due to defaulting to medium calls instead of short calls) - library dependencies that were not being found Signed-off-by: Mischa Jonker <mjonker@synopsys.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/gcc/4.8-arc/301-missing-execinfo_h.patch')
-rw-r--r--package/gcc/4.8-arc/301-missing-execinfo_h.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/gcc/4.8-arc/301-missing-execinfo_h.patch b/package/gcc/4.8-arc/301-missing-execinfo_h.patch
new file mode 100644
index 0000000000..00efda24aa
--- /dev/null
+++ b/package/gcc/4.8-arc/301-missing-execinfo_h.patch
@@ -0,0 +1,13 @@
+Index: gcc-4.8.0/boehm-gc/include/gc.h
+===================================================================
+--- gcc-4.8.0.orig/boehm-gc/include/gc.h 2007-04-23 23:10:09.000000000 +0200
++++ gcc-4.8.0/boehm-gc/include/gc.h 2013-03-23 17:39:20.000000000 +0100
+@@ -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
OpenPOWER on IntegriCloud