]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
gcc: upgrade 11.3 -> 12.1
authorKhem Raj <raj.khem@gmail.com>
Fri, 22 Apr 2022 02:08:30 +0000 (19:08 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 10 May 2022 12:11:20 +0000 (13:11 +0100)
commitb8878cf0d35cf3d1ac30576d9b9943a7761c011b
tree702dc150c77d66d8fe94cdddb05b2d83a9cd044a
parent98bf3f427702687bf81ed759e7cde5d6d15e77eb
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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
50 files changed:
meta/conf/distro/include/maintainers.inc
meta/conf/distro/include/tcmode-default.inc
meta/recipes-devtools/gcc/gcc-12.1.inc [moved from meta/recipes-devtools/gcc/gcc-11.3.inc with 51% similarity]
meta/recipes-devtools/gcc/gcc-cross-canadian_12.1.bb [moved from meta/recipes-devtools/gcc/gcc-cross-canadian_11.3.bb with 100% similarity]
meta/recipes-devtools/gcc/gcc-cross_12.1.bb [moved from meta/recipes-devtools/gcc/gcc-cross_11.3.bb with 100% similarity]
meta/recipes-devtools/gcc/gcc-crosssdk_12.1.bb [moved from meta/recipes-devtools/gcc/gcc-crosssdk_11.3.bb with 100% similarity]
meta/recipes-devtools/gcc/gcc-runtime.inc
meta/recipes-devtools/gcc/gcc-runtime_12.1.bb [moved from meta/recipes-devtools/gcc/gcc-runtime_11.3.bb with 100% similarity]
meta/recipes-devtools/gcc/gcc-sanitizers_12.1.bb [moved from meta/recipes-devtools/gcc/gcc-sanitizers_11.3.bb with 100% similarity]
meta/recipes-devtools/gcc/gcc-source_12.1.bb [moved from meta/recipes-devtools/gcc/gcc-source_11.3.bb with 100% similarity]
meta/recipes-devtools/gcc/gcc/0001-CVE-2021-42574.patch [deleted file]
meta/recipes-devtools/gcc/gcc/0001-CVE-2021-46195.patch [deleted file]
meta/recipes-devtools/gcc/gcc/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch
meta/recipes-devtools/gcc/gcc/0002-CVE-2021-42574.patch [deleted file]
meta/recipes-devtools/gcc/gcc/0002-gcc-poison-system-directories.patch
meta/recipes-devtools/gcc/gcc/0003-64-bit-multilib-hack.patch
meta/recipes-devtools/gcc/gcc/0003-CVE-2021-42574.patch [deleted file]
meta/recipes-devtools/gcc/gcc/0004-CVE-2021-42574.patch [deleted file]
meta/recipes-devtools/gcc/gcc/0004-Pass-CXXFLAGS_FOR_BUILD-in-a-couple-of-places-to-avo.patch [moved from meta/recipes-devtools/gcc/gcc/0016-If-CXXFLAGS-contains-something-unsupported-by-the-bu.patch with 85% similarity]
meta/recipes-devtools/gcc/gcc/0005-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch [moved from meta/recipes-devtools/gcc/gcc/0004-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch with 88% similarity]
meta/recipes-devtools/gcc/gcc/0006-cpp-honor-sysroot.patch [moved from meta/recipes-devtools/gcc/gcc/0005-cpp-honor-sysroot.patch with 82% similarity]
meta/recipes-devtools/gcc/gcc/0007-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch [moved from meta/recipes-devtools/gcc/gcc/0006-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch with 58% similarity]
meta/recipes-devtools/gcc/gcc/0007-gcc-Fix-argument-list-too-long-error.patch [deleted file]
meta/recipes-devtools/gcc/gcc/0008-libtool.patch
meta/recipes-devtools/gcc/gcc/0009-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch
meta/recipes-devtools/gcc/gcc/0010-Use-the-multilib-config-files-from-B-instead-of-usin.patch
meta/recipes-devtools/gcc/gcc/0011-Avoid-using-libdir-from-.la-which-usually-points-to-.patch
meta/recipes-devtools/gcc/gcc/0012-export-CPP.patch [new file with mode: 0644]
meta/recipes-devtools/gcc/gcc/0013-Ensure-target-gcc-headers-can-be-included.patch [moved from meta/recipes-devtools/gcc/gcc/0012-Ensure-target-gcc-headers-can-be-included.patch with 85% similarity]
meta/recipes-devtools/gcc/gcc/0014-Don-t-search-host-directory-during-relink-if-inst_pr.patch [moved from meta/recipes-devtools/gcc/gcc/0013-Don-t-search-host-directory-during-relink-if-inst_pr.patch with 93% similarity]
meta/recipes-devtools/gcc/gcc/0015-Makefile.in-Ensure-build-CPP-CPPFLAGS-is-used-for-bu.patch [deleted file]
meta/recipes-devtools/gcc/gcc/0015-libcc1-fix-libcc1-s-install-path-and-rpath.patch [moved from meta/recipes-devtools/gcc/gcc/0014-libcc1-fix-libcc1-s-install-path-and-rpath.patch with 87% similarity]
meta/recipes-devtools/gcc/gcc/0016-handle-sysroot-support-for-nativesdk-gcc.patch [moved from meta/recipes-devtools/gcc/gcc/0017-handle-sysroot-support-for-nativesdk-gcc.patch with 90% similarity]
meta/recipes-devtools/gcc/gcc/0017-Search-target-sysroot-gcc-version-specific-dirs-with.patch [moved from meta/recipes-devtools/gcc/gcc/0018-Search-target-sysroot-gcc-version-specific-dirs-with.patch with 89% similarity]
meta/recipes-devtools/gcc/gcc/0018-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch [moved from meta/recipes-devtools/gcc/gcc/0020-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch with 89% similarity]
meta/recipes-devtools/gcc/gcc/0019-Re-introduce-spe-commandline-options.patch [moved from meta/recipes-devtools/gcc/gcc/0023-Re-introduce-spe-commandline-options.patch with 87% similarity]
meta/recipes-devtools/gcc/gcc/0019-nios2-Define-MUSL_DYNAMIC_LINKER.patch [deleted file]
meta/recipes-devtools/gcc/gcc/0020-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch [moved from meta/recipes-devtools/gcc/gcc/0024-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch with 76% similarity]
meta/recipes-devtools/gcc/gcc/0021-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch [deleted file]
meta/recipes-devtools/gcc/gcc/0021-gentypes-genmodes-Do-not-use-__LINE__-for-maintainin.patch [moved from meta/recipes-devtools/gcc/gcc/0025-gentypes-genmodes-Do-not-use-__LINE__-for-maintainin.patch with 75% similarity]
meta/recipes-devtools/gcc/gcc/0022-mingw32-Enable-operation_not_supported.patch [moved from meta/recipes-devtools/gcc/gcc/0026-mingw32-Enable-operation_not_supported.patch with 89% similarity]
meta/recipes-devtools/gcc/gcc/0022-sync-gcc-stddef.h-with-musl.patch [deleted file]
meta/recipes-devtools/gcc/gcc/0023-libatomic-Do-not-enforce-march-on-aarch64.patch [moved from meta/recipes-devtools/gcc/gcc/0027-libatomic-Do-not-enforce-march-on-aarch64.patch with 94% similarity]
meta/recipes-devtools/gcc/gcc/0024-Fix-install-path-of-linux64.h.patch [moved from meta/recipes-devtools/gcc/gcc/0029-Fix-install-path-of-linux64.h.patch with 85% similarity]
meta/recipes-devtools/gcc/gcc/0025-Move-sched.h-include-ahead-of-user-headers.patch [new file with mode: 0644]
meta/recipes-devtools/gcc/gcc/0028-debug-101473-apply-debug-prefix-maps-before-checksum.patch [deleted file]
meta/recipes-devtools/gcc/gcc_12.1.bb [moved from meta/recipes-devtools/gcc/gcc_11.3.bb with 100% similarity]
meta/recipes-devtools/gcc/libgcc-initial_12.1.bb [moved from meta/recipes-devtools/gcc/libgcc-initial_11.3.bb with 100% similarity]
meta/recipes-devtools/gcc/libgcc_12.1.bb [moved from meta/recipes-devtools/gcc/libgcc_11.3.bb with 100% similarity]
meta/recipes-devtools/gcc/libgfortran_12.1.bb [moved from meta/recipes-devtools/gcc/libgfortran_11.3.bb with 100% similarity]