gcc: Upgrade to 12.2.0
PATCH 1/1 gcc: Upgrade to 12.2.0
GCC 12.2 is the first bug-fix release from the GCC 12 branch containing important fixes for regressions and serious bugs in GCC 12.1 with more than 71 bugs fixed since the previous release comprising of a number of libstdc++ and C++ and fortran fixes [1]
Remove backported patch to fix libsanitizers with glibc 2.36, its already present in 12.2
[1] https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=12.2
---
meta/conf/distro/include/maintainers.inc | 2 +-
.../gcc/{gcc-12.1.inc => gcc-12.2.inc} | 7 ++-
...ian_12.1.bb => gcc-cross-canadian_12.2.bb} | 0
.../{gcc-cross_12.1.bb => gcc-cross_12.2.bb} | 0
...-crosssdk_12.1.bb => gcc-crosssdk_12.2.bb} | 0
...cc-runtime_12.1.bb => gcc-runtime_12.2.bb} | 0
...itizers_12.1.bb => gcc-sanitizers_12.2.bb} | 0
...{gcc-source_12.1.bb => gcc-source_12.2.bb} | 0
...rry-pick-9cf13067cb5088626ba7-from-u.patch | 45 -------------------
.../gcc/{gcc_12.1.bb => gcc_12.2.bb} | 0
...initial_12.1.bb => libgcc-initial_12.2.bb} | 0
.../gcc/{libgcc_12.1.bb => libgcc_12.2.bb} | 0
...ibgfortran_12.1.bb => libgfortran_12.2.bb} | 0
13 files changed, 4 insertions(+), 50 deletions(-)
rename meta/recipes-devtools/gcc/{gcc-12.1.inc => gcc-12.2.inc} (95%)
rename meta/recipes-devtools/gcc/{gcc-cross-canadian_12.1.bb => gcc-cross-canadian_12.2.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc-cross_12.1.bb => gcc-cross_12.2.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc-crosssdk_12.1.bb => gcc-crosssdk_12.2.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc-runtime_12.1.bb => gcc-runtime_12.2.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc-sanitizers_12.1.bb => gcc-sanitizers_12.2.bb} (100%)
rename meta/recipes-devtools/gcc/{gcc-source_12.1.bb => gcc-source_12.2.bb} (100%)
delete mode 100644 meta/recipes-devtools/gcc/gcc/0001-libsanitizer-cherry-pick-9cf13067cb5088626ba7-from-u.patch
rename meta/recipes-devtools/gcc/{gcc_12.1.bb => gcc_12.2.bb} (100%)
rename meta/recipes-devtools/gcc/{libgcc-initial_12.1.bb => libgcc-initial_12.2.bb} (100%)
rename meta/recipes-devtools/gcc/{libgcc_12.1.bb => libgcc_12.2.bb} (100%)
rename meta/recipes-devtools/gcc/{libgfortran_12.1.bb => libgfortran_12.2.bb} (100%)meta/conf/distro/include/maintainers.inc +1 -1
@@ -188,7 +188,7 @@ RECIPE_MAINTAINER:pn-gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} = "Khem Raj <r RECIPE_MAINTAINER:pn-gcc-crosssdk-${SDK_SYS} = "Khem Raj <[email protected]>" RECIPE_MAINTAINER:pn-gcc-runtime = "Khem Raj <[email protected]>" RECIPE_MAINTAINER:pn-gcc-sanitizers = "Khem Raj <[email protected]>" -RECIPE_MAINTAINER:pn-gcc-source-12.1.0 = "Khem Raj <[email protected]>" +RECIPE_MAINTAINER:pn-gcc-source-12.2.0 = "Khem Raj <[email protected]>" RECIPE_MAINTAINER:pn-gconf = "Ross Burton <[email protected]>" RECIPE_MAINTAINER:pn-gcr = "Alexander Kanavin <[email protected]>" RECIPE_MAINTAINER:pn-gdb = "Khem Raj <[email protected]>"
meta/recipes-devtools/gcc/gcc-12.2.inc renamed from meta/recipes-devtools/gcc/gcc-12.1.inc +3 -4
@@ -2,11 +2,11 @@ require gcc-common.inc # Third digit in PV should be incremented after a minor release -PV = "12.1.0" +PV = "12.2.0" # BINV should be incremented to a revision after a minor gcc release -BINV = "12.1.0" +BINV = "12.2.0" FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc:${FILE_DIRNAME}/gcc/backport:"
@@ -64,11 +64,10 @@ SRC_URI = "${BASEURI} \ file://0024-Fix-install-path-of-linux64.h.patch \ file://0025-Move-sched.h-include-ahead-of-user-headers.patch \ file://0026-rust-recursion-limit.patch \ - file://0001-libsanitizer-cherry-pick-9cf13067cb5088626ba7-from-u.patch \ file://prefix-map-realpath.patch \ file://hardcoded-paths.patch \ " -SRC_URI[sha256sum] = "62fd634889f31c02b64af2c468f064b47ad1ca78411c45abe6ac4b5f8dd19c7b" +SRC_URI[sha256sum] = "e549cf9cf3594a00e27b6589d4322d70e0720cdd213f39beb4181e06926230ff" S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/${SOURCEDIR}" B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}"
meta/recipes-devtools/gcc/gcc-cross-canadian_12.2.bb renamed from meta/recipes-devtools/gcc/gcc-cross-canadian_12.1.bb +0 -0
meta/recipes-devtools/gcc/gcc-cross_12.2.bb renamed from meta/recipes-devtools/gcc/gcc-cross_12.1.bb +0 -0
meta/recipes-devtools/gcc/gcc-crosssdk_12.2.bb renamed from meta/recipes-devtools/gcc/gcc-crosssdk_12.1.bb +0 -0
meta/recipes-devtools/gcc/gcc-runtime_12.2.bb renamed from meta/recipes-devtools/gcc/gcc-runtime_12.1.bb +0 -0
meta/recipes-devtools/gcc/gcc-sanitizers_12.2.bb renamed from meta/recipes-devtools/gcc/gcc-sanitizers_12.1.bb +0 -0
meta/recipes-devtools/gcc/gcc-source_12.2.bb renamed from meta/recipes-devtools/gcc/gcc-source_12.1.bb +0 -0
meta/recipes-devtools/gcc/gcc/0001-libsanitizer-cherry-pick-9cf13067cb5088626ba7-from-u.patch deleted +0 -45
45 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc_12.2.bb renamed from meta/recipes-devtools/gcc/gcc_12.1.bb +0 -0
meta/recipes-devtools/gcc/libgcc-initial_12.2.bb renamed from meta/recipes-devtools/gcc/libgcc-initial_12.1.bb +0 -0
meta/recipes-devtools/gcc/libgcc_12.2.bb renamed from meta/recipes-devtools/gcc/libgcc_12.1.bb +0 -0
meta/recipes-devtools/gcc/libgfortran_12.2.bb renamed from meta/recipes-devtools/gcc/libgfortran_12.1.bb +0 -0
Signature · 1 line
2.37.2
Hi Khem,
Quoted 11 lines · On Sat, 20 Aug 2022 09:39:03 -0700 "Khem Raj" <[email protected]> wrote:
GCC 12.2 is the first bug-fix release from the GCC 12 branch containing important fixes for regressions and serious bugs in GCC 12.1 with more than 71 bugs fixed since the previous release comprising of a number of libstdc++ and C++ and fortran fixes [1]
Remove backported patch to fix libsanitizers with glibc 2.36, its already present in 12.2
[1] https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=12.2
Signed-off-by Khem Raj <[email protected]>
Building with this patch I had a ccache compile failure on musl builds:
error: 'time_t' has not been declared
error: no declaration matches 'std::string core::Statistics::format_human_readable(const Config&, time_t, uint8_t, bool) const'
https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/5735/steps/11/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/45/builds/5752/steps/11/logs/stdio
They disappeared after removing this patch and rebuilding.
Signature · 3 lines
Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
thanks Luca
I will take a look today
Quoted 32 lines · Luca Ceresoli
Hi Khem,
Quoted 11 lines · On Sat, 20 Aug 2022 09:39:03 -0700 "Khem Raj" <[email protected]> wrote:
GCC 12.2 is the first bug-fix release from the GCC 12 branch containing important fixes for regressions and serious bugs in GCC 12.1 with more than 71 bugs fixed since the previous release comprising of a number of libstdc++ and C++ and fortran fixes [1]
Remove backported patch to fix libsanitizers with glibc 2.36, its already present in 12.2
[1] https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=12.2
Signed-off-by Khem Raj <[email protected]>Building with this patch I had a ccache compile failure on musl builds:
error: '
time_t' has not been declared
error: no declaration matches 'std::stringcore::Statistics::format_human_readable(const Config&, time_t, uint8_t, bool)const'https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/5735/steps/11/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/45/builds/5752/steps/11/logs/stdioThey disappeared after removing this patch and rebuilding.
--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com