diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2019-01-04 23:12:18 +0100 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2019-06-07 10:15:44 -0400 |
commit | 430056babf09fcfbafa7ab3c6d224fa92df3fbdf (patch) | |
tree | f00b1421e9177b21721d84e94eafe4945ddeed5d /recipes-toolchain/gcc | |
parent | 72ffb64d8ad1759f5245a6f6e1c5c682b973d8cf (diff) |
Upgrade toolchain to GCC 8.2.0 MinGW v6.0.0
Diffstat (limited to 'recipes-toolchain/gcc')
3 files changed, 76 insertions, 0 deletions
diff --git a/recipes-toolchain/gcc/0001-Fix-graphite-build-with-isl-0.20.patch b/recipes-toolchain/gcc/0001-Fix-graphite-build-with-isl-0.20.patch new file mode 100644 index 00000000..d182ed26 --- /dev/null +++ b/recipes-toolchain/gcc/0001-Fix-graphite-build-with-isl-0.20.patch @@ -0,0 +1,26 @@ +From f4be86ae6d774aa4df3666ff6f55232b92fbc475 Mon Sep 17 00:00:00 2001 +From: Andoni Morales Alastruey <ylatuya@gmail.com> +Date: Thu, 27 Dec 2018 23:51:16 +0100 +Subject: [PATCH] Fix graphite build with isl-0.20 + +--- + gcc/graphite.h | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/gcc/graphite.h b/gcc/graphite.h +index 4e0e58c..1398668 100644 +--- a/gcc/graphite.h ++++ b/gcc/graphite.h +@@ -37,6 +37,9 @@ along with GCC; see the file COPYING3. If not see + #include <isl/schedule.h> + #include <isl/ast_build.h> + #include <isl/schedule_node.h> ++#include <isl/id.h> ++#include <isl/space.h> ++ + + typedef struct poly_dr *poly_dr_p; + +-- +2.7.4 + diff --git a/recipes-toolchain/gcc/0002-Disable-split-stack-for-non-thread-builds.patch b/recipes-toolchain/gcc/0002-Disable-split-stack-for-non-thread-builds.patch new file mode 100644 index 00000000..59d5e4e1 --- /dev/null +++ b/recipes-toolchain/gcc/0002-Disable-split-stack-for-non-thread-builds.patch @@ -0,0 +1,23 @@ +From 1776d9054e428d1e6ab7aee79cb05474355fdbbf Mon Sep 17 00:00:00 2001 +From: Andoni Morales Alastruey <ylatuya@gmail.com> +Date: Fri, 4 Jan 2019 15:32:34 +0100 +Subject: [PATCH 2/2] Disable split-stack for non-thread builds + +--- + libgcc/config/t-stack | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/libgcc/config/t-stack b/libgcc/config/t-stack +index cc0366b..f3f97e8 100644 +--- a/libgcc/config/t-stack ++++ b/libgcc/config/t-stack +@@ -1,4 +1,6 @@ + # Makefile fragment to provide generic support for -fsplit-stack. + # This should be used in config.host for any host which supports + # -fsplit-stack. ++ifeq ($(enable_threads),yes) + LIB2ADD_ST += $(srcdir)/generic-morestack.c $(srcdir)/generic-morestack-thread.c ++endif +-- +2.7.4 + diff --git a/recipes-toolchain/gcc/0003-Force-SEH-SJLJ.patch b/recipes-toolchain/gcc/0003-Force-SEH-SJLJ.patch new file mode 100644 index 00000000..a261b3fc --- /dev/null +++ b/recipes-toolchain/gcc/0003-Force-SEH-SJLJ.patch @@ -0,0 +1,27 @@ +From aec9c53549c9a755890114ccaacf5f15ed978dd9 Mon Sep 17 00:00:00 2001 +From: Andoni Morales Alastruey <ylatuya@gmail.com> +Date: Wed, 9 Jan 2019 14:56:22 +0100 +Subject: [PATCH 3/3] Force SEH+SJLJ + +--- + libgcc/config.host | 4 ---- + 1 file changed, 4 deletions(-) + +diff --git a/libgcc/config.host b/libgcc/config.host +index 11b4aca..c76712c 100644 +--- a/libgcc/config.host ++++ b/libgcc/config.host +@@ -765,10 +765,6 @@ x86_64-*-mingw*) + # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h + if test x$ac_cv_sjlj_exceptions = xyes; then + tmake_eh_file="i386/t-sjlj-eh" +- elif test "${host_address}" = 32; then +- # biarch -m32 with --disable-sjlj-exceptions +- tmake_eh_file="i386/t-dw2-eh" +- md_unwind_header=i386/w32-unwind.h + else + tmake_eh_file="i386/t-seh-eh" + fi +-- +2.7.4 + |