Skip to contentSkip to conversation

gcc: upgrade 11.3 -> 12.1

PATCH In review Khem Raj 2 participants 4 messages May 8, 2022 – May 10, 2022

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 gcc: upgrade 11.3 -> 12.1

Major gcc release with lot of changes [2]

- Add patch to re-shuffle include of sched.h to fix build on musl
- porting guide to gcc 12 [1]
- Fix version in maintainers entry

[1] https://gcc.gnu.org/gcc-12/porting_to.html
[2] https://gcc.gnu.org/gcc-12/changes.html

---
 meta/conf/distro/include/maintainers.inc      |    2 +-
 meta/conf/distro/include/tcmode-default.inc   |    2 +-
 .../gcc/{gcc-11.3.inc => gcc-12.1.inc}        |   83 +-
 ...ian_11.3.bb => gcc-cross-canadian_12.1.bb} |    0
 .../{gcc-cross_11.3.bb => gcc-cross_12.1.bb}  |    0
 ...-crosssdk_11.3.bb => gcc-crosssdk_12.1.bb} |    0
 meta/recipes-devtools/gcc/gcc-runtime.inc     |    2 +-
 ...cc-runtime_11.3.bb => gcc-runtime_12.1.bb} |    0
 ...itizers_11.3.bb => gcc-sanitizers_12.1.bb} |    0
 ...{gcc-source_11.3.bb => gcc-source_12.1.bb} |    0
 .../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-42574.patch         | 1765 -------------
 .../0002-gcc-poison-system-directories.patch  |   52 +-
 .../gcc/gcc/0003-64-bit-multilib-hack.patch   |   15 +-
 .../gcc/gcc/0003-CVE-2021-42574.patch         |  142 -
 .../gcc/gcc/0004-CVE-2021-42574.patch         |  573 -----
 ..._BUILD-in-a-couple-of-places-to-avo.patch} |   12 +-
 ...s.h-in-B-instead-of-S-and-t-oe-in-B.patch} |   16 +-
 ...oot.patch => 0006-cpp-honor-sysroot.patch} |   18 +-
 ...MIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch} |  201 +-
 ...gcc-Fix-argument-list-too-long-error.patch |   42 -
 .../gcc/gcc/0008-libtool.patch                |    2 +-
 ...s-fix-v4bx-to-linker-to-support-EABI.patch |    6 +-
 ...-config-files-from-B-instead-of-usin.patch |   14 +-
 ...ir-from-.la-which-usually-points-to-.patch |    2 +-
 .../gcc/gcc/0012-export-CPP.patch             |   50 +
 ...-target-gcc-headers-can-be-included.patch} |   30 +-
 ...-directory-during-relink-if-inst_pr.patch} |    2 +-
 ...re-build-CPP-CPPFLAGS-is-used-for-bu.patch |  204 --
 ...fix-libcc1-s-install-path-and-rpath.patch} |   10 +-
 ...e-sysroot-support-for-nativesdk-gcc.patch} |   88 +-
 ...root-gcc-version-specific-dirs-with.patch} |   16 +-
 ...-to-link-commandline-for-musl-targe.patch} |   14 +-
 ...e-introduce-spe-commandline-options.patch} |    6 +-
 ...019-nios2-Define-MUSL_DYNAMIC_LINKER.patch |   25 -
 ...s-for-__cpu_indicator_init-instead-.patch} |   28 +-
 ...using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch |   26 -
 ...-Do-not-use-__LINE__-for-maintainin.patch} |   72 +-
 ...gw32-Enable-operation_not_supported.patch} |    4 +-
 .../0022-sync-gcc-stddef.h-with-musl.patch    |   88 -
 ...mic-Do-not-enforce-march-on-aarch64.patch} |    4 +-
 ... 0024-Fix-install-path-of-linux64.h.patch} |    6 +-
 ...ched.h-include-ahead-of-user-headers.patch |   56 +
 ...ly-debug-prefix-maps-before-checksum.patch |  101 -
 .../gcc/{gcc_11.3.bb => gcc_12.1.bb}          |    0
 ...initial_11.3.bb => libgcc-initial_12.1.bb} |    0
 .../gcc/{libgcc_11.3.bb => libgcc_12.1.bb}    |    0
 ...ibgfortran_11.3.bb => libgfortran_12.1.bb} |    0
 50 files changed, 534 insertions(+), 5665 deletions(-)
 rename meta/recipes-devtools/gcc/{gcc-11.3.inc => gcc-12.1.inc} (51%)
 rename meta/recipes-devtools/gcc/{gcc-cross-canadian_11.3.bb => gcc-cross-canadian_12.1.bb} (100%)
 rename meta/recipes-devtools/gcc/{gcc-cross_11.3.bb => gcc-cross_12.1.bb} (100%)
 rename meta/recipes-devtools/gcc/{gcc-crosssdk_11.3.bb => gcc-crosssdk_12.1.bb} (100%)
 rename meta/recipes-devtools/gcc/{gcc-runtime_11.3.bb => gcc-runtime_12.1.bb} (100%)
 rename meta/recipes-devtools/gcc/{gcc-sanitizers_11.3.bb => gcc-sanitizers_12.1.bb} (100%)
 rename meta/recipes-devtools/gcc/{gcc-source_11.3.bb => gcc-source_12.1.bb} (100%)
 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-42574.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-42574.patch
 rename meta/recipes-devtools/gcc/gcc/{0016-If-CXXFLAGS-contains-something-unsupported-by-the-bu.patch => 0004-Pass-CXXFLAGS_FOR_BUILD-in-a-couple-of-places-to-avo.patch} (85%)
 rename meta/recipes-devtools/gcc/gcc/{0004-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%)
 rename meta/recipes-devtools/gcc/gcc/{0005-cpp-honor-sysroot.patch => 0006-cpp-honor-sysroot.patch} (82%)
 rename meta/recipes-devtools/gcc/gcc/{0006-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch => 0007-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch} (58%)
 delete mode 100644 meta/recipes-devtools/gcc/gcc/0007-gcc-Fix-argument-list-too-long-error.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc/0012-export-CPP.patch
 rename meta/recipes-devtools/gcc/gcc/{0012-Ensure-target-gcc-headers-can-be-included.patch => 0013-Ensure-target-gcc-headers-can-be-included.patch} (85%)
 rename meta/recipes-devtools/gcc/gcc/{0013-Don-t-search-host-directory-during-relink-if-inst_pr.patch => 0014-Don-t-search-host-directory-during-relink-if-inst_pr.patch} (93%)
 delete mode 100644 meta/recipes-devtools/gcc/gcc/0015-Makefile.in-Ensure-build-CPP-CPPFLAGS-is-used-for-bu.patch
 rename meta/recipes-devtools/gcc/gcc/{0014-libcc1-fix-libcc1-s-install-path-and-rpath.patch => 0015-libcc1-fix-libcc1-s-install-path-and-rpath.patch} (87%)
 rename meta/recipes-devtools/gcc/gcc/{0017-handle-sysroot-support-for-nativesdk-gcc.patch => 0016-handle-sysroot-support-for-nativesdk-gcc.patch} (90%)
 rename meta/recipes-devtools/gcc/gcc/{0018-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/{0020-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch => 0018-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch} (89%)
 rename meta/recipes-devtools/gcc/gcc/{0023-Re-introduce-spe-commandline-options.patch => 0019-Re-introduce-spe-commandline-options.patch} (87%)
 delete mode 100644 meta/recipes-devtools/gcc/gcc/0019-nios2-Define-MUSL_DYNAMIC_LINKER.patch
 rename meta/recipes-devtools/gcc/gcc/{0024-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch => 0020-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch} (76%)
 delete mode 100644 meta/recipes-devtools/gcc/gcc/0021-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch
 rename meta/recipes-devtools/gcc/gcc/{0025-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/{0026-mingw32-Enable-operation_not_supported.patch => 0022-mingw32-Enable-operation_not_supported.patch} (89%)
 delete mode 100644 meta/recipes-devtools/gcc/gcc/0022-sync-gcc-stddef.h-with-musl.patch
 rename meta/recipes-devtools/gcc/gcc/{0027-libatomic-Do-not-enforce-march-on-aarch64.patch => 0023-libatomic-Do-not-enforce-march-on-aarch64.patch} (94%)
 rename meta/recipes-devtools/gcc/gcc/{0029-Fix-install-path-of-linux64.h.patch => 0024-Fix-install-path-of-linux64.h.patch} (85%)
 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/0028-debug-101473-apply-debug-prefix-maps-before-checksum.patch
 rename meta/recipes-devtools/gcc/{gcc_11.3.bb => gcc_12.1.bb} (100%)
 rename meta/recipes-devtools/gcc/{libgcc-initial_11.3.bb => libgcc-initial_12.1.bb} (100%)
 rename meta/recipes-devtools/gcc/{libgcc_11.3.bb => libgcc_12.1.bb} (100%)
 rename meta/recipes-devtools/gcc/{libgfortran_11.3.bb => libgfortran_12.1.bb} (100%)
meta/conf/distro/include/maintainers.inc +1 -1
index d518bdd2adc..eaa8fed9b14 100644
@@ -190,7 +190,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-11.3.0 = "Khem Raj <[email protected]>"
+RECIPE_MAINTAINER:pn-gcc-source-12.1.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/conf/distro/include/tcmode-default.inc +1 -1
index e8ea7cc5462..9660f2804a7 100644
@@ -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-12.1.inc renamed from meta/recipes-devtools/gcc/gcc-11.3.inc +39 -44

107 lines not on this page · raw message

meta/recipes-devtools/gcc/gcc-cross-canadian_12.1.bb renamed from meta/recipes-devtools/gcc/gcc-cross-canadian_11.3.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/gcc/gcc-cross-canadian_11.3.bb
rename to meta/recipes-devtools/gcc/gcc-cross-canadian_12.1.bb
meta/recipes-devtools/gcc/gcc-cross_12.1.bb renamed from meta/recipes-devtools/gcc/gcc-cross_11.3.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/gcc/gcc-cross_11.3.bb
rename to meta/recipes-devtools/gcc/gcc-cross_12.1.bb
meta/recipes-devtools/gcc/gcc-crosssdk_12.1.bb renamed from meta/recipes-devtools/gcc/gcc-crosssdk_11.3.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/gcc/gcc-crosssdk_11.3.bb
rename to meta/recipes-devtools/gcc/gcc-crosssdk_12.1.bb
meta/recipes-devtools/gcc/gcc-runtime.inc +1 -1
index e9f2cf16e84..c39a0caf8a7 100644
@@ -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.1.bb renamed from meta/recipes-devtools/gcc/gcc-runtime_11.3.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/gcc/gcc-runtime_11.3.bb
rename to meta/recipes-devtools/gcc/gcc-runtime_12.1.bb
meta/recipes-devtools/gcc/gcc-sanitizers_12.1.bb renamed from meta/recipes-devtools/gcc/gcc-sanitizers_11.3.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/gcc/gcc-sanitizers_11.3.bb
rename to meta/recipes-devtools/gcc/gcc-sanitizers_12.1.bb
meta/recipes-devtools/gcc/gcc-source_12.1.bb renamed from meta/recipes-devtools/gcc/gcc-source_11.3.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/gcc/gcc-source_11.3.bb
rename to meta/recipes-devtools/gcc/gcc-source_12.1.bb
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
index 0bf8834bb25..66e582ca989 100644
@@ -1,4 +1,4 @@
-From 6badb97389cae4ff9a533d38dc7cceefe21b97a8 Mon Sep 17 00:00:00 2001
+From 31f94ef5b43a984a98f0eebd2dcf1b53aa1d7bce 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 e218a19e333..45744e6e471 100755
+index 5dcaab14ae9..f76310a36bb 100755
 --- a/configure
 +++ b/configure
-@@ -9750,7 +9750,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 e218a19e333..45744e6e471 100755
   *" newlib "*)
    case " $target_configargs " in
 diff --git a/configure.ac b/configure.ac
-index 7e8e628b325..bf66b51373c 100644
+index 85977482aee..8b9097c7a45 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -3255,7 +3255,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-42574.patch deleted +0 -1765

430 lines not on this page · raw message

meta/recipes-devtools/gcc/gcc/0002-gcc-poison-system-directories.patch +26 -26

52 lines not on this page · raw message

meta/recipes-devtools/gcc/gcc/0003-64-bit-multilib-hack.patch +8 -7
index c0e8cbd4d9d..e83f05b8aa1 100644

Lines of this file are not shown. View the 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-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/0016-If-CXXFLAGS-contains-something-unsupported-by-the-bu.patch +6 -6
similarity index 85%
rename from meta/recipes-devtools/gcc/gcc/0016-If-CXXFLAGS-contains-something-unsupported-by-the-bu.patch
rename to meta/recipes-devtools/gcc/gcc/0004-Pass-CXXFLAGS_FOR_BUILD-in-a-couple-of-places-to-avo.patch
index 7f807a991c0..e8f21634769 100644

Lines of this file are not shown. View the 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/0004-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch +8 -8
similarity index 88%
rename from meta/recipes-devtools/gcc/gcc/0004-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch
rename to meta/recipes-devtools/gcc/gcc/0005-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch
index 55a58851dca..e34eb2cf3fb 100644

Lines of this file are not shown. View the raw message.

meta/recipes-devtools/gcc/gcc/0006-cpp-honor-sysroot.patch renamed from meta/recipes-devtools/gcc/gcc/0005-cpp-honor-sysroot.patch +9 -9
similarity index 82%
rename from meta/recipes-devtools/gcc/gcc/0005-cpp-honor-sysroot.patch
rename to meta/recipes-devtools/gcc/gcc/0006-cpp-honor-sysroot.patch
index f2883fe074f..b08aecc736d 100644

Lines of this file are not shown. View the raw message.

meta/recipes-devtools/gcc/gcc/0007-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch renamed from meta/recipes-devtools/gcc/gcc/0006-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch +172 -29

201 lines not on this page · raw message

meta/recipes-devtools/gcc/gcc/0007-gcc-Fix-argument-list-too-long-error.patch deleted +0 -42

42 lines not on this page · raw message

meta/recipes-devtools/gcc/gcc/0008-libtool.patch +1 -1
index 358e1d7b3cd..c9bc38ccf08 100644

Lines of this file are not shown. View the raw message.

meta/recipes-devtools/gcc/gcc/0009-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch +3 -3
index ac139542f15..dd67b115f01 100644

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 +7 -7
index 4912fa9dcef..45edc62eb50 100644

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 +1 -1
index e3e35942e63..352c6eec29b 100644

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/0013-Ensure-target-gcc-headers-can-be-included.patch renamed from meta/recipes-devtools/gcc/gcc/0012-Ensure-target-gcc-headers-can-be-included.patch +15 -15
similarity index 85%
rename from meta/recipes-devtools/gcc/gcc/0012-Ensure-target-gcc-headers-can-be-included.patch
rename to meta/recipes-devtools/gcc/gcc/0013-Ensure-target-gcc-headers-can-be-included.patch
index d33925eb403..61e61ecc6ed 100644

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/0013-Don-t-search-host-directory-during-relink-if-inst_pr.patch +1 -1
similarity index 93%
rename from meta/recipes-devtools/gcc/gcc/0013-Don-t-search-host-directory-during-relink-if-inst_pr.patch
rename to meta/recipes-devtools/gcc/gcc/0014-Don-t-search-host-directory-during-relink-if-inst_pr.patch
index 5b5d229effe..94308b2aca5 100644

Lines of this file are not shown. View the raw message.

meta/recipes-devtools/gcc/gcc/0015-Makefile.in-Ensure-build-CPP-CPPFLAGS-is-used-for-bu.patch deleted +0 -204

204 lines not on this page · raw message

meta/recipes-devtools/gcc/gcc/0015-libcc1-fix-libcc1-s-install-path-and-rpath.patch renamed from meta/recipes-devtools/gcc/gcc/0014-libcc1-fix-libcc1-s-install-path-and-rpath.patch +5 -5
similarity index 87%
rename from meta/recipes-devtools/gcc/gcc/0014-libcc1-fix-libcc1-s-install-path-and-rpath.patch
rename to meta/recipes-devtools/gcc/gcc/0015-libcc1-fix-libcc1-s-install-path-and-rpath.patch
index b82277cc4bc..ce9635ce4dd 100644

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/0017-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/0018-Search-target-sysroot-gcc-version-specific-dirs-with.patch +8 -8
similarity index 89%
rename from meta/recipes-devtools/gcc/gcc/0018-Search-target-sysroot-gcc-version-specific-dirs-with.patch
rename to meta/recipes-devtools/gcc/gcc/0017-Search-target-sysroot-gcc-version-specific-dirs-with.patch
index 0f43e985cf3..9b05da64a70 100644

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/0020-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch +7 -7
similarity index 89%
rename from meta/recipes-devtools/gcc/gcc/0020-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch
rename to meta/recipes-devtools/gcc/gcc/0018-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch
index b82fa445378..56793e03a3d 100644

Lines of this file are not shown. View the raw message.

meta/recipes-devtools/gcc/gcc/0019-Re-introduce-spe-commandline-options.patch renamed from meta/recipes-devtools/gcc/gcc/0023-Re-introduce-spe-commandline-options.patch +3 -3
similarity index 87%
rename from meta/recipes-devtools/gcc/gcc/0023-Re-introduce-spe-commandline-options.patch
rename to meta/recipes-devtools/gcc/gcc/0019-Re-introduce-spe-commandline-options.patch
index 23cf02a6e44..bb1699be25a 100644

Lines of this file are not shown. View the raw message.

meta/recipes-devtools/gcc/gcc/0019-nios2-Define-MUSL_DYNAMIC_LINKER.patch deleted +0 -25
deleted file mode 100644
index 76ebfd7f77d..00000000000

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/0024-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch +14 -14
similarity index 76%
rename from meta/recipes-devtools/gcc/gcc/0024-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch
rename to meta/recipes-devtools/gcc/gcc/0020-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch
index f915f284eaf..f37092089f7 100644

Lines of this file are not shown. View the raw message.

meta/recipes-devtools/gcc/gcc/0021-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch deleted +0 -26
deleted file mode 100644
index 9b7c5c5642f..00000000000

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/0025-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/0026-mingw32-Enable-operation_not_supported.patch +2 -2
similarity index 89%
rename from meta/recipes-devtools/gcc/gcc/0026-mingw32-Enable-operation_not_supported.patch
rename to meta/recipes-devtools/gcc/gcc/0022-mingw32-Enable-operation_not_supported.patch
index b46bde1eda7..f88ad51ee8a 100644

Lines of this file are not shown. View the raw message.

meta/recipes-devtools/gcc/gcc/0022-sync-gcc-stddef.h-with-musl.patch deleted +0 -88

88 lines not on this page · raw message

meta/recipes-devtools/gcc/gcc/0023-libatomic-Do-not-enforce-march-on-aarch64.patch renamed from meta/recipes-devtools/gcc/gcc/0027-libatomic-Do-not-enforce-march-on-aarch64.patch +2 -2
similarity index 94%
rename from meta/recipes-devtools/gcc/gcc/0027-libatomic-Do-not-enforce-march-on-aarch64.patch
rename to meta/recipes-devtools/gcc/gcc/0023-libatomic-Do-not-enforce-march-on-aarch64.patch
index 85b12514823..2f016598470 100644

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/0029-Fix-install-path-of-linux64.h.patch +3 -3
similarity index 85%
rename from meta/recipes-devtools/gcc/gcc/0029-Fix-install-path-of-linux64.h.patch
rename to meta/recipes-devtools/gcc/gcc/0024-Fix-install-path-of-linux64.h.patch
index d7e156e7a33..555be62328e 100644

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/0028-debug-101473-apply-debug-prefix-maps-before-checksum.patch deleted +0 -101

101 lines not on this page · raw message

meta/recipes-devtools/gcc/gcc_12.1.bb renamed from meta/recipes-devtools/gcc/gcc_11.3.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/gcc/gcc_11.3.bb
rename to meta/recipes-devtools/gcc/gcc_12.1.bb
meta/recipes-devtools/gcc/libgcc-initial_12.1.bb renamed from meta/recipes-devtools/gcc/libgcc-initial_11.3.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/gcc/libgcc-initial_11.3.bb
rename to meta/recipes-devtools/gcc/libgcc-initial_12.1.bb
meta/recipes-devtools/gcc/libgcc_12.1.bb renamed from meta/recipes-devtools/gcc/libgcc_11.3.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/gcc/libgcc_11.3.bb
rename to meta/recipes-devtools/gcc/libgcc_12.1.bb
meta/recipes-devtools/gcc/libgfortran_12.1.bb renamed from meta/recipes-devtools/gcc/libgfortran_11.3.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/gcc/libgfortran_11.3.bb
rename to meta/recipes-devtools/gcc/libgfortran_12.1.bb

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.36.1

Part of the diff is not shown here. View the raw message.

#1 lore raw

Hi Khem,

Il giorno Sat, 7 May 2022 17:38:20 -0700
"Khem Raj" <[email protected]> ha scritto:

Quoted 10 lines

Major gcc release with lot of changes [2]

- Add patch to re-shuffle include of sched.h to fix build on musl
- porting guide to gcc 12 [1]
- Fix version in maintainers entry

[1] https://gcc.gnu.org/gcc-12/porting_to.html
[2] https://gcc.gnu.org/gcc-12/changes.html

We have a xen-tools build failure on meta-virt with this patch applied:

https://autobuilder.yoctoproject.org/typhoon/#/builders/128/builds/60/steps/13/logs/stdio

and the same build succeeds without that patch:

https://autobuilder.yoctoproject.org/typhoon/#/builders/128/builds/61/steps/13/logs/stdio

Signature · 3 lines
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
author
#2 lore raw
Quoted 17 lines · Luca Ceresoli

Hi Khem,

Il giorno Sat, 7 May 2022 17:38:20 -0700
"Khem Raj" <[email protected]> ha scritto:

Quoted 10 lines

Major gcc release with lot of changes [2]

- Add patch to re-shuffle include of sched.h to fix build on musl
- porting guide to gcc 12 [1]
- Fix version in maintainers entry

[1] https://gcc.gnu.org/gcc-12/porting_to.html
[2] https://gcc.gnu.org/gcc-12/changes.html

Quoted 7 lines

We have a xen-tools build failure on meta-virt with this patch applied:

https://autobuilder.yoctoproject.org/typhoon/#/builders/128/builds/60/steps/13/logs/stdio

and the same build succeeds without that patch:

https://autobuilder.yoctoproject.org/typhoon/#/builders/128/builds/61/steps/13/logs/stdio

yeah this has been taken care in meta-virtualization/master this morning. So please give it another
spin.

Quoted 5 lines

--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

#3 lore raw

Hi Khem,

Il giorno Mon, 9 May 2022 16:59:02 -0700
Khem Raj <[email protected]> ha scritto:

Quoted 24 lines
Quoted 22 lines · Luca Ceresoli

Hi Khem,

Il giorno Sat, 7 May 2022 17:38:20 -0700
"Khem Raj" <[email protected]> ha scritto:

Quoted 10 lines

Major gcc release with lot of changes [2]

- Add patch to re-shuffle include of sched.h to fix build on musl
- porting guide to gcc 12 [1]
- Fix version in maintainers entry

[1] https://gcc.gnu.org/gcc-12/porting_to.html
[2] https://gcc.gnu.org/gcc-12/changes.html

We have a xen-tools build failure on meta-virt with this patch applied:

https://autobuilder.yoctoproject.org/typhoon/#/builders/128/builds/60/steps/13/logs/stdio

Quoted 8 lines
Quoted 4 lines

and the same build succeeds without that patch:

https://autobuilder.yoctoproject.org/typhoon/#/builders/128/builds/61/steps/13/logs/stdio

yeah this has been taken care in meta-virtualization/master this morning. So please give it another
spin.

Indeed it succeeded now:

https://autobuilder.yoctoproject.org/typhoon/#/builders/128/builds/65

Thank you!

Signature · 3 lines
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com