summaryrefslogtreecommitdiffstats
path: root/package/gcc/musl-5.4.0/301-missing-execinfo_h.patch
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-02-20 23:12:19 +0100
committerPeter Korsgaard <peter@korsgaard.com>2017-02-20 23:43:22 +0100
commite7c7a8bf5481e898e7591442b0d924c2952797ef (patch)
tree31f32a5854e072343c4a8807c16a8335eb9aeb22 /package/gcc/musl-5.4.0/301-missing-execinfo_h.patch
parente482ebf51d9e8e00c3e58eb65af0dfb70d05d8cc (diff)
downloadbuildroot-e7c7a8bf5481e898e7591442b0d924c2952797ef.tar.gz
buildroot-e7c7a8bf5481e898e7591442b0d924c2952797ef.zip
gcc: add patches for or1k specific gcc version
This commit adds a number of patches from package/gcc/5.4.0 to package/gcc/musl-5.4.0, so that they apply to the or1k specific gcc version. All patches from package/gcc/5.4.0 that are not architecture specific and not related to the musl C library have been added to package/gcc/musl-5.4.0/. Note that doing a symbolic link does not work, as some patches from package/gcc/5.4.0 do not apply as-is to the or1k gcc version. The most important patch is 850-libstdcxx-uclibc-c99.patch, which fixes a number of build issues. Fixes: http://autobuild.buildroot.net/results/eebf4ce5ecb896e54912cfa21268e81ff5fb6593/ (alljoyn) http://autobuild.buildroot.net/results/8dbf406898a59e36ac6a1e16f543b6260da775c8/ (jsoncpp) http://autobuild.buildroot.net/results/206fbd5473c8c6840489990cb2552566c62ef3c8/ (dawgic) Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/gcc/musl-5.4.0/301-missing-execinfo_h.patch')
-rw-r--r--package/gcc/musl-5.4.0/301-missing-execinfo_h.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/gcc/musl-5.4.0/301-missing-execinfo_h.patch b/package/gcc/musl-5.4.0/301-missing-execinfo_h.patch
new file mode 100644
index 0000000000..2d0e7baa44
--- /dev/null
+++ b/package/gcc/musl-5.4.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
OpenPOWER on IntegriCloud