gcc: upgrade 11.2 -> current gcc-12 snapshot
PATCH v3 1/1 gcc: upgrade 11.2 -> current gcc-12 snapshot
From: Bernhard Rosenkränzer <[email protected]>
- gcc 12 is in RC stages.
- Add patch to re-shuffle include of sched.h to fix build on musl
---
v3
- Switch to own snapshot for quick turnarounds than waiting for a weekly snapshot
- Add a fix for gcc target build on musl
- Fixed gcc for kernel build failures on arm/x86_64
- Fixed gcc for ccache build failure
meta/conf/distro/include/tcmode-default.inc | 2 +-
meta/recipes-devtools/gcc/gcc-11.2.inc | 123 -
meta/recipes-devtools/gcc/gcc-12.0.inc | 109 +
...ian_11.2.bb => gcc-cross-canadian_12.0.bb} | 0
.../{gcc-cross_11.2.bb => gcc-cross_12.0.bb} | 0
...-crosssdk_11.2.bb => gcc-crosssdk_12.0.bb} | 0
meta/recipes-devtools/gcc/gcc-runtime.inc | 2 +-
...cc-runtime_11.2.bb => gcc-runtime_12.0.bb} | 0
...itizers_11.2.bb => gcc-sanitizers_12.0.bb} | 0
...{gcc-source_11.2.bb => gcc-source_12.0.bb} | 0
.../gcc/gcc/0001-CVE-2021-35465.patch | 138 -
.../gcc/gcc/0001-CVE-2021-42574.patch | 2282 -----------------
.../gcc/gcc/0001-CVE-2021-46195.patch | 128 -
...0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch | 10 +-
.../gcc/gcc/0002-CVE-2021-35465.patch | 39 -
.../gcc/gcc/0002-CVE-2021-42574.patch | 1765 -------------
.../0002-gcc-poison-system-directories.patch | 54 +-
....patch => 0003-64-bit-multilib-hack.patch} | 15 +-
.../gcc/gcc/0003-CVE-2021-35465.patch | 103 -
.../gcc/gcc/0003-CVE-2021-42574.patch | 142 -
.../gcc/gcc/0004-CVE-2021-35465.patch | 304 ---
.../gcc/gcc/0004-CVE-2021-42574.patch | 573 -----
..._BUILD-in-a-couple-of-places-to-avo.patch} | 41 +-
...s.h-in-B-instead-of-S-and-t-oe-in-B.patch} | 16 +-
.../gcc/gcc/0006-cpp-honor-sysroot.patch | 53 +
...MIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch} | 103 +-
...{0014-libtool.patch => 0008-libtool.patch} | 2 +-
.../gcc/gcc/0009-cpp-honor-sysroot.patch | 59 -
...-fix-v4bx-to-linker-to-support-EABI.patch} | 4 +-
...config-files-from-B-instead-of-usin.patch} | 14 +-
...r-from-.la-which-usually-points-to-.patch} | 2 +-
.../gcc/gcc/0012-export-CPP.patch | 50 +
...gcc-Fix-argument-list-too-long-error.patch | 38 -
...-target-gcc-headers-can-be-included.patch} | 30 +-
...-directory-during-relink-if-inst_pr.patch} | 2 +-
...fix-libcc1-s-install-path-and-rpath.patch} | 8 +-
...e-sysroot-support-for-nativesdk-gcc.patch} | 88 +-
...root-gcc-version-specific-dirs-with.patch} | 16 +-
...-to-link-commandline-for-musl-targe.patch} | 14 +-
.../gcc/gcc/0018-export-CPP.patch | 199 --
...e-introduce-spe-commandline-options.patch} | 6 +-
...s-for-__cpu_indicator_init-instead-.patch} | 28 +-
...-Do-not-use-__LINE__-for-maintainin.patch} | 72 +-
...gw32-Enable-operation_not_supported.patch} | 4 +-
...mic-Do-not-enforce-march-on-aarch64.patch} | 10 +-
... 0024-Fix-install-path-of-linux64.h.patch} | 10 +-
...ched.h-include-ahead-of-user-headers.patch | 56 +
...027-nios2-Define-MUSL_DYNAMIC_LINKER.patch | 31 -
...using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch | 26 -
.../0030-sync-gcc-stddef.h-with-musl.patch | 88 -
...prefix-maps-before-checksumming-DIEs.patch | 95 -
.../gcc/0042-Fix-thread-stack-size-init.patch | 23 -
.../gcc/{gcc_11.2.bb => gcc_12.0.bb} | 0
...initial_11.2.bb => libgcc-initial_12.0.bb} | 0
.../gcc/{libgcc_11.2.bb => libgcc_12.0.bb} | 0
...ibgfortran_11.2.bb => libgfortran_12.0.bb} | 0
56 files changed, 555 insertions(+), 6422 deletions(-)
delete mode 100644 meta/recipes-devtools/gcc/gcc-11.2.inc
create mode 100644 meta/recipes-devtools/gcc/gcc-12.0.inc
rename meta/recipes-devtools/gcc/{gcc-cross-canadian_11.2.bb => gcc-cross-canadian_12.0.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc-cross_11.2.bb => gcc-cross_12.0.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc-crosssdk_11.2.bb => gcc-crosssdk_12.0.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc-runtime_11.2.bb => gcc-runtime_12.0.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc-sanitizers_11.2.bb => gcc-sanitizers_12.0.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc-source_11.2.bb => gcc-source_12.0.bb} (100%)
delete mode 100644 meta/recipes-devtools/gcc/gcc/0001-CVE-2021-35465.patch
delete mode 100644 meta/recipes-devtools/gcc/gcc/0001-CVE-2021-42574.patch
delete mode 100644 meta/recipes-devtools/gcc/gcc/0001-CVE-2021-46195.patch
delete mode 100644 meta/recipes-devtools/gcc/gcc/0002-CVE-2021-35465.patch
delete mode 100644 meta/recipes-devtools/gcc/gcc/0002-CVE-2021-42574.patch
rename meta/recipes-devtools/gcc/gcc/{0004-64-bit-multilib-hack.patch => 0003-64-bit-multilib-hack.patch} (94%)
delete mode 100644 meta/recipes-devtools/gcc/gcc/0003-CVE-2021-35465.patch
delete mode 100644 meta/recipes-devtools/gcc/gcc/0003-CVE-2021-42574.patch
delete mode 100644 meta/recipes-devtools/gcc/gcc/0004-CVE-2021-35465.patch
delete mode 100644 meta/recipes-devtools/gcc/gcc/0004-CVE-2021-42574.patch
rename meta/recipes-devtools/gcc/gcc/{0006-If-CXXFLAGS-contains-something-unsupported-by-the-bu.patch => 0004-Pass-CXXFLAGS_FOR_BUILD-in-a-couple-of-places-to-avo.patch} (65%)
rename meta/recipes-devtools/gcc/gcc/{0007-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch => 0005-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch} (88%)
create mode 100644 meta/recipes-devtools/gcc/gcc/0006-cpp-honor-sysroot.patch
rename meta/recipes-devtools/gcc/gcc/{0011-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch => 0007-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch} (80%)
rename meta/recipes-devtools/gcc/gcc/{0014-libtool.patch => 0008-libtool.patch} (94%)
delete mode 100644 meta/recipes-devtools/gcc/gcc/0009-cpp-honor-sysroot.patch
rename meta/recipes-devtools/gcc/gcc/{0015-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch => 0009-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch} (93%)
rename meta/recipes-devtools/gcc/gcc/{0016-Use-the-multilib-config-files-from-B-instead-of-usin.patch => 0010-Use-the-multilib-config-files-from-B-instead-of-usin.patch} (89%)
rename meta/recipes-devtools/gcc/gcc/{0017-Avoid-using-libdir-from-.la-which-usually-points-to-.patch => 0011-Avoid-using-libdir-from-.la-which-usually-points-to-.patch} (92%)
create mode 100644 meta/recipes-devtools/gcc/gcc/0012-export-CPP.patch
delete mode 100644 meta/recipes-devtools/gcc/gcc/0012-gcc-Fix-argument-list-too-long-error.patch
rename meta/recipes-devtools/gcc/gcc/{0019-Ensure-target-gcc-headers-can-be-included.patch => 0013-Ensure-target-gcc-headers-can-be-included.patch} (85%)
rename meta/recipes-devtools/gcc/gcc/{0020-Don-t-search-host-directory-during-relink-if-inst_pr.patch => 0014-Don-t-search-host-directory-during-relink-if-inst_pr.patch} (93%)
rename meta/recipes-devtools/gcc/gcc/{0023-libcc1-fix-libcc1-s-install-path-and-rpath.patch => 0015-libcc1-fix-libcc1-s-install-path-and-rpath.patch} (90%)
rename meta/recipes-devtools/gcc/gcc/{0024-handle-sysroot-support-for-nativesdk-gcc.patch => 0016-handle-sysroot-support-for-nativesdk-gcc.patch} (90%)
rename meta/recipes-devtools/gcc/gcc/{0025-Search-target-sysroot-gcc-version-specific-dirs-with.patch => 0017-Search-target-sysroot-gcc-version-specific-dirs-with.patch} (89%)
rename meta/recipes-devtools/gcc/gcc/{0028-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch => 0018-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch} (81%)
delete mode 100644 meta/recipes-devtools/gcc/gcc/0018-export-CPP.patch
rename meta/recipes-devtools/gcc/gcc/{0033-Re-introduce-spe-commandline-options.patch => 0019-Re-introduce-spe-commandline-options.patch} (87%)
rename meta/recipes-devtools/gcc/gcc/{0034-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch => 0020-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch} (76%)
rename meta/recipes-devtools/gcc/gcc/{0035-gentypes-genmodes-Do-not-use-__LINE__-for-maintainin.patch => 0021-gentypes-genmodes-Do-not-use-__LINE__-for-maintainin.patch} (75%)
rename meta/recipes-devtools/gcc/gcc/{0036-mingw32-Enable-operation_not_supported.patch => 0022-mingw32-Enable-operation_not_supported.patch} (89%)
rename meta/recipes-devtools/gcc/gcc/{0037-libatomic-Do-not-enforce-march-on-aarch64.patch => 0023-libatomic-Do-not-enforce-march-on-aarch64.patch} (85%)
rename meta/recipes-devtools/gcc/gcc/{0001-Fix-install-path-of-linux64.h.patch => 0024-Fix-install-path-of-linux64.h.patch} (81%)
create mode 100644 meta/recipes-devtools/gcc/gcc/0025-Move-sched.h-include-ahead-of-user-headers.patch
delete mode 100644 meta/recipes-devtools/gcc/gcc/0027-nios2-Define-MUSL_DYNAMIC_LINKER.patch
delete mode 100644 meta/recipes-devtools/gcc/gcc/0029-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch
delete mode 100644 meta/recipes-devtools/gcc/gcc/0030-sync-gcc-stddef.h-with-musl.patch
delete mode 100644 meta/recipes-devtools/gcc/gcc/0041-apply-debug-prefix-maps-before-checksumming-DIEs.patch
delete mode 100644 meta/recipes-devtools/gcc/gcc/0042-Fix-thread-stack-size-init.patch
rename meta/recipes-devtools/gcc/{gcc_11.2.bb => gcc_12.0.bb} (100%)
rename meta/recipes-devtools/gcc/{libgcc-initial_11.2.bb => libgcc-initial_12.0.bb} (100%)
rename meta/recipes-devtools/gcc/{libgcc_11.2.bb => libgcc_12.0.bb} (100%)
rename meta/recipes-devtools/gcc/{libgfortran_11.2.bb => libgfortran_12.0.bb} (100%)meta/conf/distro/include/tcmode-default.inc +1 -1
@@ -16,7 +16,7 @@ PREFERRED_PROVIDER_virtual/${SDK_PREFIX}compilerlibs = "nativesdk-gcc-runtime" # Default libc config PREFERRED_PROVIDER_virtual/gettext ??= "gettext" -GCCVERSION ?= "11.%" +GCCVERSION ?= "12.%" SDKGCCVERSION ?= "${GCCVERSION}" BINUVERSION ?= "2.38%" GDBVERSION ?= "11.%"
meta/recipes-devtools/gcc/gcc-11.2.inc deleted +0 -123
123 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-12.0.inc new file +109 -0
109 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-cross-canadian_12.0.bb renamed from meta/recipes-devtools/gcc/gcc-cross-canadian_11.2.bb +0 -0
meta/recipes-devtools/gcc/gcc-cross_12.0.bb renamed from meta/recipes-devtools/gcc/gcc-cross_11.2.bb +0 -0
meta/recipes-devtools/gcc/gcc-crosssdk_12.0.bb renamed from meta/recipes-devtools/gcc/gcc-crosssdk_11.2.bb +0 -0
meta/recipes-devtools/gcc/gcc-runtime.inc +1 -1
@@ -2,7 +2,7 @@ require gcc-configure-common.inc SUMMARY = "Runtime libraries from GCC" -# Over-ride the LICENSE set by gcc-${PV}.inc to remove "& GPL-3.0-only" +# Over-ride the LICENSE set by gcc-${PV}.inc to remove "& GPLv3" # All gcc-runtime packages are now covered by the runtime exception. LICENSE = "GPL-3.0-with-GCC-exception"
meta/recipes-devtools/gcc/gcc-runtime_12.0.bb renamed from meta/recipes-devtools/gcc/gcc-runtime_11.2.bb +0 -0
meta/recipes-devtools/gcc/gcc-sanitizers_12.0.bb renamed from meta/recipes-devtools/gcc/gcc-sanitizers_11.2.bb +0 -0
meta/recipes-devtools/gcc/gcc-source_12.0.bb renamed from meta/recipes-devtools/gcc/gcc-source_11.2.bb +0 -0
meta/recipes-devtools/gcc/gcc/0001-CVE-2021-35465.patch deleted +0 -138
138 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc/0001-CVE-2021-42574.patch deleted +0 -2282
2,282 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc/0001-CVE-2021-46195.patch deleted +0 -128
128 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch +5 -5
@@ -1,4 +1,4 @@ -From 368eaf1846733a9920c7cf5bc547a377e7167785 Mon Sep 17 00:00:00 2001 +From 78a6b23fc4a70d8455601186529cc0e9dae8749d Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Fri, 29 Mar 2013 08:37:11 +0400 Subject: [PATCH] gcc-4.3.1: ARCH_FLAGS_FOR_TARGET
@@ -12,10 +12,10 @@ Upstream-Status: Inappropriate [embedded specific] 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure -index 504f6410274..bcebad264ec 100755 +index 5dcaab14ae9..f76310a36bb 100755 --- a/configure +++ b/configure -@@ -9728,7 +9728,7 @@ fi +@@ -10165,7 +10165,7 @@ fi # for target_alias and gcc doesn't manage it consistently. target_configargs="--cache-file=./config.cache ${target_configargs}"
@@ -25,10 +25,10 @@ index 504f6410274..bcebad264ec 100755 *" newlib "*) case " $target_configargs " in diff --git a/configure.ac b/configure.ac -index 088e735c5db..1289fe08760 100644 +index 85977482aee..8b9097c7a45 100644 --- a/configure.ac +++ b/configure.ac -@@ -3240,7 +3240,7 @@ fi +@@ -3346,7 +3346,7 @@ fi # for target_alias and gcc doesn't manage it consistently. target_configargs="--cache-file=./config.cache ${target_configargs}"
meta/recipes-devtools/gcc/gcc/0002-CVE-2021-35465.patch deleted +0 -39
@@ -1,39 +0,0 @@ -From 574e7950bd6b34e9e2cacce18c802b45505d1d0a Mon Sep 17 00:00:00 2001 -From: Richard Earnshaw <[email protected]> -Date: Fri, 18 Jun 2021 17:16:25 +0100 -Subject: [PATCH] arm: add erratum mitigation to __gnu_cmse_nonsecure_call - [PR102035] - -Add the recommended erratum mitigation sequence to -__gnu_cmse_nonsecure_call for use on Armv8-m.main devices. Since this -is in the library code we cannot know in advance whether the core we -are running on will be affected by this, so always enable it. - -libgcc: - PR target/102035 - * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call): - Add vlldm erratum work-around. - -CVE: CVE-2021-35465 -Upstream-Status: Backport [https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=574e7950bd6b34e9e2cacce18c802b45505d1d0a] -Signed-off-by: Pgowda <[email protected]> - ---- - libgcc/config/arm/cmse_nonsecure_call.S | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/libgcc/config/arm/cmse_nonsecure_call.S b/libgcc/config/arm/cmse_nonsecure_call.S ---- a/libgcc/config/arm/cmse_nonsecure_call.S -+++ b/libgcc/config/arm/cmse_nonsecure_call.S -@@ -102,6 +102,11 @@ blxns r4 - #ifdef __ARM_PCS_VFP - vpop.f64 {d8-d15} - #else -+/* VLLDM erratum mitigation sequence. */ -+mrs r5, control -+tst r5, #8 /* CONTROL_S.SFPA */ -+it ne -+.inst.w 0xeeb00a40 /* vmovne s0, s0 */ - vlldm sp /* Lazy restore of d0-d16 and FPSCR. */ - add sp, sp, #0x88 /* Free space used to save floating point registers. */ - #endif /* __ARM_PCS_VFP */
meta/recipes-devtools/gcc/gcc/0002-CVE-2021-42574.patch deleted +0 -1765
136 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc/0002-gcc-poison-system-directories.patch +27 -27
54 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc/0003-64-bit-multilib-hack.patch renamed from meta/recipes-devtools/gcc/gcc/0004-64-bit-multilib-hack.patch +8 -7
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc/0003-CVE-2021-35465.patch deleted +0 -103
103 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc/0003-CVE-2021-42574.patch deleted +0 -142
142 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc/0004-CVE-2021-35465.patch deleted +0 -304
304 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc/0004-CVE-2021-42574.patch deleted +0 -573
573 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc/0004-Pass-CXXFLAGS_FOR_BUILD-in-a-couple-of-places-to-avo.patch renamed from meta/recipes-devtools/gcc/gcc/0006-If-CXXFLAGS-contains-something-unsupported-by-the-bu.patch +21 -20
41 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc/0005-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch renamed from meta/recipes-devtools/gcc/gcc/0007-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch +8 -8
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc/0006-cpp-honor-sysroot.patch new file +53 -0
53 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc/0007-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch renamed from meta/recipes-devtools/gcc/gcc/0011-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch +59 -44
103 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc/0008-libtool.patch renamed from meta/recipes-devtools/gcc/gcc/0014-libtool.patch +1 -1
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc/0009-cpp-honor-sysroot.patch deleted +0 -59
59 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc/0009-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch renamed from meta/recipes-devtools/gcc/gcc/0015-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch +2 -2
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc/0010-Use-the-multilib-config-files-from-B-instead-of-usin.patch renamed from meta/recipes-devtools/gcc/gcc/0016-Use-the-multilib-config-files-from-B-instead-of-usin.patch +7 -7
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc/0011-Avoid-using-libdir-from-.la-which-usually-points-to-.patch renamed from meta/recipes-devtools/gcc/gcc/0017-Avoid-using-libdir-from-.la-which-usually-points-to-.patch +1 -1
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc/0012-export-CPP.patch new file +50 -0
50 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc/0012-gcc-Fix-argument-list-too-long-error.patch deleted +0 -38
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc/0013-Ensure-target-gcc-headers-can-be-included.patch renamed from meta/recipes-devtools/gcc/gcc/0019-Ensure-target-gcc-headers-can-be-included.patch +15 -15
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc/0014-Don-t-search-host-directory-during-relink-if-inst_pr.patch renamed from meta/recipes-devtools/gcc/gcc/0020-Don-t-search-host-directory-during-relink-if-inst_pr.patch +1 -1
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc/0015-libcc1-fix-libcc1-s-install-path-and-rpath.patch renamed from meta/recipes-devtools/gcc/gcc/0023-libcc1-fix-libcc1-s-install-path-and-rpath.patch +4 -4
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc/0016-handle-sysroot-support-for-nativesdk-gcc.patch renamed from meta/recipes-devtools/gcc/gcc/0024-handle-sysroot-support-for-nativesdk-gcc.patch +44 -44
88 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc/0017-Search-target-sysroot-gcc-version-specific-dirs-with.patch renamed from meta/recipes-devtools/gcc/gcc/0025-Search-target-sysroot-gcc-version-specific-dirs-with.patch +8 -8
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc/0018-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch renamed from meta/recipes-devtools/gcc/gcc/0028-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch +10 -4
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc/0018-export-CPP.patch deleted +0 -199
199 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc/0019-Re-introduce-spe-commandline-options.patch renamed from meta/recipes-devtools/gcc/gcc/0033-Re-introduce-spe-commandline-options.patch +3 -3
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc/0020-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch renamed from meta/recipes-devtools/gcc/gcc/0034-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch +14 -14
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc/0021-gentypes-genmodes-Do-not-use-__LINE__-for-maintainin.patch renamed from meta/recipes-devtools/gcc/gcc/0035-gentypes-genmodes-Do-not-use-__LINE__-for-maintainin.patch +36 -36
72 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc/0022-mingw32-Enable-operation_not_supported.patch renamed from meta/recipes-devtools/gcc/gcc/0036-mingw32-Enable-operation_not_supported.patch +2 -2
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc/0023-libatomic-Do-not-enforce-march-on-aarch64.patch renamed from meta/recipes-devtools/gcc/gcc/0037-libatomic-Do-not-enforce-march-on-aarch64.patch +5 -5
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc/0024-Fix-install-path-of-linux64.h.patch renamed from meta/recipes-devtools/gcc/gcc/0001-Fix-install-path-of-linux64.h.patch +4 -6
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc/0025-Move-sched.h-include-ahead-of-user-headers.patch new file +56 -0
56 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc/0027-nios2-Define-MUSL_DYNAMIC_LINKER.patch deleted +0 -31
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc/0029-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch deleted +0 -26
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc/0030-sync-gcc-stddef.h-with-musl.patch deleted +0 -88
88 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc/0041-apply-debug-prefix-maps-before-checksumming-DIEs.patch deleted +0 -95
95 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc/0042-Fix-thread-stack-size-init.patch deleted +0 -23
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc_12.0.bb renamed from meta/recipes-devtools/gcc/gcc_11.2.bb +0 -0
meta/recipes-devtools/gcc/libgcc-initial_12.0.bb renamed from meta/recipes-devtools/gcc/libgcc-initial_11.2.bb +0 -0
meta/recipes-devtools/gcc/libgcc_12.0.bb renamed from meta/recipes-devtools/gcc/libgcc_11.2.bb +0 -0
meta/recipes-devtools/gcc/libgfortran_12.0.bb renamed from meta/recipes-devtools/gcc/libgfortran_11.2.bb +0 -0
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.35.3
Part of the diff is not shown here. View the raw message.
Quoted 7 lines · Khem Raj
From: Bernhard Rosenkränzer <[email protected]>
- gcc 12 is in RC stages.
- Add patch to re-shuffle include ofsched.hto fix build on muslSigned-off-by Bernhard Rosenkränzer <[email protected]>Signed-off-by Khem Raj <[email protected]>
Quoted 7 lines
---
v3
- Switch to own snapshot for quick turnarounds than waiting for a weekly snapshot
- Add a fix for gcc target build on musl
- Fixed gcc for kernel build failures on arm/x86_64
- Fixed gcc for ccache build failure
I ran this through the autobuilder as requested as it means we have a chance to get things fixed upstream before gcc 12 is released:
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/3535
We see failures in:
edgerouter/edgerouter-alt in linux-yocto 5.15/5.10:
https://autobuilder.yoctoproject.org/typhoon/#/builders/62/builds/5078
https://autobuilder.yoctoproject.org/typhoon/#/builders/111/builds/2965
meta-arm in linux-yocto 5.15:
https://autobuilder.yoctoproject.org/typhoon/#/builders/113/builds/2307
meta-intel in intel-media-driver:
https://autobuilder.yoctoproject.org/typhoon/#/builders/100/builds/2770
qemuppc/qemuppc-alt in linux-yocto 5.15/5.10:
https://autobuilder.yoctoproject.org/typhoon/#/builders/63/builds/5033
https://autobuilder.yoctoproject.org/typhoon/#/builders/107/builds/2916
Four oe-selftest failures due to missing maintainer entries (easy fix)
A weird oe-selftest prservice.BitbakePrTests.test_import_export_override_db:
https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/3409/steps/14/logs/stdio
The latter is one of our infamous intermittent issues and likely not gcc 12 """
Parsing recipes...ERROR: ParseError in None: Not all recipes parsed, parser thread killed/died? Exiting.
ERROR: Parsing halted due to errors, see error messages above """
So basically you have the intel-media-driver failure in meta-intel and a number of kernel issues. I've cc'd a few of the maintainers just so they're aware of the status, I appreciate we'd wait for the mainline kernel to resolve things.
Cheers,
Richard
Quoted 20 lines · Richard Purdie
Quoted 7 lines · Khem Raj
From: Bernhard Rosenkränzer <[email protected]>
- gcc 12 is in RC stages.
- Add patch to re-shuffle include ofsched.hto fix build on muslSigned-off-by Bernhard Rosenkränzer <[email protected]>Signed-off-by Khem Raj <[email protected]>Quoted 7 lines
---
v3
- Switch to own snapshot for quick turnarounds than waiting for a weekly snapshot
- Add a fix for gcc target build on musl
- Fixed gcc for kernel build failures on arm/x86_64
- Fixed gcc for ccache build failureI ran this through the autobuilder as requested as it means we have a chance to get things fixed upstream before gcc 12 is released:
Quoted 8 lines
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/3535
We see failures in:
edgerouter/edgerouter-alt in linux-yocto 5.15/5.10:
https://autobuilder.yoctoproject.org/typhoon/#/builders/62/builds/5078
https://autobuilder.yoctoproject.org/typhoon/#/builders/111/builds/2965
these are fixed with
https://github.com/torvalds/linux/commit/a431dbbc540532b7465eae4fc8b56a85a9fc7d17
and I see its already backported to 5.15 branch. so whenever Bruce bumps to latest tip of linux-5.15 we should be
getting this fixed.
Quoted 3 lines
meta-arm in linux-yocto 5.15:
https://autobuilder.yoctoproject.org/typhoon/#/builders/113/builds/2307
this can be addressed by disabling -Werror=stringop-overread but perhaps better to change code to fix it.
Quoted 3 lines
meta-intel in intel-media-driver:
https://autobuilder.yoctoproject.org/typhoon/#/builders/100/builds/2770
error: the address of '_CODEC_VP8_PIC_PARAMS::ucMvUpdateProb' will
never be NULL [-Werror=address]
| 238 | if (codecPicParams->ucMvUpdateProb[0] && picParam->mv_probs[0])
perhaps fixable by not checking the redundant
Quoted 4 lines
qemuppc/qemuppc-alt in linux-yocto 5.15/5.10:
https://autobuilder.yoctoproject.org/typhoon/#/builders/63/builds/5033
https://autobuilder.yoctoproject.org/typhoon/#/builders/107/builds/2916
include/linux/printk.h:450:44: error: using a dangling pointer to '__str' [-Werror=dangling-pointer=]
this needs fixing too. I see it on ppc64 as well.
Quoted 1 line
Four oe-selftest failures due to missing maintainer entries (easy fix)
I will add it in v4.
Quoted 23 lines
A weird oe-selftest prservice.BitbakePrTests.test_import_export_override_db:
https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/3409/steps/14/logs/stdioThe latter is one of our infamous intermittent issues and likely not gcc 12 """
Parsing recipes...ERROR: ParseError in None: Not all recipes parsed, parser thread killed/died? Exiting.
ERROR: Parsing halted due to errors, see error messages above """So basically you have the intel-media-driver failure in meta-intel and a number of kernel issues. I've cc'd a few of the maintainers just so they're aware of the status, I appreciate we'd wait for the mainline kernel to resolve things.
Cheers,
Richard
Quoted 45 lines · Khem Raj
Quoted 20 lines · Richard Purdie
Quoted 7 lines · Khem Raj
From: Bernhard Rosenkränzer <[email protected]>
- gcc 12 is in RC stages.
- Add patch to re-shuffle include ofsched.hto fix build on muslSigned-off-by Bernhard Rosenkränzer <[email protected]>Signed-off-by Khem Raj <[email protected]>Quoted 7 lines
---
v3
- Switch to own snapshot for quick turnarounds than waiting for a weekly snapshot
- Add a fix for gcc target build on musl
- Fixed gcc for kernel build failures on arm/x86_64
- Fixed gcc for ccache build failureI ran this through the autobuilder as requested as it means we have a chance to get things fixed upstream before gcc 12 is released:
Quoted 8 lines
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/3535
We see failures in:
edgerouter/edgerouter-alt in linux-yocto 5.15/5.10:
https://autobuilder.yoctoproject.org/typhoon/#/builders/62/builds/5078
https://autobuilder.yoctoproject.org/typhoon/#/builders/111/builds/2965these are fixed with
https://github.com/torvalds/linux/commit/a431dbbc540532b7465eae4fc8b56a85a9fc7d17
and I see its already backported to 5.15 branch. so whenever Bruce bumps to latest tip of linux-5.15 we should be
getting this fixed.Quoted 3 lines
meta-arm in linux-yocto 5.15:
https://autobuilder.yoctoproject.org/typhoon/#/builders/113/builds/2307this can be addressed by disabling -Werror=stringop-overread but perhaps better to change code to fix it.
Quoted 8 lines
Quoted 3 lines
meta-intel in intel-media-driver:
https://autobuilder.yoctoproject.org/typhoon/#/builders/100/builds/2770error: the address of '
_CODEC_VP8_PIC_PARAMS::ucMvUpdateProb' will
never be NULL [-Werror=address]
| 238 | if (codecPicParams->ucMvUpdateProb[0] && picParam->mv_probs[0])
this has been fixed upstream
https://github.com/intel/media-driver/commit/c8457540aed1ab9424661087276fb788c0e3aabb
which should be in intel-media-22.4.0 release we are on 22.01 in master. So perhaps a bump in this
recipe will fix it.
Quoted 10 lines
perhaps fixable by not checking the redundant
Quoted 4 lines
qemuppc/qemuppc-alt in linux-yocto 5.15/5.10:
https://autobuilder.yoctoproject.org/typhoon/#/builders/63/builds/5033
https://autobuilder.yoctoproject.org/typhoon/#/builders/107/builds/2916
include/linux/printk.h:450:44: error: using a dangling pointer to '__str' [-Werror=dangling-pointer=]
this needs fixing too. I see it on ppc64 as well.
this needs to be fixed in ppc arch specific code in kernel. Meanwhile I have enabled
CONFIG_PPC_DISABLE_WERROR=y
in config and it now can build the kernel
Quoted 27 lines
Quoted 1 line
Four oe-selftest failures due to missing maintainer entries (easy fix)
I will add it in v4.
Quoted 23 lines
A weird oe-selftest prservice.BitbakePrTests.test_import_export_override_db:
https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/3409/steps/14/logs/stdioThe latter is one of our infamous intermittent issues and likely not gcc 12 """
Parsing recipes...ERROR: ParseError in None: Not all recipes parsed, parser thread killed/died? Exiting.
ERROR: Parsing halted due to errors, see error messages above """So basically you have the intel-media-driver failure in meta-intel and a number of kernel issues. I've cc'd a few of the maintainers just so they're aware of the status, I appreciate we'd wait for the mainline kernel to resolve things.
Cheers,
Richard
Quoted 61 lines · Khem Raj
Quoted 50 lines · Khem Raj
Quoted 25 lines · Richard Purdie
Quoted 10 lines · Khem Raj
From: Bernhard Rosenkränzer
<[email protected]>- gcc 12 is in RC stages.
- Add patch to re-shuffle include ofsched.hto fix build on muslSigned-off-by: Bernhard Rosenkränzer
<[email protected]>Signed-off-by Khem Raj <[email protected]>Quoted 8 lines
---
v3
- Switch to own snapshot for quick turnarounds than waiting for a
weekly snapshot
- Add a fix for gcc target build on musl
- Fixed gcc for kernel build failures on arm/x86_64
- Fixed gcc for ccache build failureI ran this through the autobuilder as requested as it means we have a chance to
get things fixed upstream before gcc 12 is released:Quoted 8 lines
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/3535
We see failures in:
edgerouter/edgerouter-alt in linux-yocto 5.15/5.10:
https://autobuilder.yoctoproject.org/typhoon/#/builders/62/builds/5078
https://autobuilder.yoctoproject.org/typhoon/#/builders/111/builds/2965these are fixed with
https://github.com/torvalds/linux/commit/a431dbbc540532b7465eae4fc8b56a85a9fc7d17
and I see its already backported to 5.15 branch. so whenever Bruce bumps to latest tip of linux-5.15 we should be
getting this fixed.Quoted 3 lines
meta-arm in linux-yocto 5.15:
https://autobuilder.yoctoproject.org/typhoon/#/builders/113/builds/2307this can be addressed by disabling -Werror=stringop-overread but perhaps better to change code to fix it.
Quoted 9 lines
Quoted 3 lines
meta-intel in intel-media-driver:
https://autobuilder.yoctoproject.org/typhoon/#/builders/100/builds/2770error: the address of '
_CODEC_VP8_PIC_PARAMS::ucMvUpdateProb' will never be NULL [-Werror=address]Quoted 2 lines
238 | if (codecPicParams->ucMvUpdateProb[0] && picParam-
Quoted 1 line
mv_probs[0])
Quoted 6 lines
this has been fixed upstream
https://github.com/intel/media-driver/commit/c8457540aed1ab9424661087276fb788c0e3aabbwhich should be in intel-media-22.4.0 release we are on 22.01 in master. So perhaps a bump in this
recipe will fix it.
I had backported the patch to fix this in meta-intel yesterday so we shouldn't be getting this now.
Thanks,
Anuj
Quoted 22 lines · Richard Purdie
Quoted 7 lines · Khem Raj
From: Bernhard Rosenkränzer <[email protected]>
- gcc 12 is in RC stages.
- Add patch to re-shuffle include ofsched.hto fix build on muslSigned-off-by Bernhard Rosenkränzer <[email protected]>Signed-off-by Khem Raj <[email protected]>Quoted 7 lines
---
v3
- Switch to own snapshot for quick turnarounds than waiting for a weekly snapshot
- Add a fix for gcc target build on musl
- Fixed gcc for kernel build failures on arm/x86_64
- Fixed gcc for ccache build failureI ran this through the autobuilder as requested as it means we have a chance to get things fixed upstream before gcc 12 is released:
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/3535
Quoted 9 lines
We see failures in:
edgerouter/edgerouter-alt in linux-yocto 5.15/5.10:
https://autobuilder.yoctoproject.org/typhoon/#/builders/62/builds/5078
https://autobuilder.yoctoproject.org/typhoon/#/builders/111/builds/2965meta-arm in linux-yocto 5.15:
https://autobuilder.yoctoproject.org/typhoon/#/builders/113/builds/2307
this is fixable with couple of backports which I have sent a request for 5.15 upstream
https://lore.kernel.org/stable/[email protected]/T/#u
Quoted 31 lines
meta-intel in intel-media-driver:
https://autobuilder.yoctoproject.org/typhoon/#/builders/100/builds/2770qemuppc/qemuppc-alt in linux-yocto 5.15/5.10:
https://autobuilder.yoctoproject.org/typhoon/#/builders/63/builds/5033
https://autobuilder.yoctoproject.org/typhoon/#/builders/107/builds/2916Four oe-selftest failures due to missing maintainer entries (easy fix)
A weird oe-selftest prservice.BitbakePrTests.test_import_export_override_db:
https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/3409/steps/14/logs/stdioThe latter is one of our infamous intermittent issues and likely not gcc 12 """
Parsing recipes...ERROR: ParseError in None: Not all recipes parsed, parser thread killed/died? Exiting.
ERROR: Parsing halted due to errors, see error messages above """So basically you have the intel-media-driver failure in meta-intel and a number of kernel issues. I've cc'd a few of the maintainers just so they're aware of the status, I appreciate we'd wait for the mainline kernel to resolve things.
Cheers,
Richard