summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSundeep KOKKONDA <sundeep.kokkonda@windriver.com>2023-07-27 03:53:15 -0700
committerSteve Sakoman <steve@sakoman.com>2023-08-07 04:40:44 -1000
commite8c1d3e07ee55678845574594faa3b2dd326b1f5 (patch)
tree41bae44a1905979c482199ab46a383b679e5e939
parentcd1d34d5106c4484372552bb3cf93198f7b25d76 (diff)
downloadpoky-e8c1d3e07ee55678845574594faa3b2dd326b1f5.tar.gz
gcc : upgrade to v11.4
gcc stable version upgraded from v11.3 to v11.4 For changes in v11.4 see - https://gcc.gnu.org/gcc-11/changes.html Below is the bug fix list for v11.4 https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&order=short_desc%2Cbug_status%2Cpriority%2Cassigned_to%2Cbug_id&query_format=advanced&resolution=FIXED&target_milestone=11.4 There are a total 115 bugs are fixed in this release, below is the list of bugs fixed excluding the regression fixes. ID Product Comp Resolution Summaryâ–˛ 108199 gcc tree-opt FIXE Bitfields, unions and SRA and storage_order_attribute 107801 gcc libstdc+ FIXE Building cross compiler for H8 family fails in libstdc++ (c++17/memory_resource.cc) 108265 gcc libstdc+ FIXE chrono::hh_mm_ss can't be constructed from unsigned durations 104443 gcc libstdc+ FIXE common_iterator<I, S>::operator-> is not correctly implemented 98056 gcc c++ FIXE coroutines: ICE tree check: expected record_type or union_type or qual_union_type, have array_type since r11-2183-g0f66b8486cea8668 107061 gcc target FIXE ENCODEKEY128 clobbers xmm4-xmm6 105433 gcc testsuit FIXE FAIL: gcc.target/i386/iamcu/test_3_element_struct_and_unions.c 105095 gcc testsuit FIXE gcc.dg/vect/complex/fast-math-complex-* tests are not executed 100474 gcc c++ FIXE ICE: in diagnose_trait_expr, at cp/constraint.cc:3706 105854 gcc target FIXE ICE: in extract_constrain_insn, at recog.cc:2692 (insn does not satisfy its constraints: sse2_lshrv1ti3) 104462 gcc target FIXE ICE: in extract_constrain_insn_cached, at recog.cc:2682 with -mavx512fp16 -mno-xsave 106045 gcc libgomp FIXE Incorrect testcase in libgomp.c/target-31.c at -O0 56189 gcc c++ FIXE Infinite recursion with noexcept when instantiating function template 100295 gcc c++ FIXE Internal compiler error from generic lambda capturing parameter pack and expanding it in if constexpr 100613 gcc jit FIXE libgccjit should produce dylib on macOS 104875 gcc libstdc+ FIXE libstdc++-v3/src/c++11/codecvt.cc:312:24: warning: left shift count >= width of type 107471 gcc libstdc+ FIXE mismatching constraints in common_iterator 105284 gcc libstdc+ FIXE missing syncstream and spanstream forward decl. in <iosfwd> 98821 gcc c++ FIXE modules : c++tools configures with CC but code fragments assume CXX. 109846 gcc fortran FIXE Pointer-valued function reference rejected as actual argument 101324 gcc target FIXE powerpc64le: hashst appears before mflr at -O1 or higher 102479 gcc c++ FIXE segfault when deducing class template arguments for tuple with libc++-14 105128 gcc libstdc+ FIXE source_location compile error for latest clang 15 106183 gcc libstdc+ FIXE std::atomic::wait might fail to be unblocked by notify_one/all on platforms without platform_wait() 102994 gcc libstdc+ FIXE std::atomic<ptr>::wait is not marked const 105324 gcc libstdc+ FIXE std::from_chars() assertion at floating_from_chars.cc:78 when parsing 1.11111111.... 105375 gcc libstdc+ FIXE std::packaged_task has no deduction guide. 104602 gcc libstdc+ FIXE std::source_location::current uses cast from void* 106808 gcc libstdc+ FIXE std::string_view range concept requirement causes compile error with Boost.Filesystem 105725 gcc c++ FIXE [ICE] segfault with `-Wmismatched-tags` 105920 gcc target FIXE __builtin_cpu_supports ("f16c") should check AVX (From OE-Core rev: 4fd7e5951c42336729f12cde71450ec298f2078b) Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r--meta/conf/distro/include/maintainers.inc2
-rw-r--r--meta/recipes-devtools/gcc/gcc-11.4.inc (renamed from meta/recipes-devtools/gcc/gcc-11.3.inc)6
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-canadian_11.4.bb (renamed from meta/recipes-devtools/gcc/gcc-cross-canadian_11.3.bb)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross_11.4.bb (renamed from meta/recipes-devtools/gcc/gcc-cross_11.3.bb)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-crosssdk_11.4.bb (renamed from meta/recipes-devtools/gcc/gcc-crosssdk_11.3.bb)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-runtime_11.4.bb (renamed from meta/recipes-devtools/gcc/gcc-runtime_11.3.bb)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-sanitizers_11.4.bb (renamed from meta/recipes-devtools/gcc/gcc-sanitizers_11.3.bb)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-source_11.4.bb (renamed from meta/recipes-devtools/gcc/gcc-source_11.3.bb)0
-rw-r--r--meta/recipes-devtools/gcc/gcc/0001-aarch64-Update-Neoverse-N2-core-defini.patch20
-rw-r--r--meta/recipes-devtools/gcc/gcc/0004-arm-add-armv9-a-architecture-to-march.patch54
-rw-r--r--meta/recipes-devtools/gcc/gcc/0006-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch102
-rw-r--r--meta/recipes-devtools/gcc/gcc/0009-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch6
-rw-r--r--meta/recipes-devtools/gcc/gcc_11.4.bb (renamed from meta/recipes-devtools/gcc/gcc_11.3.bb)0
-rw-r--r--meta/recipes-devtools/gcc/libgcc-initial_11.4.bb (renamed from meta/recipes-devtools/gcc/libgcc-initial_11.3.bb)0
-rw-r--r--meta/recipes-devtools/gcc/libgcc_11.4.bb (renamed from meta/recipes-devtools/gcc/libgcc_11.3.bb)0
-rw-r--r--meta/recipes-devtools/gcc/libgfortran_11.4.bb (renamed from meta/recipes-devtools/gcc/libgfortran_11.3.bb)0
16 files changed, 93 insertions, 97 deletions
diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc
index 1d5e070223..bfc14951fe 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -189,7 +189,7 @@ RECIPE_MAINTAINER:pn-gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} = "Khem Raj <r
189RECIPE_MAINTAINER:pn-gcc-crosssdk-${SDK_SYS} = "Khem Raj <raj.khem@gmail.com>" 189RECIPE_MAINTAINER:pn-gcc-crosssdk-${SDK_SYS} = "Khem Raj <raj.khem@gmail.com>"
190RECIPE_MAINTAINER:pn-gcc-runtime = "Khem Raj <raj.khem@gmail.com>" 190RECIPE_MAINTAINER:pn-gcc-runtime = "Khem Raj <raj.khem@gmail.com>"
191RECIPE_MAINTAINER:pn-gcc-sanitizers = "Khem Raj <raj.khem@gmail.com>" 191RECIPE_MAINTAINER:pn-gcc-sanitizers = "Khem Raj <raj.khem@gmail.com>"
192RECIPE_MAINTAINER:pn-gcc-source-11.3.0 = "Khem Raj <raj.khem@gmail.com>" 192RECIPE_MAINTAINER:pn-gcc-source-11.4.0 = "Khem Raj <raj.khem@gmail.com>"
193RECIPE_MAINTAINER:pn-gconf = "Ross Burton <ross.burton@arm.com>" 193RECIPE_MAINTAINER:pn-gconf = "Ross Burton <ross.burton@arm.com>"
194RECIPE_MAINTAINER:pn-gcr = "Alexander Kanavin <alex.kanavin@gmail.com>" 194RECIPE_MAINTAINER:pn-gcr = "Alexander Kanavin <alex.kanavin@gmail.com>"
195RECIPE_MAINTAINER:pn-gdb = "Khem Raj <raj.khem@gmail.com>" 195RECIPE_MAINTAINER:pn-gdb = "Khem Raj <raj.khem@gmail.com>"
diff --git a/meta/recipes-devtools/gcc/gcc-11.3.inc b/meta/recipes-devtools/gcc/gcc-11.4.inc
index ab2ece3cce..a907661df4 100644
--- a/meta/recipes-devtools/gcc/gcc-11.3.inc
+++ b/meta/recipes-devtools/gcc/gcc-11.4.inc
@@ -2,11 +2,11 @@ require gcc-common.inc
2 2
3# Third digit in PV should be incremented after a minor release 3# Third digit in PV should be incremented after a minor release
4 4
5PV = "11.3.0" 5PV = "11.4.0"
6 6
7# BINV should be incremented to a revision after a minor gcc release 7# BINV should be incremented to a revision after a minor gcc release
8 8
9BINV = "11.3.0" 9BINV = "11.4.0"
10 10
11FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc:${FILE_DIRNAME}/gcc/backport:" 11FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc:${FILE_DIRNAME}/gcc/backport:"
12 12
@@ -70,7 +70,7 @@ SRC_URI = "\
70 file://0004-arm-add-armv9-a-architecture-to-march.patch \ 70 file://0004-arm-add-armv9-a-architecture-to-march.patch \
71" 71"
72 72
73SRC_URI[sha256sum] = "b47cf2818691f5b1e21df2bb38c795fac2cfbd640ede2d0a5e1c89e338a3ac39" 73SRC_URI[sha256sum] = "3f2db222b007e8a4a23cd5ba56726ef08e8b1f1eb2055ee72c1402cea73a8dd9"
74 74
75S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}" 75S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}"
76 76
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian_11.3.bb b/meta/recipes-devtools/gcc/gcc-cross-canadian_11.4.bb
index bf53c5cd78..bf53c5cd78 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-canadian_11.3.bb
+++ b/meta/recipes-devtools/gcc/gcc-cross-canadian_11.4.bb
diff --git a/meta/recipes-devtools/gcc/gcc-cross_11.3.bb b/meta/recipes-devtools/gcc/gcc-cross_11.4.bb
index b43cca0c52..b43cca0c52 100644
--- a/meta/recipes-devtools/gcc/gcc-cross_11.3.bb
+++ b/meta/recipes-devtools/gcc/gcc-cross_11.4.bb
diff --git a/meta/recipes-devtools/gcc/gcc-crosssdk_11.3.bb b/meta/recipes-devtools/gcc/gcc-crosssdk_11.4.bb
index 40a6c4feff..40a6c4feff 100644
--- a/meta/recipes-devtools/gcc/gcc-crosssdk_11.3.bb
+++ b/meta/recipes-devtools/gcc/gcc-crosssdk_11.4.bb
diff --git a/meta/recipes-devtools/gcc/gcc-runtime_11.3.bb b/meta/recipes-devtools/gcc/gcc-runtime_11.4.bb
index dd430b57eb..dd430b57eb 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime_11.3.bb
+++ b/meta/recipes-devtools/gcc/gcc-runtime_11.4.bb
diff --git a/meta/recipes-devtools/gcc/gcc-sanitizers_11.3.bb b/meta/recipes-devtools/gcc/gcc-sanitizers_11.4.bb
index 8bda2ccad6..8bda2ccad6 100644
--- a/meta/recipes-devtools/gcc/gcc-sanitizers_11.3.bb
+++ b/meta/recipes-devtools/gcc/gcc-sanitizers_11.4.bb
diff --git a/meta/recipes-devtools/gcc/gcc-source_11.3.bb b/meta/recipes-devtools/gcc/gcc-source_11.4.bb
index b890fa33ea..b890fa33ea 100644
--- a/meta/recipes-devtools/gcc/gcc-source_11.3.bb
+++ b/meta/recipes-devtools/gcc/gcc-source_11.4.bb
diff --git a/meta/recipes-devtools/gcc/gcc/0001-aarch64-Update-Neoverse-N2-core-defini.patch b/meta/recipes-devtools/gcc/gcc/0001-aarch64-Update-Neoverse-N2-core-defini.patch
index 8429242348..a0c9db72e1 100644
--- a/meta/recipes-devtools/gcc/gcc/0001-aarch64-Update-Neoverse-N2-core-defini.patch
+++ b/meta/recipes-devtools/gcc/gcc/0001-aarch64-Update-Neoverse-N2-core-defini.patch
@@ -19,24 +19,20 @@ diff --git a/gcc/config/aarch64/aarch64-cores.def b/gcc/config/aarch64/aarch64-c
19index 4643e0e27..3478e567a 100644 19index 4643e0e27..3478e567a 100644
20--- a/gcc/config/aarch64/aarch64-cores.def 20--- a/gcc/config/aarch64/aarch64-cores.def
21+++ b/gcc/config/aarch64/aarch64-cores.def 21+++ b/gcc/config/aarch64/aarch64-cores.def
22@@ -145,9 +145,6 @@ AARCH64_CORE("neoverse-512tvb", neoverse512tvb, cortexa57, 8_4A, AARCH64_FL_FOR 22@@ -147,7 +147,6 @@
23 /* Qualcomm ('Q') cores. */ 23 AARCH64_CORE("saphira", saphira, saphira, 8_4A, AARCH64_FL_FOR_ARCH8_4 | AARCH64_FL_CRYPTO, saphira, 0x51, 0xC01, -1)
24 AARCH64_CORE("saphira", saphira, saphira, 8_4A, AARCH64_FL_FOR_ARCH8_4 | AARCH64_FL_CRYPTO | AARCH64_FL_RCPC, saphira, 0x51, 0xC01, -1) 24
25 25 /* Armv8.5-A Architecture Processors. */
26-/* Armv8.5-A Architecture Processors. */
27-AARCH64_CORE("neoverse-n2", neoversen2, cortexa57, 8_5A, AARCH64_FL_FOR_ARCH8_5 | AARCH64_FL_I8MM | AARCH64_FL_BF16 | AARCH64_FL_F16 | AARCH64_FL_SVE | AARCH64_FL_SVE2 | AARCH64_FL_SVE2_BITPERM | AARCH64_FL_RNG | AARCH64_FL_MEMTAG, neoversen2, 0x41, 0xd49, -1) 26-AARCH64_CORE("neoverse-n2", neoversen2, cortexa57, 8_5A, AARCH64_FL_FOR_ARCH8_5 | AARCH64_FL_I8MM | AARCH64_FL_BF16 | AARCH64_FL_F16 | AARCH64_FL_SVE | AARCH64_FL_SVE2 | AARCH64_FL_SVE2_BITPERM | AARCH64_FL_RNG | AARCH64_FL_MEMTAG, neoversen2, 0x41, 0xd49, -1)
28- 27 AARCH64_CORE("neoverse-v2", neoversev2, cortexa57, 8_5A, AARCH64_FL_FOR_ARCH8_5 | AARCH64_FL_I8MM | AARCH64_FL_BF16 | AARCH64_FL_F16 | AARCH64_FL_SVE | AARCH64_FL_SVE2 | AARCH64_FL_SVE2_BITPERM | AARCH64_FL_RNG | AARCH64_FL_MEMTAG, neoverse512tvb, 0x41, 0xd4f, -1)
28
29 /* ARMv8-A big.LITTLE implementations. */ 29 /* ARMv8-A big.LITTLE implementations. */
30 30@@ -165,4 +164,7 @@
31 AARCH64_CORE("cortex-a57.cortex-a53", cortexa57cortexa53, cortexa53, 8A, AARCH64_FL_FOR_ARCH8 | AARCH64_FL_CRC, cortexa57, 0x41, AARCH64_BIG_LITTLE (0xd07, 0xd03), -1)
32@@ -163,4 +160,7 @@ AARCH64_CORE("cortex-a76.cortex-a55", cortexa76cortexa55, cortexa53, 8_2A, AAR
33 /* Armv8-R Architecture Processors. */ 31 /* Armv8-R Architecture Processors. */
34 AARCH64_CORE("cortex-r82", cortexr82, cortexa53, 8R, AARCH64_FL_FOR_ARCH8_R, cortexa53, 0x41, 0xd15, -1) 32 AARCH64_CORE("cortex-r82", cortexr82, cortexa53, 8R, AARCH64_FL_FOR_ARCH8_R, cortexa53, 0x41, 0xd15, -1)
35 33
36+/* Armv9-A Architecture Processors. */ 34+/* Armv9-A Architecture Processors. */
37+AARCH64_CORE("neoverse-n2", neoversen2, cortexa57, 9A, AARCH64_FL_FOR_ARCH9 | AARCH64_FL_I8MM | AARCH64_FL_BF16 | AARCH64_FL_SVE2_BITPERM | AARCH64_FL_RNG | AARCH64_FL_MEMTAG | AARCH64_FL_PROFILE, neoversen2, 0x41, 0xd49, -1) 35+AARCH64_CORE("neoverse-n2", neoversen2, cortexa57, 9A, AARCH64_FL_FOR_ARCH9 | AARCH64_FL_I8MM | AARCH64_FL_BF16 | AARCH64_FL_SVE2_BITPERM | AARCH64_FL_RNG | AARCH64_FL_MEMTAG | AARCH64_FL_PROFILE, neoversen2, 0x41, 0xd49, -1)
38+ 36+
39 #undef AARCH64_CORE 37 #undef AARCH64_CORE
40--
412.32.0
42 38
diff --git a/meta/recipes-devtools/gcc/gcc/0004-arm-add-armv9-a-architecture-to-march.patch b/meta/recipes-devtools/gcc/gcc/0004-arm-add-armv9-a-architecture-to-march.patch
index 864c8b3017..b9b0988d5a 100644
--- a/meta/recipes-devtools/gcc/gcc/0004-arm-add-armv9-a-architecture-to-march.patch
+++ b/meta/recipes-devtools/gcc/gcc/0004-arm-add-armv9-a-architecture-to-march.patch
@@ -43,10 +43,10 @@ Signed-off-by: Ruiqiang Hao <Ruiqiang.Hao@windriver.com>
43 gcc/testsuite/lib/target-supports.exp | 3 ++- 43 gcc/testsuite/lib/target-supports.exp | 3 ++-
44 9 files changed, 79 insertions(+), 8 deletions(-) 44 9 files changed, 79 insertions(+), 8 deletions(-)
45 45
46Index: gcc-11.3.0/gcc/config/arm/arm-cpus.in 46Index: gcc/gcc/config/arm/arm-cpus.in
47=================================================================== 47===================================================================
48--- gcc-11.3.0.orig/gcc/config/arm/arm-cpus.in 48--- a/gcc/config/arm/arm-cpus.in
49+++ gcc-11.3.0/gcc/config/arm/arm-cpus.in 49+++ b/gcc/config/arm/arm-cpus.in
50@@ -132,6 +132,9 @@ define feature cmse 50@@ -132,6 +132,9 @@ define feature cmse
51 # Architecture rel 8.1-M. 51 # Architecture rel 8.1-M.
52 define feature armv8_1m_main 52 define feature armv8_1m_main
@@ -87,10 +87,10 @@ Index: gcc-11.3.0/gcc/config/arm/arm-cpus.in
87 begin arch iwmmxt 87 begin arch iwmmxt
88 tune for iwmmxt 88 tune for iwmmxt
89 tune flags LDSCHED STRONG XSCALE 89 tune flags LDSCHED STRONG XSCALE
90Index: gcc-11.3.0/gcc/config/arm/arm-tables.opt 90Index: gcc/gcc/config/arm/arm-tables.opt
91=================================================================== 91===================================================================
92--- gcc-11.3.0.orig/gcc/config/arm/arm-tables.opt 92--- a/gcc/config/arm/arm-tables.opt
93+++ gcc-11.3.0/gcc/config/arm/arm-tables.opt 93+++ b/gcc/config/arm/arm-tables.opt
94@@ -380,10 +380,13 @@ EnumValue 94@@ -380,10 +380,13 @@ EnumValue
95 Enum(arm_arch) String(armv8.1-m.main) Value(30) 95 Enum(arm_arch) String(armv8.1-m.main) Value(30)
96 96
@@ -107,10 +107,10 @@ Index: gcc-11.3.0/gcc/config/arm/arm-tables.opt
107 107
108 Enum 108 Enum
109 Name(arm_fpu) Type(enum fpu_type) 109 Name(arm_fpu) Type(enum fpu_type)
110Index: gcc-11.3.0/gcc/config/arm/arm.h 110Index: gcc/gcc/config/arm/arm.h
111=================================================================== 111===================================================================
112--- gcc-11.3.0.orig/gcc/config/arm/arm.h 112--- a/gcc/config/arm/arm.h
113+++ gcc-11.3.0/gcc/config/arm/arm.h 113+++ b/gcc/config/arm/arm.h
114@@ -456,7 +456,8 @@ enum base_architecture 114@@ -456,7 +456,8 @@ enum base_architecture
115 BASE_ARCH_8A = 8, 115 BASE_ARCH_8A = 8,
116 BASE_ARCH_8M_BASE = 8, 116 BASE_ARCH_8M_BASE = 8,
@@ -121,10 +121,10 @@ Index: gcc-11.3.0/gcc/config/arm/arm.h
121 }; 121 };
122 122
123 /* The major revision number of the ARM Architecture implemented by the target. */ 123 /* The major revision number of the ARM Architecture implemented by the target. */
124Index: gcc-11.3.0/gcc/config/arm/t-aprofile 124Index: gcc/gcc/config/arm/t-aprofile
125=================================================================== 125===================================================================
126--- gcc-11.3.0.orig/gcc/config/arm/t-aprofile 126--- a/gcc/config/arm/t-aprofile
127+++ gcc-11.3.0/gcc/config/arm/t-aprofile 127+++ b/gcc/config/arm/t-aprofile
128@@ -26,8 +26,8 @@ 128@@ -26,8 +26,8 @@
129 129
130 # Arch and FPU variants to build libraries with 130 # Arch and FPU variants to build libraries with
@@ -180,10 +180,10 @@ Index: gcc-11.3.0/gcc/config/arm/t-aprofile
180- $(foreach ARCH, armv7-a armv8-a, \ 180- $(foreach ARCH, armv7-a armv8-a, \
181+ $(foreach ARCH, armv7-a armv8-a armv9-a, \ 181+ $(foreach ARCH, armv7-a armv8-a armv9-a, \
182 mthumb/march.$(ARCH)/mfloat-abi.soft=m$(MODE)/march.$(ARCH)/mfloat-abi.softfp)) 182 mthumb/march.$(ARCH)/mfloat-abi.soft=m$(MODE)/march.$(ARCH)/mfloat-abi.softfp))
183Index: gcc-11.3.0/gcc/config/arm/t-arm-elf 183Index: gcc/gcc/config/arm/t-arm-elf
184=================================================================== 184===================================================================
185--- gcc-11.3.0.orig/gcc/config/arm/t-arm-elf 185--- a/gcc/config/arm/t-arm-elf
186+++ gcc-11.3.0/gcc/config/arm/t-arm-elf 186+++ b/gcc/config/arm/t-arm-elf
187@@ -38,6 +38,8 @@ v7ve_fps := vfpv3-d16 vfpv3 vfpv3-d16-fp 187@@ -38,6 +38,8 @@ v7ve_fps := vfpv3-d16 vfpv3 vfpv3-d16-fp
188 # it seems to work ok. 188 # it seems to work ok.
189 v8_fps := simd fp16 crypto fp16+crypto dotprod fp16fml 189 v8_fps := simd fp16 crypto fp16+crypto dotprod fp16fml
@@ -214,10 +214,10 @@ Index: gcc-11.3.0/gcc/config/arm/t-arm-elf
214 MULTILIB_MATCHES += $(foreach ARCH, armv7e-m armv8-m.mainline, \ 214 MULTILIB_MATCHES += $(foreach ARCH, armv7e-m armv8-m.mainline, \
215 march?armv7+fp=march?$(ARCH)+fp.dp) 215 march?armv7+fp=march?$(ARCH)+fp.dp)
216 216
217Index: gcc-11.3.0/gcc/config/arm/t-multilib 217Index: gcc/gcc/config/arm/t-multilib
218=================================================================== 218===================================================================
219--- gcc-11.3.0.orig/gcc/config/arm/t-multilib 219--- a/gcc/config/arm/t-multilib
220+++ gcc-11.3.0/gcc/config/arm/t-multilib 220+++ b/gcc/config/arm/t-multilib
221@@ -78,6 +78,8 @@ v8_4_a_simd_variants := $(call all_feat_ 221@@ -78,6 +78,8 @@ v8_4_a_simd_variants := $(call all_feat_
222 v8_5_a_simd_variants := $(call all_feat_combs, simd fp16 crypto i8mm bf16) 222 v8_5_a_simd_variants := $(call all_feat_combs, simd fp16 crypto i8mm bf16)
223 v8_6_a_simd_variants := $(call all_feat_combs, simd fp16 crypto i8mm bf16) 223 v8_6_a_simd_variants := $(call all_feat_combs, simd fp16 crypto i8mm bf16)
@@ -244,10 +244,10 @@ Index: gcc-11.3.0/gcc/config/arm/t-multilib
244 endif # Not APROFILE. 244 endif # Not APROFILE.
245 245
246 # Use Thumb libraries for everything. 246 # Use Thumb libraries for everything.
247Index: gcc-11.3.0/gcc/doc/invoke.texi 247Index: gcc/gcc/doc/invoke.texi
248=================================================================== 248===================================================================
249--- gcc-11.3.0.orig/gcc/doc/invoke.texi 249--- a/gcc/doc/invoke.texi
250+++ gcc-11.3.0/gcc/doc/invoke.texi 250+++ b/gcc/doc/invoke.texi
251@@ -19701,6 +19701,7 @@ Permissible names are: 251@@ -19701,6 +19701,7 @@ Permissible names are:
252 @samp{armv7-m}, @samp{armv7e-m}, 252 @samp{armv7-m}, @samp{armv7e-m},
253 @samp{armv8-m.base}, @samp{armv8-m.main}, 253 @samp{armv8-m.base}, @samp{armv8-m.main},
@@ -256,10 +256,10 @@ Index: gcc-11.3.0/gcc/doc/invoke.texi
256 @samp{iwmmxt} and @samp{iwmmxt2}. 256 @samp{iwmmxt} and @samp{iwmmxt2}.
257 257
258 Additionally, the following architectures, which lack support for the 258 Additionally, the following architectures, which lack support for the
259Index: gcc-11.3.0/gcc/testsuite/gcc.target/arm/multilib.exp 259Index: gcc/gcc/testsuite/gcc.target/arm/multilib.exp
260=================================================================== 260===================================================================
261--- gcc-11.3.0.orig/gcc/testsuite/gcc.target/arm/multilib.exp 261--- a/gcc/testsuite/gcc.target/arm/multilib.exp
262+++ gcc-11.3.0/gcc/testsuite/gcc.target/arm/multilib.exp 262+++ b/gcc/testsuite/gcc.target/arm/multilib.exp
263@@ -135,6 +135,14 @@ if {[multilib_config "aprofile"] } { 263@@ -135,6 +135,14 @@ if {[multilib_config "aprofile"] } {
264 {-march=armv8.6-a+simd+fp16 -mfloat-abi=softfp} "thumb/v8-a+simd/softfp" 264 {-march=armv8.6-a+simd+fp16 -mfloat-abi=softfp} "thumb/v8-a+simd/softfp"
265 {-march=armv8.6-a+simd+fp16+nofp -mfloat-abi=softfp} "thumb/v8-a/nofp" 265 {-march=armv8.6-a+simd+fp16+nofp -mfloat-abi=softfp} "thumb/v8-a/nofp"
@@ -275,10 +275,10 @@ Index: gcc-11.3.0/gcc/testsuite/gcc.target/arm/multilib.exp
275 {-mcpu=cortex-a53+crypto -mfloat-abi=hard} "thumb/v8-a+simd/hard" 275 {-mcpu=cortex-a53+crypto -mfloat-abi=hard} "thumb/v8-a+simd/hard"
276 {-mcpu=cortex-a53+nofp -mfloat-abi=softfp} "thumb/v8-a/nofp" 276 {-mcpu=cortex-a53+nofp -mfloat-abi=softfp} "thumb/v8-a/nofp"
277 {-march=armv8-a+crc -mfloat-abi=hard -mfpu=vfp} "thumb/v8-a+simd/hard" 277 {-march=armv8-a+crc -mfloat-abi=hard -mfpu=vfp} "thumb/v8-a+simd/hard"
278Index: gcc-11.3.0/gcc/testsuite/lib/target-supports.exp 278Index: gcc/gcc/testsuite/lib/target-supports.exp
279=================================================================== 279===================================================================
280--- gcc-11.3.0.orig/gcc/testsuite/lib/target-supports.exp 280--- a/gcc/testsuite/lib/target-supports.exp
281+++ gcc-11.3.0/gcc/testsuite/lib/target-supports.exp 281+++ b/gcc/testsuite/lib/target-supports.exp
282@@ -4820,7 +4820,8 @@ foreach { armfunc armflag armdefs } { 282@@ -4820,7 +4820,8 @@ foreach { armfunc armflag armdefs } {
283 v8m_base "-march=armv8-m.base -mthumb -mfloat-abi=soft" 283 v8m_base "-march=armv8-m.base -mthumb -mfloat-abi=soft"
284 __ARM_ARCH_8M_BASE__ 284 __ARM_ARCH_8M_BASE__
diff --git a/meta/recipes-devtools/gcc/gcc/0006-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch b/meta/recipes-devtools/gcc/gcc/0006-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch
index b3515c9734..ece5873258 100644
--- a/meta/recipes-devtools/gcc/gcc/0006-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch
+++ b/meta/recipes-devtools/gcc/gcc/0006-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch
@@ -39,10 +39,10 @@ Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
39 gcc/config/sparc/linux64.h | 4 ++-- 39 gcc/config/sparc/linux64.h | 4 ++--
40 17 files changed, 53 insertions(+), 58 deletions(-) 40 17 files changed, 53 insertions(+), 58 deletions(-)
41 41
42Index: gcc-11.3.0/gcc/config/aarch64/aarch64-linux.h 42Index: gcc/gcc/config/aarch64/aarch64-linux.h
43=================================================================== 43===================================================================
44--- gcc-11.3.0.orig/gcc/config/aarch64/aarch64-linux.h 44--- a/gcc/config/aarch64/aarch64-linux.h
45+++ gcc-11.3.0/gcc/config/aarch64/aarch64-linux.h 45+++ b/gcc/config/aarch64/aarch64-linux.h
46@@ -21,10 +21,10 @@ 46@@ -21,10 +21,10 @@
47 #ifndef GCC_AARCH64_LINUX_H 47 #ifndef GCC_AARCH64_LINUX_H
48 #define GCC_AARCH64_LINUX_H 48 #define GCC_AARCH64_LINUX_H
@@ -56,10 +56,10 @@ Index: gcc-11.3.0/gcc/config/aarch64/aarch64-linux.h
56 56
57 #undef ASAN_CC1_SPEC 57 #undef ASAN_CC1_SPEC
58 #define ASAN_CC1_SPEC "%{%:sanitize(address):-funwind-tables}" 58 #define ASAN_CC1_SPEC "%{%:sanitize(address):-funwind-tables}"
59Index: gcc-11.3.0/gcc/config/alpha/linux-elf.h 59Index: gcc/gcc/config/alpha/linux-elf.h
60=================================================================== 60===================================================================
61--- gcc-11.3.0.orig/gcc/config/alpha/linux-elf.h 61--- a/gcc/config/alpha/linux-elf.h
62+++ gcc-11.3.0/gcc/config/alpha/linux-elf.h 62+++ b/gcc/config/alpha/linux-elf.h
63@@ -23,8 +23,8 @@ along with GCC; see the file COPYING3. 63@@ -23,8 +23,8 @@ along with GCC; see the file COPYING3.
64 #define EXTRA_SPECS \ 64 #define EXTRA_SPECS \
65 { "elf_dynamic_linker", ELF_DYNAMIC_LINKER }, 65 { "elf_dynamic_linker", ELF_DYNAMIC_LINKER },
@@ -71,10 +71,10 @@ Index: gcc-11.3.0/gcc/config/alpha/linux-elf.h
71 #if DEFAULT_LIBC == LIBC_UCLIBC 71 #if DEFAULT_LIBC == LIBC_UCLIBC
72 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}" 72 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}"
73 #elif DEFAULT_LIBC == LIBC_GLIBC 73 #elif DEFAULT_LIBC == LIBC_GLIBC
74Index: gcc-11.3.0/gcc/config/arm/linux-eabi.h 74Index: gcc/gcc/config/arm/linux-eabi.h
75=================================================================== 75===================================================================
76--- gcc-11.3.0.orig/gcc/config/arm/linux-eabi.h 76--- a/gcc/config/arm/linux-eabi.h
77+++ gcc-11.3.0/gcc/config/arm/linux-eabi.h 77+++ b/gcc/config/arm/linux-eabi.h
78@@ -65,8 +65,8 @@ 78@@ -65,8 +65,8 @@
79 GLIBC_DYNAMIC_LINKER_DEFAULT and TARGET_DEFAULT_FLOAT_ABI. */ 79 GLIBC_DYNAMIC_LINKER_DEFAULT and TARGET_DEFAULT_FLOAT_ABI. */
80 80
@@ -95,10 +95,10 @@ Index: gcc-11.3.0/gcc/config/arm/linux-eabi.h
95 95
96 /* At this point, bpabi.h will have clobbered LINK_SPEC. We want to 96 /* At this point, bpabi.h will have clobbered LINK_SPEC. We want to
97 use the GNU/Linux version, not the generic BPABI version. */ 97 use the GNU/Linux version, not the generic BPABI version. */
98Index: gcc-11.3.0/gcc/config/arm/linux-elf.h 98Index: gcc/gcc/config/arm/linux-elf.h
99=================================================================== 99===================================================================
100--- gcc-11.3.0.orig/gcc/config/arm/linux-elf.h 100--- a/gcc/config/arm/linux-elf.h
101+++ gcc-11.3.0/gcc/config/arm/linux-elf.h 101+++ b/gcc/config/arm/linux-elf.h
102@@ -60,7 +60,7 @@ 102@@ -60,7 +60,7 @@
103 103
104 #define LIBGCC_SPEC "%{mfloat-abi=soft*:-lfloat} -lgcc" 104 #define LIBGCC_SPEC "%{mfloat-abi=soft*:-lfloat} -lgcc"
@@ -108,10 +108,10 @@ Index: gcc-11.3.0/gcc/config/arm/linux-elf.h
108 108
109 #define LINUX_TARGET_LINK_SPEC "%{h*} \ 109 #define LINUX_TARGET_LINK_SPEC "%{h*} \
110 %{static:-Bstatic} \ 110 %{static:-Bstatic} \
111Index: gcc-11.3.0/gcc/config/i386/linux.h 111Index: gcc/gcc/config/i386/linux.h
112=================================================================== 112===================================================================
113--- gcc-11.3.0.orig/gcc/config/i386/linux.h 113--- a/gcc/config/i386/linux.h
114+++ gcc-11.3.0/gcc/config/i386/linux.h 114+++ b/gcc/config/i386/linux.h
115@@ -20,7 +20,7 @@ along with GCC; see the file COPYING3. 115@@ -20,7 +20,7 @@ along with GCC; see the file COPYING3.
116 <http://www.gnu.org/licenses/>. */ 116 <http://www.gnu.org/licenses/>. */
117 117
@@ -122,10 +122,10 @@ Index: gcc-11.3.0/gcc/config/i386/linux.h
122 #undef MUSL_DYNAMIC_LINKER 122 #undef MUSL_DYNAMIC_LINKER
123-#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-i386.so.1" 123-#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-i386.so.1"
124+#define MUSL_DYNAMIC_LINKER SYSTEMLIBS_DIR "ld-musl-i386.so.1" 124+#define MUSL_DYNAMIC_LINKER SYSTEMLIBS_DIR "ld-musl-i386.so.1"
125Index: gcc-11.3.0/gcc/config/i386/linux64.h 125Index: gcc/gcc/config/i386/linux64.h
126=================================================================== 126===================================================================
127--- gcc-11.3.0.orig/gcc/config/i386/linux64.h 127--- a/gcc/config/i386/linux64.h
128+++ gcc-11.3.0/gcc/config/i386/linux64.h 128+++ b/gcc/config/i386/linux64.h
129@@ -27,13 +27,13 @@ see the files COPYING3 and COPYING.RUNTI 129@@ -27,13 +27,13 @@ see the files COPYING3 and COPYING.RUNTI
130 #define GNU_USER_LINK_EMULATION64 "elf_x86_64" 130 #define GNU_USER_LINK_EMULATION64 "elf_x86_64"
131 #define GNU_USER_LINK_EMULATIONX32 "elf32_x86_64" 131 #define GNU_USER_LINK_EMULATIONX32 "elf32_x86_64"
@@ -146,10 +146,10 @@ Index: gcc-11.3.0/gcc/config/i386/linux64.h
146 #undef MUSL_DYNAMIC_LINKERX32 146 #undef MUSL_DYNAMIC_LINKERX32
147-#define MUSL_DYNAMIC_LINKERX32 "/lib/ld-musl-x32.so.1" 147-#define MUSL_DYNAMIC_LINKERX32 "/lib/ld-musl-x32.so.1"
148+#define MUSL_DYNAMIC_LINKERX32 SYSTEMLIBS_DIR "ld-musl-x32.so.1" 148+#define MUSL_DYNAMIC_LINKERX32 SYSTEMLIBS_DIR "ld-musl-x32.so.1"
149Index: gcc-11.3.0/gcc/config/linux.h 149Index: gcc/gcc/config/linux.h
150=================================================================== 150===================================================================
151--- gcc-11.3.0.orig/gcc/config/linux.h 151--- a/gcc/config/linux.h
152+++ gcc-11.3.0/gcc/config/linux.h 152+++ b/gcc/config/linux.h
153@@ -94,10 +94,10 @@ see the files COPYING3 and COPYING.RUNTI 153@@ -94,10 +94,10 @@ see the files COPYING3 and COPYING.RUNTI
154 GLIBC_DYNAMIC_LINKER must be defined for each target using them, or 154 GLIBC_DYNAMIC_LINKER must be defined for each target using them, or
155 GLIBC_DYNAMIC_LINKER32 and GLIBC_DYNAMIC_LINKER64 for targets 155 GLIBC_DYNAMIC_LINKER32 and GLIBC_DYNAMIC_LINKER64 for targets
@@ -165,10 +165,10 @@ Index: gcc-11.3.0/gcc/config/linux.h
165 #define BIONIC_DYNAMIC_LINKER "/system/bin/linker" 165 #define BIONIC_DYNAMIC_LINKER "/system/bin/linker"
166 #define BIONIC_DYNAMIC_LINKER32 "/system/bin/linker" 166 #define BIONIC_DYNAMIC_LINKER32 "/system/bin/linker"
167 #define BIONIC_DYNAMIC_LINKER64 "/system/bin/linker64" 167 #define BIONIC_DYNAMIC_LINKER64 "/system/bin/linker64"
168Index: gcc-11.3.0/gcc/config/microblaze/linux.h 168Index: gcc/gcc/config/microblaze/linux.h
169=================================================================== 169===================================================================
170--- gcc-11.3.0.orig/gcc/config/microblaze/linux.h 170--- a/gcc/config/microblaze/linux.h
171+++ gcc-11.3.0/gcc/config/microblaze/linux.h 171+++ b/gcc/config/microblaze/linux.h
172@@ -28,7 +28,7 @@ 172@@ -28,7 +28,7 @@
173 #undef TLS_NEEDS_GOT 173 #undef TLS_NEEDS_GOT
174 #define TLS_NEEDS_GOT 1 174 #define TLS_NEEDS_GOT 1
@@ -187,10 +187,10 @@ Index: gcc-11.3.0/gcc/config/microblaze/linux.h
187 187
188 #undef SUBTARGET_EXTRA_SPECS 188 #undef SUBTARGET_EXTRA_SPECS
189 #define SUBTARGET_EXTRA_SPECS \ 189 #define SUBTARGET_EXTRA_SPECS \
190Index: gcc-11.3.0/gcc/config/mips/linux.h 190Index: gcc/gcc/config/mips/linux.h
191=================================================================== 191===================================================================
192--- gcc-11.3.0.orig/gcc/config/mips/linux.h 192--- a/gcc/config/mips/linux.h
193+++ gcc-11.3.0/gcc/config/mips/linux.h 193+++ b/gcc/config/mips/linux.h
194@@ -22,29 +22,29 @@ along with GCC; see the file COPYING3. 194@@ -22,29 +22,29 @@ along with GCC; see the file COPYING3.
195 #define GNU_USER_LINK_EMULATIONN32 "elf32%{EB:b}%{EL:l}tsmipn32" 195 #define GNU_USER_LINK_EMULATIONN32 "elf32%{EB:b}%{EL:l}tsmipn32"
196 196
@@ -230,10 +230,10 @@ Index: gcc-11.3.0/gcc/config/mips/linux.h
230 230
231 #define BIONIC_DYNAMIC_LINKERN32 "/system/bin/linker32" 231 #define BIONIC_DYNAMIC_LINKERN32 "/system/bin/linker32"
232 #define GNU_USER_DYNAMIC_LINKERN32 \ 232 #define GNU_USER_DYNAMIC_LINKERN32 \
233Index: gcc-11.3.0/gcc/config/nios2/linux.h 233Index: gcc/gcc/config/nios2/linux.h
234=================================================================== 234===================================================================
235--- gcc-11.3.0.orig/gcc/config/nios2/linux.h 235--- a/gcc/config/nios2/linux.h
236+++ gcc-11.3.0/gcc/config/nios2/linux.h 236+++ b/gcc/config/nios2/linux.h
237@@ -29,7 +29,7 @@ 237@@ -29,7 +29,7 @@
238 #undef CPP_SPEC 238 #undef CPP_SPEC
239 #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}" 239 #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
@@ -243,10 +243,10 @@ Index: gcc-11.3.0/gcc/config/nios2/linux.h
243 243
244 #undef LINK_SPEC 244 #undef LINK_SPEC
245 #define LINK_SPEC LINK_SPEC_ENDIAN \ 245 #define LINK_SPEC LINK_SPEC_ENDIAN \
246Index: gcc-11.3.0/gcc/config/riscv/linux.h 246Index: gcc/gcc/config/riscv/linux.h
247=================================================================== 247===================================================================
248--- gcc-11.3.0.orig/gcc/config/riscv/linux.h 248--- a/gcc/config/riscv/linux.h
249+++ gcc-11.3.0/gcc/config/riscv/linux.h 249+++ b/gcc/config/riscv/linux.h
250@@ -22,7 +22,7 @@ along with GCC; see the file COPYING3. 250@@ -22,7 +22,7 @@ along with GCC; see the file COPYING3.
251 GNU_USER_TARGET_OS_CPP_BUILTINS(); \ 251 GNU_USER_TARGET_OS_CPP_BUILTINS(); \
252 } while (0) 252 } while (0)
@@ -265,10 +265,10 @@ Index: gcc-11.3.0/gcc/config/riscv/linux.h
265 265
266 /* Because RISC-V only has word-sized atomics, it requries libatomic where 266 /* Because RISC-V only has word-sized atomics, it requries libatomic where
267 others do not. So link libatomic by default, as needed. */ 267 others do not. So link libatomic by default, as needed. */
268Index: gcc-11.3.0/gcc/config/rs6000/linux64.h 268Index: gcc/gcc/config/rs6000/linux64.h
269=================================================================== 269===================================================================
270--- gcc-11.3.0.orig/gcc/config/rs6000/linux64.h 270--- a/gcc/config/rs6000/linux64.h
271+++ gcc-11.3.0/gcc/config/rs6000/linux64.h 271+++ b/gcc/config/rs6000/linux64.h
272@@ -336,24 +336,19 @@ extern int dot_symbols; 272@@ -336,24 +336,19 @@ extern int dot_symbols;
273 #undef LINK_OS_DEFAULT_SPEC 273 #undef LINK_OS_DEFAULT_SPEC
274 #define LINK_OS_DEFAULT_SPEC "%(link_os_linux)" 274 #define LINK_OS_DEFAULT_SPEC "%(link_os_linux)"
@@ -299,10 +299,10 @@ Index: gcc-11.3.0/gcc/config/rs6000/linux64.h
299 299
300 #undef DEFAULT_ASM_ENDIAN 300 #undef DEFAULT_ASM_ENDIAN
301 #if (TARGET_DEFAULT & MASK_LITTLE_ENDIAN) 301 #if (TARGET_DEFAULT & MASK_LITTLE_ENDIAN)
302Index: gcc-11.3.0/gcc/config/rs6000/sysv4.h 302Index: gcc/gcc/config/rs6000/sysv4.h
303=================================================================== 303===================================================================
304--- gcc-11.3.0.orig/gcc/config/rs6000/sysv4.h 304--- a/gcc/config/rs6000/sysv4.h
305+++ gcc-11.3.0/gcc/config/rs6000/sysv4.h 305+++ b/gcc/config/rs6000/sysv4.h
306@@ -780,10 +780,10 @@ GNU_USER_TARGET_CC1_SPEC 306@@ -780,10 +780,10 @@ GNU_USER_TARGET_CC1_SPEC
307 307
308 #define MUSL_DYNAMIC_LINKER_E ENDIAN_SELECT("","le","") 308 #define MUSL_DYNAMIC_LINKER_E ENDIAN_SELECT("","le","")
@@ -316,10 +316,10 @@ Index: gcc-11.3.0/gcc/config/rs6000/sysv4.h
316 316
317 #ifndef GNU_USER_DYNAMIC_LINKER 317 #ifndef GNU_USER_DYNAMIC_LINKER
318 #define GNU_USER_DYNAMIC_LINKER GLIBC_DYNAMIC_LINKER 318 #define GNU_USER_DYNAMIC_LINKER GLIBC_DYNAMIC_LINKER
319Index: gcc-11.3.0/gcc/config/s390/linux.h 319Index: gcc/gcc/config/s390/linux.h
320=================================================================== 320===================================================================
321--- gcc-11.3.0.orig/gcc/config/s390/linux.h 321--- a/gcc/config/s390/linux.h
322+++ gcc-11.3.0/gcc/config/s390/linux.h 322+++ b/gcc/config/s390/linux.h
323@@ -72,13 +72,13 @@ along with GCC; see the file COPYING3. 323@@ -72,13 +72,13 @@ along with GCC; see the file COPYING3.
324 #define MULTILIB_DEFAULTS { "m31" } 324 #define MULTILIB_DEFAULTS { "m31" }
325 #endif 325 #endif
@@ -338,10 +338,10 @@ Index: gcc-11.3.0/gcc/config/s390/linux.h
338 338
339 #undef LINK_SPEC 339 #undef LINK_SPEC
340 #define LINK_SPEC \ 340 #define LINK_SPEC \
341Index: gcc-11.3.0/gcc/config/sh/linux.h 341Index: gcc/gcc/config/sh/linux.h
342=================================================================== 342===================================================================
343--- gcc-11.3.0.orig/gcc/config/sh/linux.h 343--- a/gcc/config/sh/linux.h
344+++ gcc-11.3.0/gcc/config/sh/linux.h 344+++ b/gcc/config/sh/linux.h
345@@ -61,10 +61,10 @@ along with GCC; see the file COPYING3. 345@@ -61,10 +61,10 @@ along with GCC; see the file COPYING3.
346 346
347 #undef MUSL_DYNAMIC_LINKER 347 #undef MUSL_DYNAMIC_LINKER
@@ -355,10 +355,10 @@ Index: gcc-11.3.0/gcc/config/sh/linux.h
355 355
356 #undef SUBTARGET_LINK_EMUL_SUFFIX 356 #undef SUBTARGET_LINK_EMUL_SUFFIX
357 #define SUBTARGET_LINK_EMUL_SUFFIX "%{mfdpic:_fd;:_linux}" 357 #define SUBTARGET_LINK_EMUL_SUFFIX "%{mfdpic:_fd;:_linux}"
358Index: gcc-11.3.0/gcc/config/sparc/linux.h 358Index: gcc/gcc/config/sparc/linux.h
359=================================================================== 359===================================================================
360--- gcc-11.3.0.orig/gcc/config/sparc/linux.h 360--- a/gcc/config/sparc/linux.h
361+++ gcc-11.3.0/gcc/config/sparc/linux.h 361+++ b/gcc/config/sparc/linux.h
362@@ -78,7 +78,7 @@ extern const char *host_detect_local_cpu 362@@ -78,7 +78,7 @@ extern const char *host_detect_local_cpu
363 When the -shared link option is used a final link is not being 363 When the -shared link option is used a final link is not being
364 done. */ 364 done. */
@@ -368,10 +368,10 @@ Index: gcc-11.3.0/gcc/config/sparc/linux.h
368 368
369 #undef LINK_SPEC 369 #undef LINK_SPEC
370 #define LINK_SPEC "-m elf32_sparc %{shared:-shared} \ 370 #define LINK_SPEC "-m elf32_sparc %{shared:-shared} \
371Index: gcc-11.3.0/gcc/config/sparc/linux64.h 371Index: gcc/gcc/config/sparc/linux64.h
372=================================================================== 372===================================================================
373--- gcc-11.3.0.orig/gcc/config/sparc/linux64.h 373--- a/gcc/config/sparc/linux64.h
374+++ gcc-11.3.0/gcc/config/sparc/linux64.h 374+++ b/gcc/config/sparc/linux64.h
375@@ -78,8 +78,8 @@ along with GCC; see the file COPYING3. 375@@ -78,8 +78,8 @@ along with GCC; see the file COPYING3.
376 When the -shared link option is used a final link is not being 376 When the -shared link option is used a final link is not being
377 done. */ 377 done. */
diff --git a/meta/recipes-devtools/gcc/gcc/0009-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch b/meta/recipes-devtools/gcc/gcc/0009-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch
index 0f94936140..1ec942e977 100644
--- a/meta/recipes-devtools/gcc/gcc/0009-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch
+++ b/meta/recipes-devtools/gcc/gcc/0009-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch
@@ -18,10 +18,10 @@ Upstream-Status: Pending
18 gcc/config/arm/linux-eabi.h | 6 +++++- 18 gcc/config/arm/linux-eabi.h | 6 +++++-
19 1 file changed, 5 insertions(+), 1 deletion(-) 19 1 file changed, 5 insertions(+), 1 deletion(-)
20 20
21Index: gcc-11.3.0/gcc/config/arm/linux-eabi.h 21Index: gcc/gcc/config/arm/linux-eabi.h
22=================================================================== 22===================================================================
23--- gcc-11.3.0.orig/gcc/config/arm/linux-eabi.h 23--- a/gcc/config/arm/linux-eabi.h
24+++ gcc-11.3.0/gcc/config/arm/linux-eabi.h 24+++ b/gcc/config/arm/linux-eabi.h
25@@ -91,10 +91,14 @@ 25@@ -91,10 +91,14 @@
26 #define MUSL_DYNAMIC_LINKER \ 26 #define MUSL_DYNAMIC_LINKER \
27 SYSTEMLIBS_DIR "ld-musl-arm" MUSL_DYNAMIC_LINKER_E "%{mfloat-abi=hard:hf}%{mfdpic:-fdpic}.so.1" 27 SYSTEMLIBS_DIR "ld-musl-arm" MUSL_DYNAMIC_LINKER_E "%{mfloat-abi=hard:hf}%{mfdpic:-fdpic}.so.1"
diff --git a/meta/recipes-devtools/gcc/gcc_11.3.bb b/meta/recipes-devtools/gcc/gcc_11.4.bb
index 255fe552bd..255fe552bd 100644
--- a/meta/recipes-devtools/gcc/gcc_11.3.bb
+++ b/meta/recipes-devtools/gcc/gcc_11.4.bb
diff --git a/meta/recipes-devtools/gcc/libgcc-initial_11.3.bb b/meta/recipes-devtools/gcc/libgcc-initial_11.4.bb
index a259082b47..a259082b47 100644
--- a/meta/recipes-devtools/gcc/libgcc-initial_11.3.bb
+++ b/meta/recipes-devtools/gcc/libgcc-initial_11.4.bb
diff --git a/meta/recipes-devtools/gcc/libgcc_11.3.bb b/meta/recipes-devtools/gcc/libgcc_11.4.bb
index f88963b0a4..f88963b0a4 100644
--- a/meta/recipes-devtools/gcc/libgcc_11.3.bb
+++ b/meta/recipes-devtools/gcc/libgcc_11.4.bb
diff --git a/meta/recipes-devtools/gcc/libgfortran_11.3.bb b/meta/recipes-devtools/gcc/libgfortran_11.4.bb
index 71dd8b4bdc..71dd8b4bdc 100644
--- a/meta/recipes-devtools/gcc/libgfortran_11.3.bb
+++ b/meta/recipes-devtools/gcc/libgfortran_11.4.bb