From a8095c99ab30e96e620c2e0ef0aec8bc54753894 Mon Sep 17 00:00:00 2001 From: Bernhard Rosenkränzer Date: Thu, 7 Apr 2022 15:26:34 +0200 Subject: gcc: upgrade 11.2 -> current 12 snapshot MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit gcc 12 is expected to be released this month or early next month. Update so we're prepared. This keeps/ports all patches currently applied to 11.2 that haven't landed upstream yet. [v2: Back out the zephyr DWARF-4 workaround] (From OE-Core rev: 540116ca70fb71ac489b61b74b3a397ff92f27e2) Signed-off-by: Bernhard Rosenkränzer Signed-off-by: Richard Purdie --- .../gcc/gcc/0002-gcc-poison-system-directories.patch | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'meta/recipes-devtools/gcc/gcc/0002-gcc-poison-system-directories.patch') diff --git a/meta/recipes-devtools/gcc/gcc/0002-gcc-poison-system-directories.patch b/meta/recipes-devtools/gcc/gcc/0002-gcc-poison-system-directories.patch index 18a9fb8701..b85f7ed2c7 100644 --- a/meta/recipes-devtools/gcc/gcc/0002-gcc-poison-system-directories.patch +++ b/meta/recipes-devtools/gcc/gcc/0002-gcc-poison-system-directories.patch @@ -14,14 +14,15 @@ wants this to be a failure, they can add "-Werror=poison-system-directories". Upstream-Status: Pending Signed-off-by: Mark Hatle Signed-off-by: Khem Raj +Signed-off-by: Bernhard Rosenkränzer [ported to gcc 12] --- gcc/common.opt | 4 ++++ gcc/config.in | 10 ++++++++++ gcc/configure | 19 +++++++++++++++++++ gcc/configure.ac | 16 ++++++++++++++++ gcc/doc/invoke.texi | 9 +++++++++ - gcc/gcc.c | 9 +++++++-- - gcc/incpath.c | 21 +++++++++++++++++++++ + gcc/gcc.cc | 9 +++++++-- + gcc/incpath.cc | 21 +++++++++++++++++++++ 7 files changed, 86 insertions(+), 2 deletions(-) diff --git a/gcc/common.opt b/gcc/common.opt @@ -158,10 +159,10 @@ index 7a368959e5e..6659a903bf0 100644 @item -Wfloat-equal @opindex Wfloat-equal @opindex Wno-float-equal -diff --git a/gcc/gcc.c b/gcc/gcc.c +diff --git a/gcc/gcc.cc b/gcc/gcc.cc index 7837553958b..19c75b6e20d 100644 ---- a/gcc/gcc.c -+++ b/gcc/gcc.c +--- a/gcc/gcc.cc ++++ b/gcc/gcc.cc @@ -1152,6 +1152,8 @@ proper position among the other output files. */ "%{fuse-ld=*:-fuse-ld=%*} " LINK_COMPRESS_DEBUG_SPEC \ "%X %{o*} %{e*} %{N} %{n} %{r}\ @@ -185,10 +186,10 @@ index 7837553958b..19c75b6e20d 100644 /* Pass -d* flags, possibly modifying -dumpdir, -dumpbase et al. -diff --git a/gcc/incpath.c b/gcc/incpath.c +diff --git a/gcc/incpath.cc b/gcc/incpath.cc index 446d280321d..fbfc0ce03b8 100644 ---- a/gcc/incpath.c -+++ b/gcc/incpath.c +--- a/gcc/incpath.cc ++++ b/gcc/incpath.cc @@ -26,6 +26,7 @@ #include "intl.h" #include "incpath.h" -- cgit v1.2.3-54-g00ecf