summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc/0002-gcc-poison-system-directories.patch
diff options
context:
space:
mode:
authorBernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>2022-04-07 15:26:34 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-09 19:50:45 +0100
commita8095c99ab30e96e620c2e0ef0aec8bc54753894 (patch)
treecb54d721269106c9f9badaee130c034eb3f96dfc /meta/recipes-devtools/gcc/gcc/0002-gcc-poison-system-directories.patch
parent89efab2850766378d89579c094670357775b69b6 (diff)
downloadpoky-a8095c99ab30e96e620c2e0ef0aec8bc54753894.tar.gz
gcc: upgrade 11.2 -> current 12 snapshotuninative-3.6master-uninative
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 <bernhard.rosenkraenzer.ext@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc/0002-gcc-poison-system-directories.patch')
-rw-r--r--meta/recipes-devtools/gcc/gcc/0002-gcc-poison-system-directories.patch17
1 files changed, 9 insertions, 8 deletions
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".
14Upstream-Status: Pending 14Upstream-Status: Pending
15Signed-off-by: Mark Hatle <mark.hatle@windriver.com> 15Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
16Signed-off-by: Khem Raj <raj.khem@gmail.com> 16Signed-off-by: Khem Raj <raj.khem@gmail.com>
17Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com> [ported to gcc 12]
17--- 18---
18 gcc/common.opt | 4 ++++ 19 gcc/common.opt | 4 ++++
19 gcc/config.in | 10 ++++++++++ 20 gcc/config.in | 10 ++++++++++
20 gcc/configure | 19 +++++++++++++++++++ 21 gcc/configure | 19 +++++++++++++++++++
21 gcc/configure.ac | 16 ++++++++++++++++ 22 gcc/configure.ac | 16 ++++++++++++++++
22 gcc/doc/invoke.texi | 9 +++++++++ 23 gcc/doc/invoke.texi | 9 +++++++++
23 gcc/gcc.c | 9 +++++++-- 24 gcc/gcc.cc | 9 +++++++--
24 gcc/incpath.c | 21 +++++++++++++++++++++ 25 gcc/incpath.cc | 21 +++++++++++++++++++++
25 7 files changed, 86 insertions(+), 2 deletions(-) 26 7 files changed, 86 insertions(+), 2 deletions(-)
26 27
27diff --git a/gcc/common.opt b/gcc/common.opt 28diff --git a/gcc/common.opt b/gcc/common.opt
@@ -158,10 +159,10 @@ index 7a368959e5e..6659a903bf0 100644
158 @item -Wfloat-equal 159 @item -Wfloat-equal
159 @opindex Wfloat-equal 160 @opindex Wfloat-equal
160 @opindex Wno-float-equal 161 @opindex Wno-float-equal
161diff --git a/gcc/gcc.c b/gcc/gcc.c 162diff --git a/gcc/gcc.cc b/gcc/gcc.cc
162index 7837553958b..19c75b6e20d 100644 163index 7837553958b..19c75b6e20d 100644
163--- a/gcc/gcc.c 164--- a/gcc/gcc.cc
164+++ b/gcc/gcc.c 165+++ b/gcc/gcc.cc
165@@ -1152,6 +1152,8 @@ proper position among the other output files. */ 166@@ -1152,6 +1152,8 @@ proper position among the other output files. */
166 "%{fuse-ld=*:-fuse-ld=%*} " LINK_COMPRESS_DEBUG_SPEC \ 167 "%{fuse-ld=*:-fuse-ld=%*} " LINK_COMPRESS_DEBUG_SPEC \
167 "%X %{o*} %{e*} %{N} %{n} %{r}\ 168 "%X %{o*} %{e*} %{N} %{n} %{r}\
@@ -185,10 +186,10 @@ index 7837553958b..19c75b6e20d 100644
185 186
186 /* Pass -d* flags, possibly modifying -dumpdir, -dumpbase et al. 187 /* Pass -d* flags, possibly modifying -dumpdir, -dumpbase et al.
187 188
188diff --git a/gcc/incpath.c b/gcc/incpath.c 189diff --git a/gcc/incpath.cc b/gcc/incpath.cc
189index 446d280321d..fbfc0ce03b8 100644 190index 446d280321d..fbfc0ce03b8 100644
190--- a/gcc/incpath.c 191--- a/gcc/incpath.cc
191+++ b/gcc/incpath.c 192+++ b/gcc/incpath.cc
192@@ -26,6 +26,7 @@ 193@@ -26,6 +26,7 @@
193 #include "intl.h" 194 #include "intl.h"
194 #include "incpath.h" 195 #include "incpath.h"