summaryrefslogtreecommitdiffstats
path: root/package/gcc/6.4.0/890-fix-m68k-compile.patch
diff options
context:
space:
mode:
authorJörg Krause <joerg.krause@embedded.rocks>2017-07-10 14:29:41 +0200
committerPeter Korsgaard <peter@korsgaard.com>2017-07-11 22:17:12 +0200
commit1a405ea56d5240832df10c5491cecc13efbb0b2d (patch)
treec2b507aab96c26aacb125593089f8025f3762aaf /package/gcc/6.4.0/890-fix-m68k-compile.patch
parent2ab924213d3d50b176f1b8efaecb5fcaef28dae4 (diff)
downloadbuildroot-1a405ea56d5240832df10c5491cecc13efbb0b2d.tar.gz
buildroot-1a405ea56d5240832df10c5491cecc13efbb0b2d.zip
gcc: bump 6.x series to version 6.4.0
Drop the following patches: * the Xtensa patches 870 and 871 are upstream now * patch 942 was backported to GCC 6 branch Note, that a bz2 release tarball is not provided anymore and is replaced by a xz tarball file. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/gcc/6.4.0/890-fix-m68k-compile.patch')
-rw-r--r--package/gcc/6.4.0/890-fix-m68k-compile.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/gcc/6.4.0/890-fix-m68k-compile.patch b/package/gcc/6.4.0/890-fix-m68k-compile.patch
new file mode 100644
index 0000000000..6e63de0cd1
--- /dev/null
+++ b/package/gcc/6.4.0/890-fix-m68k-compile.patch
@@ -0,0 +1,15 @@
+remove unused header, which breaks the toolchain building
+
+Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
+
+diff -Nur gcc-5.3.0.orig/libgcc/config/m68k/linux-atomic.c gcc-5.3.0/libgcc/config/m68k/linux-atomic.c
+--- gcc-5.3.0.orig/libgcc/config/m68k/linux-atomic.c 2015-01-05 13:33:28.000000000 +0100
++++ gcc-5.3.0/libgcc/config/m68k/linux-atomic.c 2016-03-19 09:25:07.000000000 +0100
+@@ -33,7 +33,6 @@
+ using the kernel helper defined below. There is no support for
+ 64-bit operations yet. */
+
+-#include <asm/unistd.h>
+ #include <stdbool.h>
+
+ #ifndef __NR_atomic_cmpxchg_32
OpenPOWER on IntegriCloud